diff --git a/.gitignore b/.gitignore index e69de29..43b8e87 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libqb-0.4.1.tar.gz diff --git a/libqb.spec b/libqb.spec new file mode 100644 index 0000000..1649049 --- /dev/null +++ b/libqb.spec @@ -0,0 +1,89 @@ +Name: libqb +Version: 0.4.1 +Release: 2%{?dist} +Summary: An IPC library for high performance servers + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://www.libqb.org +Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libtool doxygen procps check-devel + +#Requires: + +%description +libqb provides high performance client server reusable features. +Initially these are IPC and poll. + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%check +make check + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +rm -rf $RPM_BUILD_ROOT/%{_docdir}/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_libdir}/libqb.so.* + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%files devel +%defattr(-,root,root,-) +%doc COPYING README +%{_includedir}/qb/ +%{_libdir}/libqb.so +%{_libdir}/pkgconfig/libqb.pc +%{_mandir}/man3/qb*3* + +%changelog +* Tue Feb 8 2011 Angus Salkeld - 0.4.1-2 +- SPEC: improve devel files section +- SPEC: remove global variables + +* Mon Jan 31 2011 Angus Salkeld - 0.4.1-1 +- SPEC: add procps to BuildRequire +- SPEC: remove automake and autoconf from BuildRequire +- SPEC: remove call to ./autogen.sh +- SPEC: update to new upstream version 0.4.1 +- LOOP: check read() return value +- DOCS: add missing @param on new timeout argument +- BUILD: only set -g and -O options if explicitly requested. +- BUILD: Remove unneccessary check for library "dl" +- BUILD: improve the release build system + +* Fri Jan 14 2011 Angus Salkeld - 0.4.0-2 +- remove "." from Summary +- Add "check-devel to BuildRequires +- Add "make check" to check section +- Changed a buildroot to RPM_BUILD_ROOT +- Document alphatag, numcomm and dirty variables. + +* Sun Jan 09 2011 Angus Salkeld - 0.4.0-1 +- Initial release diff --git a/sources b/sources index e69de29..b41c45e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +962d266dcb610503acd523370c494f78 libqb-0.4.1.tar.gz