Accepting request 453538 from home:jengelh:branches:multimedia:libs
- Rename soname macro to sover as it does not contain a name OBS-URL: https://build.opensuse.org/request/show/453538 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sord?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Rename soname macro to sover as it does not contain a name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 08:32:04 UTC 2017 - olaf@aepfle.de
|
||||
|
||||
|
18
sord.spec
18
sord.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sord
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define soname 0
|
||||
%define sover 0
|
||||
|
||||
Name: sord
|
||||
Version: 0.14.0
|
||||
@@ -39,18 +39,18 @@ BuildRequires: pkgconfig(serd-0) >= 0.18.0
|
||||
Utilities to work with RDF data.
|
||||
Sord is a lightweight C library for storing RDF data in memory.
|
||||
|
||||
%package -n libsord-0-%{soname}
|
||||
%package -n libsord-0-%{sover}
|
||||
Summary: A lightweight C library for storing RDF data in memory
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libsord-0-%{soname}
|
||||
%description -n libsord-0-%{sover}
|
||||
A lightweight C library for storing RDF data in memory.
|
||||
http://drobilla.net/software/sord/
|
||||
|
||||
%package -n libsord-0-devel
|
||||
Summary: Development files for libsord
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libsord-0-%{soname} = %{version}
|
||||
Requires: libsord-0-%{sover} = %{version}
|
||||
|
||||
%description -n libsord-0-devel
|
||||
Development files for libsord.
|
||||
@@ -79,9 +79,9 @@ cp -p doc/sord_validate.1 %{buildroot}%{_mandir}/man1/sord_validate.1
|
||||
mkdir -p %{buildroot}%{_mandir}/man3
|
||||
cp -pv build/doc/reference.doxygen.doxy/man/man3/sord.3 %{buildroot}%{_mandir}/man3/
|
||||
|
||||
%post -n libsord-0-%{soname} -p /sbin/ldconfig
|
||||
%post -n libsord-0-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libsord-0-%{soname} -p /sbin/ldconfig
|
||||
%postun -n libsord-0-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
@@ -90,10 +90,10 @@ cp -pv build/doc/reference.doxygen.doxy/man/man3/sord.3 %{buildroot}%{_mandir}/m
|
||||
%{_mandir}/man1/sordi.1*
|
||||
%{_mandir}/man1/sord_validate.1*
|
||||
|
||||
%files -n libsord-0-%{soname}
|
||||
%files -n libsord-0-%{sover}
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%{_libdir}/libsord-0.so.%{soname}*
|
||||
%{_libdir}/libsord-0.so.%{sover}*
|
||||
|
||||
%files -n libsord-0-devel
|
||||
%defattr(0644,root,root,0755)
|
||||
|
Reference in New Issue
Block a user