Author: jajcus Date: Sun Jul 1 08:39:40 2012 GMT Module: packages Tag: HEAD ---- Log message: - new package
---- Files affected: packages/libqb: libqb.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/libqb/libqb.spec diff -u /dev/null packages/libqb/libqb.spec:1.1 --- /dev/null Sun Jul 1 10:39:40 2012 +++ packages/libqb/libqb.spec Sun Jul 1 10:39:34 2012 @@ -0,0 +1,107 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without static_libs # don't build static libraries +%bcond_without tests # don't build and run tests +# +Summary: libqb - high performance client server reusable features +Name: libqb +Version: 0.14.0 +Release: 0.1 +License: LGPL v2.1 +Group: Libraries +Source0: https://fedorahosted.org/releases/q/u/quarterback/%{name}-%{version}.tar.gz +# Source0-md5: 1c310cc167fd5e2d074d693f33671595 +URL: http://www.libqb.org/ +%{?with_tests:BuildRequires: check-devel} +BuildRequires: doxygen +BuildRequires: glib2-devel +BuildRequires: pkgconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libqb is a library with the primary purpose of providing high +performance client server reusable features. It provides high +performance logging, tracing, ipc, and poll. + +%package devel +Summary: Header files for libqb library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libqb +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libqb library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki libqb. + +%package static +Summary: Static libqb library +Summary(pl.UTF-8): Statyczna biblioteka libqb +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libqb library. + +%description static -l pl.UTF-8 +Statyczna biblioteka libqb. + +%prep +%setup -q + +%build +%configure \ + %{!?with_static_libs:--disable-static} +%{__make} + +%if %{with tests} +%{__make} check +%endif + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +rm -r $RPM_BUILD_ROOT%{_docdir}/%{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc ChangeLog README.* +%attr(755,root,root) %{_sbindir}/* +%attr(755,root,root) %ghost %{_libdir}/libqb.so.0 +%attr(755,root,root) %{_libdir}/libqb.so.*.*.* +%{_mandir}/man8/* + +%files devel +%defattr(644,root,root,755) +%{_mandir}/man3/* +%{_libdir}/libqb.so +%{_libdir}/libqb.la +%{_includedir}/qb +%{_pkgconfigdir}/libqb.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libqb.a +%endif + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/07/01 08:39:34 jajcus +- new package + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
