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