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

Revision 12120, 3.4 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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