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