Accepting request 453549 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/453549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sord?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2017-02-02 14:27:57 +00:00 committed by Git OBS Bridge
commit 062392f6f3
3 changed files with 21 additions and 9 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libsord-0-0

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- Add baselibs.conf for gstreamer-plugins-bad-32bit
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 17 10:26:07 UTC 2015 - davejplater@gmail.com Thu Dec 17 10:26:07 UTC 2015 - davejplater@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package sord # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
# #
%define soname 0 %define sover 0
Name: sord Name: sord
Version: 0.14.0 Version: 0.14.0
@ -26,6 +26,7 @@ License: ISC
Group: Productivity/File utilities Group: Productivity/File utilities
Url: http://drobilla.net/software/sord/ Url: http://drobilla.net/software/sord/
Source0: http://download.drobilla.net/sord-%{version}.tar.bz2 Source0: http://download.drobilla.net/sord-%{version}.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: graphviz BuildRequires: graphviz
@ -38,18 +39,18 @@ BuildRequires: pkgconfig(serd-0) >= 0.18.0
Utilities to work with RDF data. Utilities to work with RDF data.
Sord is a lightweight C library for storing RDF data in memory. 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 Summary: A lightweight C library for storing RDF data in memory
Group: System/Libraries Group: System/Libraries
%description -n libsord-0-%{soname} %description -n libsord-0-%{sover}
A lightweight C library for storing RDF data in memory. A lightweight C library for storing RDF data in memory.
http://drobilla.net/software/sord/ http://drobilla.net/software/sord/
%package -n libsord-0-devel %package -n libsord-0-devel
Summary: Development files for libsord Summary: Development files for libsord
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libsord-0-%{soname} = %{version} Requires: libsord-0-%{sover} = %{version}
%description -n libsord-0-devel %description -n libsord-0-devel
Development files for libsord. Development files for libsord.
@ -78,9 +79,9 @@ cp -p doc/sord_validate.1 %{buildroot}%{_mandir}/man1/sord_validate.1
mkdir -p %{buildroot}%{_mandir}/man3 mkdir -p %{buildroot}%{_mandir}/man3
cp -pv build/doc/reference.doxygen.doxy/man/man3/sord.3 %{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 %files
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
@ -89,10 +90,10 @@ cp -pv build/doc/reference.doxygen.doxy/man/man3/sord.3 %{buildroot}%{_mandir}/m
%{_mandir}/man1/sordi.1* %{_mandir}/man1/sordi.1*
%{_mandir}/man1/sord_validate.1* %{_mandir}/man1/sord_validate.1*
%files -n libsord-0-%{soname} %files -n libsord-0-%{sover}
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc AUTHORS COPYING NEWS README %doc AUTHORS COPYING NEWS README
%{_libdir}/libsord-0.so.%{soname}* %{_libdir}/libsord-0.so.%{sover}*
%files -n libsord-0-devel %files -n libsord-0-devel
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)