66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
Name: libpqxx
|
|
Version: 4.0.1
|
|
Release: 1mamba
|
|
Summary: C++ client API for PostgreSQL
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://pqxx.org/development/libpqxx/
|
|
Source: http://pqxx.org/download/software/libpqxx/libpqxx-%{version}.tar.gz
|
|
License: BSD
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength open-source database software.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength open-source database software.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --enable-shared --disable-static
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpqxx-*.so
|
|
%doc AUTHORS COPYING ChangeLog NEWS README README-UPGRADE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pqxx-config
|
|
%{_includedir}/pqxx/
|
|
%{_libdir}/libpqxx.la
|
|
%{_libdir}/libpqxx.so
|
|
%{_libdir}/pkgconfig/libpqxx.pc
|
|
|
|
%changelog
|
|
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 28 2011 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jul 09 2010 Davide Madrisan <davide.madrisan@gmail.com> 3.1-1mamba
|
|
- package created by autospec
|