source: projects/specs/branches/6/p/perl-DBD-Pg/perl-DBD-Pg-vl.spec @ 3425

Revision 3425, 2.9 KB checked in by owa, 13 years ago (diff)

rebuild with postgresql-9.0.3

Line 
1Summary: the DBI PostgreSQL interface for Perl
2Name: perl-DBD-Pg
3Version: 2.18.0
4Release: 2%{?_dist_release}
5License: GPL or Artistic
6Group: Development/Libraries
7Source0: http://search.cpan.org/CPAN/authors/id/D/DB/DBDPG/DBD-Pg-%{version}.tar.gz
8Source1: filter-requires-perl-DBD-Pg.sh
9Patch0:perl-DBD-1.31-fixver.patch
10
11Url: http://search.cpan.org/author/DWHEELER/DBD-Pg/
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: perl >= 5.004, postgresql-devel, perl-DBI
14Requires: perl >= 5.004
15
16%define __perl_requires %{SOURCE1}
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22the DBI PostgreSQL interface for Perl
23
24%prep
25%setup -q -n DBD-Pg-%{version}
26
27%patch0 -p1 -b .fixver
28
29%build
30export POSTGRES_INCLUDE=%{_includedir}/pgsql
31export POSTGRES_LIB=%{_libdir}
32CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
33make
34
35%check
36make test
37
38%clean
39rm -rf %{buildroot}
40
41%install
42rm -rf %{buildroot}
43#mkdir -p %{buildroot}%{_prefix}
44#make INSTALLSITEARCH=%{buildroot}%{perl_sitearch} \
45#     INSTALLSITEMAN3DIR=%{buildroot}%{_mandir}/man3  \
46#     install
47
48make DESTDIR=$RPM_BUILD_ROOT install
49
50find %{buildroot}%{_prefix} -type f -print |
51        sed "s@^%{buildroot}@@g" |
52        grep -v ^%{_mandir} |
53        grep -v perllocal.pod |
54        grep -v "\.packlist" > %{name}.files
55if [ "$(cat %{name}.files)X" = "X" ] ; then
56    echo "ERROR: EMPTY FILE LIST"
57    exit -1
58fi
59
60%files -f %{name}.files
61%defattr(-,root,root)
62%doc README Changes
63%dir %{perl_vendorarch}/DBD
64%dir %{perl_vendorarch}/auto/DBD
65%dir %{perl_vendorarch}/auto/DBD/Pg
66%{_mandir}/*/*
67
68%changelog
69* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.18.0-2
70- rebuilt with postgresql-9.0.3
71
72* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.18.0-1
73- new upstream release
74- drop  CVE-2009-0663, 1341 patch (Patch1): upstream fixed
75- add requires filter (Source1)
76- add Vendor and Distribution tags
77
78* Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.49-5
79- rebuilt with postgresql-8.4.0
80
81* Sat May 16 2009 Satoshi IWMAOTO <satoshi.iwamoto@nifty.ne.jp> 1.49-4vl5
82- add patch0 from rhel5
83- add patch1 to fix CVE-2009-0663, 1341
84- 2vl5,3vl5 are skipped to Plus < Seed version number...
85
86* Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-1vl5
87- applied new versioning policy
88- rebuilt with postgresql-8.3.3
89
90* Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl5
91- rebuilt with postgresql-8.2.6
92
93* Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl4
94- rebuilt with postgresql-8.2.5
95
96* Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.49-0vl1
97- new upstream release
98- rebuilt with perl-5.8.6, perl-DBI-1.51
99- changed Group to Development/Libraries
100- installed files to vendor_perl
101
102* Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl3
103- rebuilt for VineSeed
104        -- built with perl-5.8.6, perl-DBI-1.46
105
106* Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl2
107- rebuilt for VineLinux-3.1
108        -- built with perl-5.8.2, perl-DBI-1.46
109
110* Sat May 24 2003 IWAI Masaharu <iwai@alib.jp> 1.22-0vl1
111- first build for Vine Linux
112
Note: See TracBrowser for help on using the repository browser.