Rejig spec so the main package doesn't have the SONAME
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/libqb?expand=0&rev=10
This commit is contained in:
parent
423a7ac102
commit
c6257944a2
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4ab61e2a5c4677fda904c678e14c1846fa4a7839ab5630737645188a04e67741
|
||||
size 1274731
|
||||
oid sha256:9a4892787f8f3a85be60b4d1ea4bf14a6a52dc2e615a93a597d658cb1ba728b4
|
||||
size 1274779
|
||||
|
@ -16,15 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libqb0
|
||||
Name: libqb
|
||||
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: libqb-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/libqb-%{version}-build
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -41,8 +41,28 @@ BuildRequires: git
|
||||
libqb provides high performance client server reusable features.
|
||||
Initially these are IPC and poll.
|
||||
|
||||
%package -n libqb0
|
||||
Summary: An IPC library for high performance servers
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Provides: %{name} = %{version}
|
||||
|
||||
%description -n libqb0
|
||||
libqb provides high performance client server reusable features.
|
||||
Initially these are IPC and poll.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
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}.
|
||||
|
||||
%prep
|
||||
%setup -q -n libqb-%{version}
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
@ -66,28 +86,18 @@ rm -rf %{buildroot}%{_datadir}/doc
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libqb0
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_sbindir}/qb-blackbox
|
||||
%{_libdir}/libqb.so.*
|
||||
%{_mandir}/man8/qb-blackbox.8.gz
|
||||
|
||||
%package -n libqb-devel
|
||||
Summary: Development files for libqb
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n libqb-devel
|
||||
The libqb-devel package contains libraries and header files for
|
||||
developing applications that use libqb.
|
||||
|
||||
%files -n libqb-devel
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.markdown
|
||||
%{_includedir}/qb/
|
@ -16,15 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libqb0
|
||||
Name: libqb
|
||||
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: libqb-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/libqb-%{version}-build
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -41,8 +41,28 @@ BuildRequires: git
|
||||
libqb provides high performance client server reusable features.
|
||||
Initially these are IPC and poll.
|
||||
|
||||
%package -n libqb0
|
||||
Summary: An IPC library for high performance servers
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Provides: %{name} = %{version}
|
||||
|
||||
%description -n libqb0
|
||||
libqb provides high performance client server reusable features.
|
||||
Initially these are IPC and poll.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
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}.
|
||||
|
||||
%prep
|
||||
%setup -q -n libqb-%{version}
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
@ -66,28 +86,18 @@ rm -rf %{buildroot}%{_datadir}/doc
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libqb0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libqb0
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_sbindir}/qb-blackbox
|
||||
%{_libdir}/libqb.so.*
|
||||
%{_mandir}/man8/qb-blackbox.8.gz
|
||||
|
||||
%package -n libqb-devel
|
||||
Summary: Development files for libqb
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n libqb-devel
|
||||
The libqb-devel package contains libraries and header files for
|
||||
developing applications that use libqb.
|
||||
|
||||
%files -n libqb-devel
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.markdown
|
||||
%{_includedir}/qb/
|
Loading…
Reference in New Issue
Block a user