perl-SGMLSpm-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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: 13%{?_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. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML
  19. documents into new formats.
  20. %prep
  21. %setup -n SGMLSpm
  22. %build
  23. %install
  24. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  25. DESTDIR=$RPM_BUILD_ROOT
  26. mkdir -p $DESTDIR%{_bindir}
  27. mkdir -p $DESTDIR%{perldir}
  28. make install_system BINDIR=$DESTDIR%{_bindir} PERL5DIR=$DESTDIR%{perldir}
  29. %clean
  30. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  31. %files
  32. %defattr (-,root,root)
  33. %doc BUGS COPYING ChangeLog DOC/ README TODO elisp
  34. %{_bindir}/sgmlspl
  35. %dir %{perldir}/SGMLS
  36. %{perldir}/SGMLS.pm
  37. %{perldir}/SGMLS/Output.pm
  38. %{perldir}/SGMLS/Refs.pm
  39. %{perldir}/skel.pl
  40. %ChangeLog
  41. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.03ii-13
  42. - build with perl 5.12.3
  43. - add Vendor and Distribution tags
  44. * Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03ii-12
  45. - rebuilt with perl-5.10.0-2
  46. - applied new versioning policy
  47. - s/Copyright/License/
  48. * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl4
  49. - rebuild on perl-5.8.6-0vl1
  50. * Wed Dec 10 2003 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl3
  51. - build with perl-5.8.2
  52. - add %%{perldir}/SGMLS directory in %%files
  53. * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.03ii-11vl2
  54. - rebuilt on perl-5.8.1
  55. * Thu May 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-11vl1
  56. - syncd with rawhide
  57. * Sat Apr 12 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-4vl2
  58. - Rebuild
  59. * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.03ii-4vl1
  60. - Rebuild for Vine.
  61. * Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com>
  62. - Add defattr to files section.
  63. * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
  64. - Change group.
  65. - rm before install.
  66. - Change Copyright: to License:.
  67. - Remove Packager: line.
  68. * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
  69. - Based on Eric Bischoff's new-trials packages.