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

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

perl-5.26 and friends

Line 
1Name: perl-URI
2Version: 1.76
3Release: 1%{?_dist_release}
4Summary: URI module for perl
5Summary(ja): Perl 用の URI モジュール
6
7License: GPL+ or Artistic
8Group: Development/Libraries
9URL: http://search.cpan.org/~ether/URI/
10
11Source0: http://www.cpan.org/authors/id/GAAS/URI-%{version}.tar.gz
12
13Vendor: Project Vine
14Distribution: Vine Linux
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildArch: noarch
18BuildRequires:  perl(ExtUtils::MakeMaker)
19BuildRequires:  perl(Test::Needs)
20Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21
22%description
23URI module for perl
24
25%prep
26%setup -q -n URI-%{version}
27
28%build
29CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
30make
31
32%install
33rm -rf $RPM_BUILD_ROOT
34mkdir -p $RPM_BUILD_ROOT%{_prefix}
35make DESTDIR=$RPM_BUILD_ROOT install
36
37find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
38
39find $RPM_BUILD_ROOT%{_prefix} -type f -print |
40        sed "s@^$RPM_BUILD_ROOT@@g" |
41        grep -v ^%{_mandir} |
42        grep -v perllocal.pod |
43        grep -v "\.packlist" > %{name}.files
44if [ "$(cat %{name}.files)X" = "X" ] ; then
45    echo "ERROR: EMPTY FILE LIST"
46    exit -1
47fi
48
49%check
50make test
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files -f %{name}.files
56%defattr(-,root,root)
57%doc README Changes
58%dir %{perl_vendorlib}/URI
59%dir %{perl_vendorlib}/URI/file
60%dir %{perl_vendorlib}/URI/urn
61%{_mandir}/man3/*
62
63%changelog
64* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.76-1
65- new upstream release.
66- rebuilt with perl-5.26.
67
68* Wed Apr 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.67-1
69- new upstream release
70
71* Mon Dec  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.65-1
72- updated to 1.65
73
74* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.58-2
75- build with Perl 5.16
76
77* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 1.58-1
78- new upstream release
79- using __perl_requires macro for VineSeed (vl6)
80- drop rfc2396.txt in %%files: upstream deleted
81
82* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.40-1
83- new upstream release
84
85* Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.35-1vl5
86- rebuilt with perl-5.10.0
87- applied new versioning policy
88
89* Sat Feb 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.35-0vl2
90- s/Copyright/License/
91- changed Group to Development/Libraries
92- added Source1 for removing dependancy perl(Business::ISBN)
93
94* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 1.35-0vl1
95- new upstream release
96- build on perl-5.8.6-0vl1
97- define perlver macro
98- run 'make test'
99
100* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.27-0vl2
101- built on perl-5.8.2
102
103* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.27-0vl1
104- new upstream version
105- built on perl-5.8.1
106
107* Thu Apr 24 2003 IWAI Masaharu <iwai@alib.jp> 1.23-0vl3
108- add %%{perl_sitelib}/URI/urn directory
109
110* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.23-0vl2
111- build on perl-5.8.0
112
113* Sat Feb 15 2003 IWAI Masaharu <iwai@alib.jp> 1.23-0vl1
114- update to 1.23
115
116* Sun Apr 14 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.18-0vl1
117- first build for Vine Linux
118
Note: See TracBrowser for help on using the repository browser.