1 |
%define upstream_name Text-Tiki |
2 |
%define upstream_version 0.73 |
3 |
|
4 |
Name: perl-%{upstream_name} |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: TikiText - Text Formatting Engine |
9 |
License: GPL+ or Artistic |
10 |
Group: Development/Perl |
11 |
Url: http://search.cpan.org/dist/%{upstream_name} |
12 |
Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/%{upstream_name}-%{upstream_version}.tar.bz2 |
13 |
|
14 |
Buildarch: noarch |
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} |
16 |
|
17 |
%description |
18 |
TikiText is a text formatting notation and engine, with the following |
19 |
design goals: |
20 |
* Leverage existing text formatting notions. |
21 |
* Least amount of characters from plain text. |
22 |
* Use more intuitive and common plain text email conventions. |
23 |
* Abstract users from needing to know or understand markup whenever |
24 |
possible. |
25 |
* Make valid and semantical XHTML markup easy. |
26 |
(And let CSS do its job!) |
27 |
* Easy to learn the basics. Richer functionality for those who want to |
28 |
dive in. |
29 |
|
30 |
%prep |
31 |
%setup -q -n %{upstream_name}-%{upstream_version} |
32 |
|
33 |
%build |
34 |
%{__perl} Makefile.PL INSTALLDIRS=vendor <<EOF |
35 |
EOF |
36 |
%make |
37 |
|
38 |
%check |
39 |
%make test |
40 |
|
41 |
%install |
42 |
rm -rf $RPM_BUILD_ROOT |
43 |
%makeinstall_std |
44 |
|
45 |
%clean |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%files |
49 |
%defattr(-,root,root) |
50 |
%doc Changes |
51 |
%{perl_vendorlib}/* |
52 |
%{_mandir}/*/* |
53 |
|
54 |
|