forked from pool/cmis-client
Accepting request 455479 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/455479 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmis-client?expand=0&rev=20
This commit is contained in:
commit
643bf7ff54
@ -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
|
||||
|
||||
|
@ -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.*
|
||||
|
Loading…
Reference in New Issue
Block a user