source: projects/specs/trunk/p/perl-XML-NamespaceSupport/perl-XML-NamespaceSupport-vl.spec @ 12120

Revision 12120, 2.2 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Summary: a simple generic namespace support class for perl
2Name: perl-XML-NamespaceSupport
3Version: 1.12
4Release: 1%{?_dist_release}
5License: distributable
6Group: Development/Libraries
7Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-%{version}.tar.gz
8Url: http://search.cpan.org/search?dist=XML-NamespaceSupport
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10BuildArch: noarch
11BuildRequires: perl >= 2:5.26.2
12Requires: perl >= 2:5.26.2
13
14%description
15 This module offers a simple to process namespaced XML names
16(unames) from within any application that may need them. It
17also helps maintain a prefix to namespace URI map, and provides
18a number of basic checks.
19
20%prep
21%setup -q -n XML-NamespaceSupport-%{version}
22
23%build
24%{__perl} Makefile.PL INSTALLDIRS=vendor
25make OPTIMIZE="$RPM_OPT_FLAGS"
26
27%install
28rm -rf $RPM_BUILD_ROOT
29make DESTDIR=$RPM_BUILD_ROOT install
30
31[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
32
33find $RPM_BUILD_ROOT%{_prefix} -type f -print |
34        sed "s@^$RPM_BUILD_ROOT@@g" |
35        grep -v ^%{_mandir} |
36        grep -v perllocal.pod |
37        grep -v "\.packlist" > %{name}.files
38if [ "$(cat %{name}.files)X" = "X" ] ; then
39    echo "ERROR: EMPTY FILE LIST"
40    exit -1
41fi
42
43find ${RPM_BUILD_ROOT} -type f -name .packlist -delete
44find ${RPM_BUILD_ROOT} -type f -name perllocal.pod -delete
45
46%check
47make test
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files -f %{name}.files
53%defattr(-,root,root)
54%doc README Changes
55%{_mandir}/man?/*
56
57%changelog
58* Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12-1
59- new upstream release.
60- rebuilt with perl-5.26.
61
62* Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11-1
63- new upstream release.
64
65* Fri May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.09-2
66- rebuild with perl-5.12.3
67
68* Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-1
69- new upsteram release
70- used vendor_perl dir
71- changed Group to Development/Libraries
72- rebuilt with perl 5.10.0-2
73
74* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 1.08-0vl2
75- build on perl-5.8.6-0vl1
76
77* Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.08-0vl1
78- new upstream version
79- changed to License
80
81* Mon Apr 15 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.04-0vl1
82- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.