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:
parent
89eedddb57
commit
1f0c3d61da
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:07b43b0130d117950f7f863f8f96649e8da5fea0a7e0baebb04f1646a74c12c2
|
oid sha256:05602f07280740d8a2d9306db01cd3795ece65a0fb6b9549a16f1d10782ac748
|
||||||
size 1276126
|
size 1274691
|
||||||
|
@ -16,15 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libqb
|
Name: libqb0
|
||||||
Version: 0.13.0
|
Version: 0.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An IPC library for high performance servers
|
Summary: An IPC library for high performance servers
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.libqb.org
|
Url: http://www.libqb.org
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: libqb-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/libqb-%{version}-build
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -42,7 +42,7 @@ libqb provides high performance client server reusable features.
|
|||||||
Initially these are IPC and poll.
|
Initially these are IPC and poll.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n libqb-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -51,14 +51,17 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# Tests require writable /dev/shm and /var/run
|
# 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
|
make check
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
rm -rf %{buildroot}%{_docdir}/*
|
rm -rf %{buildroot}%{_datadir}/doc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -73,17 +76,17 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/qb-blackbox
|
%{_sbindir}/qb-blackbox
|
||||||
%{_libdir}/libqb.so.*
|
%{_libdir}/libqb.so.*
|
||||||
|
|
||||||
%package devel
|
%package -n libqb-devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for libqb
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description -n libqb-devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The libqb-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use libqb.
|
||||||
|
|
||||||
%files devel
|
%files -n libqb-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README.markdown
|
%doc COPYING README.markdown
|
||||||
%{_includedir}/qb/
|
%{_includedir}/qb/
|
@ -16,15 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: libqb
|
Name: libqb0
|
||||||
Version: 0.13.0
|
Version: 0.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An IPC library for high performance servers
|
Summary: An IPC library for high performance servers
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.libqb.org
|
Url: http://www.libqb.org
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: libqb-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/libqb-%{version}-build
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -42,7 +42,7 @@ libqb provides high performance client server reusable features.
|
|||||||
Initially these are IPC and poll.
|
Initially these are IPC and poll.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n libqb-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -51,14 +51,17 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# Tests require writable /dev/shm and /var/run
|
# 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
|
make check
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
rm -rf %{buildroot}%{_docdir}/*
|
rm -rf %{buildroot}%{_datadir}/doc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -73,17 +76,17 @@ rm -rf %{buildroot}
|
|||||||
%{_sbindir}/qb-blackbox
|
%{_sbindir}/qb-blackbox
|
||||||
%{_libdir}/libqb.so.*
|
%{_libdir}/libqb.so.*
|
||||||
|
|
||||||
%package devel
|
%package -n libqb-devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for libqb
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description -n libqb-devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The libqb-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use libqb.
|
||||||
|
|
||||||
%files devel
|
%files -n libqb-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING README.markdown
|
%doc COPYING README.markdown
|
||||||
%{_includedir}/qb/
|
%{_includedir}/qb/
|
Loading…
x
Reference in New Issue
Block a user