SHA256
1
0
forked from pool/libqb

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:
Tim Serong 2012-06-08 13:22:31 +00:00 committed by Git OBS Bridge
parent 423a7ac102
commit c6257944a2
3 changed files with 58 additions and 38 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4ab61e2a5c4677fda904c678e14c1846fa4a7839ab5630737645188a04e67741 oid sha256:9a4892787f8f3a85be60b4d1ea4bf14a6a52dc2e615a93a597d658cb1ba728b4
size 1274731 size 1274779

View File

@ -16,15 +16,15 @@
# #
Name: libqb0 Name: libqb
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: libqb-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/libqb-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -41,8 +41,28 @@ BuildRequires: git
libqb provides high performance client server reusable features. libqb provides high performance client server reusable features.
Initially these are IPC and poll. 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 %prep
%setup -q -n libqb-%{version} %setup -q -n %{name}-%{version}
%build %build
./autogen.sh ./autogen.sh
@ -66,28 +86,18 @@ rm -rf %{buildroot}%{_datadir}/doc
%clean %clean
rm -rf %{buildroot} 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,-) %defattr(-,root,root,-)
%doc COPYING %doc COPYING
%{_sbindir}/qb-blackbox %{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.* %{_libdir}/libqb.so.*
%{_mandir}/man8/qb-blackbox.8.gz %{_mandir}/man8/qb-blackbox.8.gz
%package -n libqb-devel %files 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
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README.markdown %doc COPYING README.markdown
%{_includedir}/qb/ %{_includedir}/qb/

View File

@ -16,15 +16,15 @@
# #
Name: libqb0 Name: libqb
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: libqb-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/libqb-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -41,8 +41,28 @@ BuildRequires: git
libqb provides high performance client server reusable features. libqb provides high performance client server reusable features.
Initially these are IPC and poll. 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 %prep
%setup -q -n libqb-%{version} %setup -q -n %{name}-%{version}
%build %build
./autogen.sh ./autogen.sh
@ -66,28 +86,18 @@ rm -rf %{buildroot}%{_datadir}/doc
%clean %clean
rm -rf %{buildroot} 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,-) %defattr(-,root,root,-)
%doc COPYING %doc COPYING
%{_sbindir}/qb-blackbox %{_sbindir}/qb-blackbox
%{_libdir}/libqb.so.* %{_libdir}/libqb.so.*
%{_mandir}/man8/qb-blackbox.8.gz %{_mandir}/man8/qb-blackbox.8.gz
%package -n libqb-devel %files 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
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README.markdown %doc COPYING README.markdown
%{_includedir}/qb/ %{_includedir}/qb/