diff --git a/libpqxx.spec b/libpqxx.spec index 90cdead..4eb53e7 100644 --- a/libpqxx.spec +++ b/libpqxx.spec @@ -1,6 +1,6 @@ Name: libpqxx Version: 2.6.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: C++ client API for PostgreSQL Group: System Environment/Libraries @@ -23,21 +23,23 @@ C++ client API for PostgreSQL. The standard front-end (in the sense of Supersedes older libpq++ interface. %package devel -Summary: Development tools for libpqxx +Summary: Development tools for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig Requires: postgresql-devel %description devel -The libpgxx-devel package contains the header files and static -libraries necessary for developing programs which use libpqxx. +Header files and static libraries necessary for developing programs +which use %{name}. + %prep %setup -q %patch1 -p1 -b .visibility + %build %configure --enable-shared --disable-static # I hate rpath... ;) @@ -53,17 +55,21 @@ make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la %{__perl} -pi -e 's,-R/usr/lib,,' $RPM_BUILD_ROOT%{_bindir}/pqxx-config + %check # not enabled, by default, takes awhile. %{?_with_check:make check } + %clean rm -rf $RPM_BUILD_ROOT + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README TODO VERSION @@ -77,7 +83,11 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/pqxx %{_libdir}/pkgconfig/libpqxx.pc + %changelog +* Sun Dec 09 2007 Rex Dieter 2.6.8-8 +- cosmetics + * Fri Aug 17 2007 Rex Dieter 2.6.8-7 - update Source URL's