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: 14%{?_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 | * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.03ii-14 |
---|
58 | - rebuilt with perl-5.16.3. |
---|
59 | |
---|
60 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.03ii-13 |
---|
61 | - build with perl 5.12.3 |
---|
62 | - add Vendor and Distribution tags |
---|
63 | |
---|
64 | * Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03ii-12 |
---|
65 | - rebuilt with perl-5.10.0-2 |
---|
66 | - applied new versioning policy |
---|
67 | - s/Copyright/License/ |
---|
68 | |
---|
69 | * Mon Nov 29 2004 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl4 |
---|
70 | - rebuild on perl-5.8.6-0vl1 |
---|
71 | |
---|
72 | * Wed Dec 10 2003 IWAI, Masaharu <iwai@alib.jp> 1.03ii-11vl3 |
---|
73 | - build with perl-5.8.2 |
---|
74 | - add %%{perldir}/SGMLS directory in %%files |
---|
75 | |
---|
76 | * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.03ii-11vl2 |
---|
77 | - rebuilt on perl-5.8.1 |
---|
78 | |
---|
79 | * Thu May 01 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-11vl1 |
---|
80 | - syncd with rawhide |
---|
81 | |
---|
82 | * Sat Apr 12 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.03ii-4vl2 |
---|
83 | - Rebuild |
---|
84 | |
---|
85 | * Fri Oct 12 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.03ii-4vl1 |
---|
86 | - Rebuild for Vine. |
---|
87 | |
---|
88 | * Sun Jan 14 2001 Tim Waugh <twaugh@redhat.com> |
---|
89 | - Add defattr to files section. |
---|
90 | |
---|
91 | * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com> |
---|
92 | - Change group. |
---|
93 | - rm before install. |
---|
94 | - Change Copyright: to License:. |
---|
95 | - Remove Packager: line. |
---|
96 | |
---|
97 | * Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com> |
---|
98 | - Based on Eric Bischoff's new-trials packages. |
---|