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

Revision 9512, 2.8 KB checked in by inagaki, 7 years ago (diff)

2015-04-16 Ryoichi INAGAKI <ryo1@…>

  • perl-{Cairo, Clone, Curses, Event, Guard, IO-AIO,

IO-Socket-SSL, IPC-Run, Tk, URI}: updated


Line 
1Name: perl-URI
2Version: 1.67
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
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildArch: noarch
15BuildRequires:  perl(ExtUtils::MakeMaker)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19URI module for perl
20
21%prep
22%setup -q -n URI-%{version}
23
24%build
25CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
26make
27
28%install
29rm -rf $RPM_BUILD_ROOT
30mkdir -p $RPM_BUILD_ROOT%{_prefix}
31make DESTDIR=$RPM_BUILD_ROOT install
32
33find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
34
35find $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
40if [ "$(cat %{name}.files)X" = "X" ] ; then
41    echo "ERROR: EMPTY FILE LIST"
42    exit -1
43fi
44
45%check
46make test
47
48%clean
49rm -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
Note: See TracBrowser for help on using the repository browser.