60 lines
1.4 KiB
RPMSpec
60 lines
1.4 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Text-WikiFormat
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-Text-WikiFormat
|
||
|
%define real_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||
|
Summary: A module for translating Wiki formatted text into other formats
|
||
|
Url: http://search.cpan.org/perldoc?Text::WikiFormat
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Artistic License
|
||
|
Version: 0.79
|
||
|
Release: 1
|
||
|
Vendor: openSUSE-Education
|
||
|
Source: %{real_name}-%{version}.tar.bz2
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: perl(URI)
|
||
|
Requires: perl(URI)
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
The original Wiki web site had a very simple interface to edit and to add
|
||
|
pages. Its formatting rules are simple and easy to use. They are also easy to
|
||
|
translate into other, more complicated markup languages with this module. It
|
||
|
creates HTML by default, but can produce valid POD, DocBook, XML, or any other
|
||
|
format imaginable.
|
||
|
|
||
|
The most important function is format(). It is not exported by default.
|
||
|
|
||
|
Author:
|
||
|
-------
|
||
|
chromatic, chromatic@wgz.org
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{real_name}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
%perl_gen_filelist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files -f %{name}.files
|
||
|
%defattr(-, root, root)
|
||
|
%doc Changes README MANIFEST
|
||
|
|
||
|
%changelog
|