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