Name: wt2db Summary: Converts WikiText documents into DocBook XML/SGML Version: 1.0 Release: 10.1.rcn License: GPL Group: Applications/File URL: http://www.tldp.org/wt2db/ Source0: http://www.tldp.org/downloads/%{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl Requires: perl %description Converts WikiText documents into DocBook XML/SGML %prep %setup -q -n %{name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check %{__make} test %install %{__rm} -fr %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' /usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';' /usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';' %{__chmod} -R u+w %{buildroot}/* %clean %{__rm} -fr %{buildroot} %files %defattr(-, root, root, -) %doc Changelog COPYING CREDITS README TODO test.pl %{_bindir}/wt2db %{perl_vendorlib}/Wt2Db.pm %{_mandir}/man1/wt2db.1.gz #%{perl_vendorarch}/Geo/IP.pm %changelog * Wed Aug 23 2006 Raoul 1.0-10.1 - Initial spec file