From 78a310cf9821101addd7881465806628160a87a9f9844a8e286cb9a5500f2b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 8 Feb 2017 10:39:39 +0000 Subject: [PATCH] Accepting request 455478 from home:jengelh:branches:devel:libraries:c_c++ - Description updates - Rename %soname to %sover to better reflect its use OBS-URL: https://build.opensuse.org/request/show/455478 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmis-client?expand=0&rev=40 --- cmis-client.changes | 6 +++++ cmis-client.spec | 54 +++++++++++++++++++++++---------------------- 2 files changed, 34 insertions(+), 26 deletions(-) diff --git a/cmis-client.changes b/cmis-client.changes index ce7706c..e759186 100644 --- a/cmis-client.changes +++ b/cmis-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 8 10:09:12 UTC 2017 - jengelh@inai.de + +- Description updates +- Rename %soname to %sover to better reflect its use + ------------------------------------------------------------------- Wed Feb 1 10:30:26 UTC 2017 - adam.majer@suse.de diff --git a/cmis-client.spec b/cmis-client.spec index 4a43789..b1eaa04 100644 --- a/cmis-client.spec +++ b/cmis-client.spec @@ -16,7 +16,7 @@ # -%define soname 0_5-5 +%define sover 0_5-5 %define incname 0.5 %define _name libcmis Name: cmis-client @@ -44,46 +44,48 @@ BuildRequires: libxslt BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libxml-2.0) -Requires: %{_name}-%{soname} = %{version} +Requires: %{_name}-%{sover} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Sample client to access CMIS-enabled repositories using libcmis. -%package -n %{_name}-%{soname} +%package -n %{_name}-%{sover} Summary: Library for accessing CMIS-enabled servers Group: System/Libraries -%description -n %{_name}-%{soname} -LibCMIS is a C++ client library for the CMIS (Content Management -Interoperability Services) interface. This allows C++ applications to -connect to any CMIS-enabled repositories. +%description -n %{_name}-%{sover} +libcmis is a C++ client library for the CMIS (Content Management +Interoperability Services) interface. This library allows C++ +applications to connect to any CMIS-enabled repositories. %package -n %{_name}-devel -Summary: Libcmis development files +Summary: Development files for libcmis Group: Development/Libraries/C and C++ -Requires: %{_name}-%{soname} = %{version} +Requires: %{_name}-%{sover} = %{version} %description -n %{_name}-devel -Development files for libcmis. LibCMIS is a C++ client library for the CMIS interface. -This allows C++ applications to connect to any CMIS-enabled repositories. +Development files for libcmis. libcmis is a C++ client library for +the CMIS interface. -%package -n %{_name}-c-%{soname} -Summary: C Wrapper for libcmis, a library for accessing CMIS-enabled servers +%package -n %{_name}-c-%{sover} +Summary: C wrapper for libcmis, a library for accessing CMIS-enabled servers Group: System/Libraries -%description -n %{_name}-c-%{soname} -libcmis-c is a C client library for the CMIS interface. This allows C applications to connect to any CMIS-enabled repositories. -It is only a wrapper for its C++ sister libcmis. +%description -n %{_name}-c-%{sover} +libcmis-c is a C client library for the CMIS (Content Management +Interoperability Services) interface. This allows C applications to +connect to any CMIS-enabled repositories. It is only a wrapper for +its C++ sister library libcmis. %package -n %{_name}-c-devel -Summary: Libcmis-c development files +Summary: Development files for libcmis-c Group: Development/Libraries/C and C++ -Requires: %{_name}-c-%{soname} = %{version} +Requires: %{_name}-c-%{sover} = %{version} %description -n %{_name}-c-devel -Development files for libcmis-c. Libcmis-c is a C client library for the CMIS interface. -This allows C applications to connect to any CMIS-enabled repositories. It is only a wrapper for its C++ sister libcmis. +Development files for libcmis-c. libcmis-c is a C client library for +the CMIS interface. %prep %setup -q -n %{_name}-%{version} @@ -112,17 +114,17 @@ make -k check %{?_smp_mflags} || echo "ignore check error" make check %{?_smp_mflags} %endif -%post -n %{_name}-%{soname} -p /sbin/ldconfig -%post -n %{_name}-c-%{soname} -p /sbin/ldconfig -%postun -n %{_name}-%{soname} -p /sbin/ldconfig -%postun -n %{_name}-c-%{soname} -p /sbin/ldconfig +%post -n %{_name}-%{sover} -p /sbin/ldconfig +%post -n %{_name}-c-%{sover} -p /sbin/ldconfig +%postun -n %{_name}-%{sover} -p /sbin/ldconfig +%postun -n %{_name}-c-%{sover} -p /sbin/ldconfig %files %defattr(-, root, root) %{_bindir}/cmis-client %{_mandir}/man1/cmis-client.1.* -%files -n %{_name}-%{soname} +%files -n %{_name}-%{sover} %defattr(-, root, root) %doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS %{_libdir}/%{_name}-%{incname}.so.* @@ -133,7 +135,7 @@ make check %{?_smp_mflags} %{_libdir}/pkgconfig/%{_name}-%{incname}.pc %{_libdir}/%{_name}-%{incname}.so -%files -n %{_name}-c-%{soname} +%files -n %{_name}-c-%{sover} %defattr(-, root, root) %doc AUTHORS COPYING.LGPL COPYING.MPL COPYING.GPL NEWS %{_libdir}/%{_name}-c-%{incname}.so.*