source: projects/specs/branches/6/p/perl-DBI/perl-DBI-vl.spec @ 3112

Revision 3112, 4.2 KB checked in by iwaim, 13 years ago (diff)

perl-DBI-1.604-4

Line 
1%define version 1.604
2%define release 4
3
4Summary: A database access API for perl
5Summary(ja): perl 用データベース接続 API
6Name: perl-DBI
7Version: %{version}
8Release: %{release}%{?_dist_release}
9License: Artistic
10Group: Development/Libraries
11Source: DBI-%{version}.tar.gz
12Source2: filter-requires-dbi.sh
13URL: http://dbi.perl.org/
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15Requires: perl >= 5.6.0
16## BuildRequires: perl-Time-HiRes
17
18%description
19DBI is a database access Application Programming Interface (API) for
20the Perl Language. The DBI API Specification defines a set of
21functions, variables and conventions that provide a consistent
22database interface independent of the actual database being used.
23
24%description -l ja
25DBI は Perl でデータベースにアクセスするための API です.
26DBI API では,実際に使われるデータベースに依存しない様に,
27関数,変数などの取り決めが定義されています.
28
29
30# Provide perl-specific find-{provides,requires}.
31%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
32%define __find_provides %{_prefix}/lib/rpm/find-provides.perl
33%define __find_requires %{SOURCE2}
34%else
35%define __perl_requires %{SOURCE2}
36%endif
37
38%prep
39%setup -q -n DBI-%{version}
40
41
42%build
43CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
44make
45
46%install
47[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
48make install DESTDIR=$RPM_BUILD_ROOT
49#make PREFIX=$RPM_BUILD_ROOT/usr \
50#     INSTALLSITEARCH=%{buildroot}%{perl_sitearch} \
51#     INSTALLSITEMAN3DIR=%{buildroot}%{_mandir}/man3  \
52#     INSTALLSCRIPT=%{buildroot}%{_bindir} \
53#     install
54rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod
55rm -f %{buildroot}%{perl_vendorarch}/auto/DBI/.packlist
56rm -f %{buildroot}%{perl_vendorarch}/auto/DBI/DBI.bs
57
58%clean
59[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
60
61%check
62make test
63
64%files
65%defattr(-,root,root)
66%doc Changes README
67%{perl_vendorarch}/*
68%{_bindir}/*
69%{_mandir}/*/*
70##%{_libdir}/perl?/man/man3/*.3*
71
72%changelog
73* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 1.604-4vl6
74- rebuild with perl 5.12.3
75- using __perl_requires macro for VineSeed (vl6)
76
77* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.604-3
78- spec in utf-8
79
80* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.604-2
81- rebuilt with perl-5.10.0.
82
83* Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 1.604-1
84- new upstream release
85
86* Mon Aug 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.58-0vl1
87- new upstream release
88
89* Sun Jan 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.53-0vl1
90- new upstream release
91
92* Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.51-0vl1
93- new upstream release
94- changed Group to Development/Libraries
95- installed module files to vendor_perl
96
97* Sat Jul 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.46-0vl2
98- use filter-requires-dbi.sh instead of find-requires.perl
99
100* Sat Dec 04 2004 IWAI, Masaharu <iwai@alib.jp> 1.46-0vl1
101- new upstream version
102- build on perl-5.8.6-0vl1
103
104* Sat May 22 2004 Satoshi MACHINO <machino@vinelinux.org> 1.40-0vl1
105- new upstream version
106
107* Sat May 24 2003 IWAI Masaharu <iwai@alib.jp> 1.37-0vl1
108- update 1.37
109- build with perl-5.8.0
110- add make test
111
112* Sat Feb 23 2002 Satoshi MACHINO <machino@vinelinux.org> 1.21-0vl1
113- updated 1.21
114
115* Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 1.20-0vl1
116- updated 1.20
117
118* Sat Sep 15 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.19-0vl2
119- the spec was in Shift-JIS. Fixed.
120
121* Fri Aug 03 2001 Satoshi MACHINO <machino@vinelinux.org> 1.19-0vl1
122- updated 1.19
123
124* Sat Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 1.15-1vl2
125- rebuild on perl-5.6.0
126- changed mandir to /usr/share/man
127- removed version in Requires perl
128
129* Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 1.15-1vl1
130- updated perl-DBL-1.15
131
132* Tue May 08 2001 Satoshi MACHINO <machino@vinelinux.org> 1.14-10vl1
133- fixed Vine Linux
134
135* Tue Feb 27 2001 Trond Eivind Glomsr <teg@redhat.com>
136- Cleanups
137
138* Thu Nov 30 2000 Trond Eivind Glomsr <teg@redhat.com>
139- build for main distribution
140- use %%{_tmppath}
141- change name of specfile
142- don't use a find script to generate file lists
143- general cleanup
144- add descriptive summary and description
145
146
147* Mon Aug 14 2000 Tim Powers <timp@redhat.com>
148- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.