diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..55ad8c5 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libsratom-0-0 diff --git a/sratom.changes b/sratom.changes index f6a13d9..d5146fa 100644 --- a/sratom.changes +++ b/sratom.changes @@ -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 diff --git a/sratom.spec b/sratom.spec index acaa7bc..dbc499d 100644 --- a/sratom.spec +++ b/sratom.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # -%define soname 0 +%define sover 0 Name: sratom Version: 0.4.6 Release: 0 Summary: A library for serialising LV2 atoms to/from RDF License: ISC -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://drobilla.net/software/sratom/ Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2 +Source1: baselibs.conf BuildRequires: doxygen BuildRequires: graphviz BuildRequires: pkg-config @@ -37,17 +38,17 @@ BuildRequires: pkgconfig(sord-0) >= 0.12.0 %description 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 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. %package -n libsratom-0-devel Summary: Development files for libsratom Group: Development/Libraries/C and C++ -Requires: libsratom-0-%{soname} = %{version} +Requires: libsratom-0-%{sover} = %{version} %description -n libsratom-0-devel Development files for libsratom. @@ -69,14 +70,14 @@ export CXXFLAGS='%{optflags}' %install ./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) %doc COPYING NEWS README -%{_libdir}/libsratom-0.so.%{soname}* +%{_libdir}/libsratom-0.so.%{sover}* %files -n libsratom-0-devel %defattr(0644,root,root,0755)