perl-DBD-Pg/perl-DBD-Pg.spec

175 lines
5.7 KiB
RPMSpec
Raw Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-DBD-Pg
Epoch: 1
Version: 3.17.0
Release: 1mamba
Summary: DBD:Pg - PostgreSQL database driver for the DBI module
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/DBD/DBD-Pg-%{version}.tar.gz
License: Artistic, GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpostgresql-devel
BuildRequires: perl-DBI
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
Requires: perl >= %perl_major_ver
%description
DBD:Pg - PostgreSQL database driver for the DBI module.
%prep
%setup -q -n DBD-Pg-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
#%ifnarch x86_64
#% make test
#%endif
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
find %{buildroot} -name *.so -exec chmod u+w {} \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Thu Aug 24 2023 Automatic Build System <autodist@mambasoft.it> 3.17.0-1mamba
- automatic version update by autodist
* Sun Apr 16 2023 Sdk Build System <sdk@mambasoft.it> 3.16.3-2mamba
- rebuilt with perl 5.36.0
* Wed Apr 05 2023 Automatic Build System <autodist@mambasoft.it> 3.16.3-1mamba
- automatic version update by autodist
* Wed Apr 05 2023 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
- automatic version update by autodist
* Tue Mar 07 2023 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Tue Aug 09 2022 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Tue Feb 15 2022 Automatic Build System <autodist@mambasoft.it> 3.15.1-1mamba
- automatic version update by autodist
* Sat May 22 2021 Automatic Build System <autodist@mambasoft.it> 3.15.0-1mamba
- automatic version update by autodist
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic version update by autodist
* Sat May 02 2020 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
- automatic update by autodist
* Sat Oct 28 2017 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic update by autodist
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.3-2mamba
- rebuilt with perl 5.24
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 3.5.3-1mamba
- automatic update by autodist
* Thu Mar 26 2015 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
- automatic update by autodist
* Sun Feb 15 2015 Automatic Build System <autodist@mambasoft.it> 3.5.0_1-1mamba
- automatic update by autodist
* Wed Jan 14 2015 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic update by autodist
* Tue Oct 14 2014 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic update by autodist
* Thu Sep 18 2014 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic update by autodist
* Thu Jul 10 2014 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
- automatic update by autodist
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
- automatic update by autodist
* Sun Feb 09 2014 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic update by autodist
* Tue Jan 22 2013 Automatic Build System <autodist@mambasoft.it> 2.99.9_2-1mamba
- automatic version update by autodist
* Tue Nov 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.19.3-1mamba
- update to 2.19.3
- downgrade from development version (epoch incremented)
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.99.9_2-1mamba
- perl 5.16 mass rebuild
* Thu Jun 16 2011 Automatic Build System <autodist@mambasoft.it> 2.18.1-1mamba
- automatic update by autodist
* Sun May 02 2010 Automatic Build System <autodist@mambasoft.it> 2.17.1-1mamba
- automatic update by autodist
* Tue Jan 12 2010 Automatic Build System <autodist@mambasoft.it> 2.16.0-1mamba
- automatic update by autodist
* Tue Aug 11 2009 Automatic Build System <autodist@mambasoft.it> 2.15.1-1mamba
- automatic update by autodist
* Tue Aug 04 2009 Automatic Build System <autodist@mambasoft.it> 2.15.0-1mamba
- automatic update by autodist
* Wed Jul 29 2009 Automatic Build System <autodist@mambasoft.it> 2.14.1-1mamba
- automatic update by autodist
* Thu Jul 23 2009 Automatic Build System <autodist@mambasoft.it> 2.13.1_7-1mamba
- automatic update by autodist
* Fri Jul 17 2009 Automatic Build System <autodist@mambasoft.it> 2.13.1_3-1mamba
- automatic update by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 2.13.1-1mamba
- automatic update by autodist
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.13.0-1mamba
- automatic update by autodist
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12.0-1mamba
- automatic update by autodist
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11.8-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-2mamba
- automatic rebuild by autodist
* Sat Jul 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-1mamba
- package created by autospec