SHA256
1
0
forked from pool/serd

Accepting request 453548 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/453548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/serd?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2017-02-02 14:27:45 +00:00 committed by Git OBS Bridge
commit 143c6a206e
3 changed files with 23 additions and 10 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libserd-0-0

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de
- Fix mismatching RPM group
- 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
-------------------------------------------------------------------
Wed Dec 16 08:52:37 UTC 2015 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
#
# spec file for package serd
#
# 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,16 +16,17 @@
#
%define soname 0
%define sover 0
Name: serd
Version: 0.22.0
Release: 0
Summary: A lightweight C library for RDF syntax
License: ISC
Group: System/Libraries
Group: Development/Libraries/C and C++
Url: http://drobilla.net/software/serd/
Source0: http://download.drobilla.net/serd-%{version}.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: doxygen
BuildRequires: graphviz
@ -42,17 +43,17 @@ Group: Productivity/Editors/Other
%description -n serdi
Read and write RDF syntax.
%package -n libserd-0-%{soname}
%package -n libserd-0-%{sover}
Summary: A lightweight C library for RDF syntax
Group: System/Libraries
%description -n libserd-0-%{soname}
%description -n libserd-0-%{sover}
A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
%package -n libserd-0-devel
Summary: Development files for libserd
Group: Development/Libraries/C and C++
Requires: libserd-0-%{soname} = %{version}
Requires: libserd-0-%{sover} = %{version}
%description -n libserd-0-devel
Development files for libserd.
@ -74,19 +75,19 @@ export CXXFLAGS='%{optflags}'
%install
./waf install --destdir=%{?buildroot}
%post -n libserd-0-%{soname} -p /sbin/ldconfig
%post -n libserd-0-%{sover} -p /sbin/ldconfig
%postun -n libserd-0-%{soname} -p /sbin/ldconfig
%postun -n libserd-0-%{sover} -p /sbin/ldconfig
%files -n serdi
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/serdi
%{_mandir}/man1/serdi.1*
%files -n libserd-0-%{soname}
%files -n libserd-0-%{sover}
%defattr(0644,root,root,0755)
%doc AUTHORS COPYING NEWS README
%{_libdir}/libserd-0.so.%{soname}*
%{_libdir}/libserd-0.so.%{sover}*
%files -n libserd-0-devel
%defattr(0644,root,root,0755)