SHA256
1
0
forked from pool/sratom

Accepting request 453552 from multimedia:libs

Supersede 453514

OBS-URL: https://build.opensuse.org/request/show/453552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sratom?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2017-02-02 14:28:08 +00:00 committed by Git OBS Bridge
commit be1cb25b0a
3 changed files with 23 additions and 10 deletions

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libsratom-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
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 26 23:15:15 UTC 2015 - p.drouand@gmail.com Thu Mar 26 23:15:15 UTC 2015 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package sratom # spec file for package sratom
# #
# 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,16 +16,17 @@
# #
%define soname 0 %define sover 0
Name: sratom Name: sratom
Version: 0.4.6 Version: 0.4.6
Release: 0 Release: 0
Summary: A library for serialising LV2 atoms to/from RDF Summary: A library for serialising LV2 atoms to/from RDF
License: ISC License: ISC
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://drobilla.net/software/sratom/ Url: http://drobilla.net/software/sratom/
Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2 Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: graphviz BuildRequires: graphviz
BuildRequires: pkg-config BuildRequires: pkg-config
@ -37,17 +38,17 @@ BuildRequires: pkgconfig(sord-0) >= 0.12.0
%description %description
A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax.
%package -n libsratom-0-%{soname} %package -n libsratom-0-%{sover}
Summary: A library for serialising LV2 atoms to/from RDF Summary: A library for serialising LV2 atoms to/from RDF
Group: System/Libraries Group: System/Libraries
%description -n libsratom-0-%{soname} %description -n libsratom-0-%{sover}
A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax.
%package -n libsratom-0-devel %package -n libsratom-0-devel
Summary: Development files for libsratom Summary: Development files for libsratom
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libsratom-0-%{soname} = %{version} Requires: libsratom-0-%{sover} = %{version}
%description -n libsratom-0-devel %description -n libsratom-0-devel
Development files for libsratom. Development files for libsratom.
@ -69,14 +70,14 @@ export CXXFLAGS='%{optflags}'
%install %install
./waf install --destdir=%{?buildroot} ./waf install --destdir=%{?buildroot}
%post -n libsratom-0-%{soname} -p /sbin/ldconfig %post -n libsratom-0-%{sover} -p /sbin/ldconfig
%postun -n libsratom-0-%{soname} -p /sbin/ldconfig %postun -n libsratom-0-%{sover} -p /sbin/ldconfig
%files -n libsratom-0-%{soname} %files -n libsratom-0-%{sover}
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)
%doc COPYING NEWS README %doc COPYING NEWS README
%{_libdir}/libsratom-0.so.%{soname}* %{_libdir}/libsratom-0.so.%{sover}*
%files -n libsratom-0-devel %files -n libsratom-0-devel
%defattr(0644,root,root,0755) %defattr(0644,root,root,0755)