Initial import (#668243).
This commit is contained in:
parent
13441ca6d3
commit
51f257a4db
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libqb-0.4.1.tar.gz
|
89
libqb.spec
Normal file
89
libqb.spec
Normal file
@ -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: <nothing>
|
||||
|
||||
%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 <asalkeld@redhat.com> - 0.4.1-2
|
||||
- SPEC: improve devel files section
|
||||
- SPEC: remove global variables
|
||||
|
||||
* Mon Jan 31 2011 Angus Salkeld <asalkeld@redhat.com> - 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 <asalkeld@redhat.com> - 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 <asalkeld@redhat.com> - 0.4.0-1
|
||||
- Initial release
|
Loading…
Reference in New Issue
Block a user