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