From 028a6e6535cdf302b42fd3ed42289cbbaa72f4aa Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:26:43 +0100 Subject: [PATCH] automatic version update by autodist [release 4.0.1-1mamba;Sun Jan 20 2013] --- README.md | 2 ++ libpqxx.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libpqxx.spec diff --git a/README.md b/README.md index 42537ef..f0ffb1e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libpqxx +Libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength open-source database software. + diff --git a/libpqxx.spec b/libpqxx.spec new file mode 100644 index 0000000..f49194b --- /dev/null +++ b/libpqxx.spec @@ -0,0 +1,65 @@ +Name: libpqxx +Version: 4.0.1 +Release: 1mamba +Summary: C++ client API for PostgreSQL +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 4.0.1-1mamba +- automatic version update by autodist + +* Mon Nov 28 2011 Automatic Build System 4.0-1mamba +- automatic version update by autodist + +* Fri Jul 09 2010 Davide Madrisan 3.1-1mamba +- package created by autospec