source: projects/specs/trunk/p/perl-DBD-Pg/perl-DBD-Pg-vl.spec @ 8714

Revision 8714, 3.1 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

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