source: projects/specs/branches/6/p/perl-DBD-MySQL/perl-DBD-MySQL-vl.spec @ 3736

Revision 3736, 3.6 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define version 4.006
2%define release 5
3
4Summary:       A MySQL interface for perl
5Summary(ja):   MySQL用のperlインターフェイス
6Name:          perl-DBD-MySQL
7Version:       %{version}
8Release:       %{release}%{?_dist_release}
9License:       GPL or Artistic
10Group:         Development/Libraries
11Source:        DBD-mysql-%{version}.tar.gz
12Source1:       filter-requires-dbdmysql.sh
13URL:           http://search.cpan.org/dist/DBD-mysql/
14BuildRoot:     %{_tmppath}/%{name}-%{version}-root
15Requires:      perl >= 5.8.6 , perl-DBI >= 1.46
16BuildRequires: MySQL-devel >= 4.0.21, perl >= 5.8.6, perl-DBI >= 1.46, zlib-devel
17
18
19%description
20An implementation of DBI for MySQL for Perl.
21
22%description -l ja
23perlを使ったMySQL用のDBI
24
25# Provide perl-specific find-{provides,requires}.
26#define __find_provides /usr/lib/rpm/find-provides.perl
27#define __find_requires /usr/lib/rpm/find-requires.perl
28%define __perl_requires %{SOURCE1}
29
30
31%prep
32%setup -q -n DBD-mysql-%{version}
33# Correct file permissions
34find . -type f -exec chmod -x {} ';'
35
36%build
37# CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor --testhost=localhost
38CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor --ssl
39make OPTIMIZE="$RPM_OPT_FLAGS"
40
41%install
42[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
43make DESTDIR=$RPM_BUILD_ROOT install
44find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
45find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
46find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
47chmod -R u+w $RPM_BUILD_ROOT/*
48
49%check || :
50# Full test coverage requires a live MySQL database
51# make test
52
53%clean
54[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
55
56
57%files
58%defattr(-,root,root)
59%doc README ChangeLog TODO
60%{perl_vendorarch}/*
61%{_mandir}/*/*
62
63
64%changelog
65* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.006-5
66- rebuild with perl-5.12.3
67
68* Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.006-4
69- rebuilt with MySQL-5.1.34.
70
71* Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 4.006-3
72- spec in utf-8
73
74* Thu May  1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.006-2
75- rebuilt with perl-5.10.0.
76
77* Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 4.006-1
78- new upstream release
79- add missing changelog: 4.001-0vl1
80
81* Sun Feb  4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.001-0vl1
82- updated to 4.001
83
84* Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0007-0vl1
85- updated to 3.0007
86- changed Group to Development/Libraries
87- installed files to vendor_perl
88
89* Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2.9004-0vl1
90- new upstream version(DBD-mysql-2.9004)
91- fixed spec file
92        -- used rpm macros
93        -- fixed package's dependencies
94        -- built with perl-5.8.6, MySQL-4.0.21, perl-DBI-1.46
95
96* Tue Oct 12 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2219-0vl2
97- rebuilt with perl-5.8.2 and MySQL-4.0.21
98
99* Sat Feb 23 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2219-0vl1
100- updated Msql-Mysql-modules-1.2219
101
102* Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 1.2216-1vl4
103- added BuildRequires: perl >= 1:5.6.0, perl-DBI >= 1.15, zlib-devel
104
105* Mon Jun 18 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
106- rebuilt with perl-5.6.1
107- Spec was written in Shift_JIS. Fixed.
108- modified %%files section
109
110* Sat Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 1.2216-1vl2
111- rebuild on perl-5.6.0
112- removed perl version in Requires
113- changed mandir to /usr/share/man
114
115* Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 1.2216-1vl1
116- build on Vine Linux
117
118* Tue May  1 2001 Trond Eivind Glomsr <teg@redhat.com>
119- 1.2216
120- Add doc files
121- Minor cleanups
122
123* Thu Nov 30 2000 Trond Eivind Glomsr <teg@redhat.com>
124- First cut
Note: See TracBrowser for help on using the repository browser.