SHA256
1
0
forked from pool/libqb

Rename spec to match package name

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=8
This commit is contained in:
Tim Serong 2012-06-08 13:07:29 +00:00 committed by Git OBS Bridge
parent 89eedddb57
commit 1f0c3d61da
3 changed files with 32 additions and 26 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07b43b0130d117950f7f863f8f96649e8da5fea0a7e0baebb04f1646a74c12c2
size 1276126
oid sha256:05602f07280740d8a2d9306db01cd3795ece65a0fb6b9549a16f1d10782ac748
size 1274691

View File

@ -16,15 +16,15 @@
#
Name: libqb
Name: libqb0
Version: 0.13.0
Release: 0
Summary: An IPC library for high performance servers
License: LGPL-2.1+
Group: System/Libraries
Url: http://www.libqb.org
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: libqb-%{version}.tar.bz2
BuildRoot: %{_tmppath}/libqb-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -42,7 +42,7 @@ libqb provides high performance client server reusable features.
Initially these are IPC and poll.
%prep
%setup -q -n %{name}-%{version}
%setup -q -n libqb-%{version}
%build
./autogen.sh
@ -51,14 +51,17 @@ make %{?_smp_mflags}
%check
# Tests require writable /dev/shm and /var/run
if [ -w /dev/shm -a -w /var/run ]; then
# TODO: This test might not be quite right -- it seems to fail on OBS,
# but OBS is capable of doing "make check" successfully, whereas
# "osc build" in a chroot fails.
if [ -w /dev/shm -a -w /var/run ] ; then
make check
fi
%install
%make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';'
rm -rf %{buildroot}%{_docdir}/*
rm -rf %{buildroot}%{_datadir}/doc
%clean
rm -rf %{buildroot}
@ -73,17 +76,17 @@ rm -rf %{buildroot}
%{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.*
%package devel
Summary: Development files for %{name}
%package -n libqb-devel
Summary: Development files for libqb
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%description -n libqb-devel
The libqb-devel package contains libraries and header files for
developing applications that use libqb.
%files devel
%files -n libqb-devel
%defattr(-,root,root,-)
%doc COPYING README.markdown
%{_includedir}/qb/

View File

@ -16,15 +16,15 @@
#
Name: libqb
Name: libqb0
Version: 0.13.0
Release: 0
Summary: An IPC library for high performance servers
License: LGPL-2.1+
Group: System/Libraries
Url: http://www.libqb.org
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: libqb-%{version}.tar.bz2
BuildRoot: %{_tmppath}/libqb-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@ -42,7 +42,7 @@ libqb provides high performance client server reusable features.
Initially these are IPC and poll.
%prep
%setup -q -n %{name}-%{version}
%setup -q -n libqb-%{version}
%build
./autogen.sh
@ -51,14 +51,17 @@ make %{?_smp_mflags}
%check
# Tests require writable /dev/shm and /var/run
if [ -w /dev/shm -a -w /var/run ]; then
# TODO: This test might not be quite right -- it seems to fail on OBS,
# but OBS is capable of doing "make check" successfully, whereas
# "osc build" in a chroot fails.
if [ -w /dev/shm -a -w /var/run ] ; then
make check
fi
%install
%make_install
find %{buildroot} -name '*.la' -exec rm -f {} ';'
rm -rf %{buildroot}%{_docdir}/*
rm -rf %{buildroot}%{_datadir}/doc
%clean
rm -rf %{buildroot}
@ -73,17 +76,17 @@ rm -rf %{buildroot}
%{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.*
%package devel
Summary: Development files for %{name}
%package -n libqb-devel
Summary: Development files for libqb
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%description -n libqb-devel
The libqb-devel package contains libraries and header files for
developing applications that use libqb.
%files devel
%files -n libqb-devel
%defattr(-,root,root,-)
%doc COPYING README.markdown
%{_includedir}/qb/