perl-SGMLSpm-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. %define _use_internal_dependency_generator 0
  2. %define perldir %(perl -V:installvendorlib | sed 's/^installvendorlib=.\\(.*\\).;$/\\1/')
  3. Summary: Perl library for parsing the output of nsgmls.
  4. Name: perl-SGMLSpm
  5. Version: 1.03ii
  6. Release: 12%{?_dist_release}
  7. Group: Development/Libraries
  8. License: GPL
  9. URL: http://www.megginson.com/Software/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. Requires: openjade
  13. Requires: perl >= 5.8.6
  14. Source0: ftp://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
  15. %description
  16. Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
  17. documents into new formats.
  18. %prep
  19. %setup -n SGMLSpm
  20. %build
  21. %install
  22. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  23. DESTDIR=$RPM_BUILD_ROOT
  24. mkdir -p $DESTDIR%{_bindir}
  25. mkdir -p $DESTDIR%{perldir}
  26. make install_system BINDIR=$DESTDIR%{_bindir} PERL5DIR=$DESTDIR%{perldir}
  27. %clean
  28. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  29. %files
  30. %defattr (-,root,root)
  31. %doc BUGS COPYING ChangeLog DOC/ README TODO elisp
  32. %{_bindir}/sgmlspl
  33. %dir %{perldir}/SGMLS
  34. %{perldir}/SGMLS.pm
  35. %{perldir}/SGMLS/Output.pm
  36. %{perldir}/SGMLS/Refs.pm
  37. %{perldir}/skel.pl
  38. %ChangeLog
  39. * Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03ii-12
  40. - rebuilt with perl-5.10.0-2
  41. - applied new versioning policy
  42. - s/Copyright/License/
  43. * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl4
  44. - rebuild on perl-5.8.6-0vl1
  45. * Wed Dec 10 2003 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl3
  46. - build with perl-5.8.2
  47. - add %%{perldir}/SGMLS directory in %%files
  48. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.03ii-11vl2
  49. - rebuilt on perl-5.8.1
  50. * Thu May 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-11vl1
  51. - syncd with rawhide
  52. * Sat Apr 12 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-4vl2
  53. - Rebuild
  54. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.03ii-4vl1
  55. - Rebuild for Vine.
  56. * Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
  57. - Add defattr to files section.
  58. * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
  59. - Change group.
  60. - rm before install.
  61. - Change Copyright: to License:.
  62. - Remove Packager: line.
  63. * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
  64. - Based on Eric Bischoff's new-trials packages.