From a25cdfb6494ba1048c2bff810b55003f7a3097170bc48d18d15107e98d66b9e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 26 Jan 2015 14:28:14 +0000 Subject: [PATCH 1/2] Accepting request 282198 from home:olh:branches:multimedia:libs - BuildRequire libraptor-devel >= 0.9.11 OBS-URL: https://build.opensuse.org/request/show/282198 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblrdf?expand=0&rev=9 --- liblrdf.changes | 5 +++++ liblrdf.spec | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/liblrdf.changes b/liblrdf.changes index c10f9fa..65df527 100644 --- a/liblrdf.changes +++ b/liblrdf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 21 10:20:43 UTC 2015 - olaf@aepfle.de + +- BuildRequire libraptor-devel >= 0.9.11 + ------------------------------------------------------------------- Sat Nov 19 20:39:28 UTC 2011 - coolo@suse.com diff --git a/liblrdf.spec b/liblrdf.spec index d83b64e..4121a57 100644 --- a/liblrdf.spec +++ b/liblrdf.spec @@ -1,7 +1,7 @@ # # spec file for package liblrdf # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,16 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: liblrdf -BuildRequires: ladspa-devel libraptor-devel libtool libxml2-devel pkgconfig +BuildRequires: ladspa-devel +BuildRequires: libraptor-devel >= 0.9.11 +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pkgconfig Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins -Version: 0.4.0 -Release: 134 -License: GPL v2 or later +License: GPL-2.0+ Group: System/Libraries +Version: 0.4.0 +Release: 0 Source: %{name}-%{version}.tar.bz2 Patch1: liblrdf-symbol-conflict.diff Patch2: raptor2-compat.diff @@ -45,9 +47,8 @@ Authors: Steve Harris %package -n liblrdf2 -License: GPL v2 or later -Group: System/Libraries Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins +Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -65,7 +66,6 @@ Authors: Steve Harris %package devel -License: GPL v2 or later Summary: Development package for the liblrdf library Group: Development/Libraries/C and C++ Requires: liblrdf2 = %{version} libraptor-devel From 870a0888e160b302b0903391530b777b203998b435d541378885d637c0484622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 26 Jan 2015 14:35:22 +0000 Subject: [PATCH 2/2] - Add baselibs.conf as source file - Run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblrdf?expand=0&rev=10 --- liblrdf.changes | 6 ++++++ liblrdf.spec | 53 ++++++++++++++++--------------------------------- 2 files changed, 23 insertions(+), 36 deletions(-) diff --git a/liblrdf.changes b/liblrdf.changes index 65df527..5fecec4 100644 --- a/liblrdf.changes +++ b/liblrdf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 26 14:34:32 UTC 2015 - idonmez@suse.com + +- Add baselibs.conf as source file +- Run spec-cleaner + ------------------------------------------------------------------- Wed Jan 21 10:20:43 UTC 2015 - olaf@aepfle.de diff --git a/liblrdf.spec b/liblrdf.spec index 4121a57..2d8d49b 100644 --- a/liblrdf.spec +++ b/liblrdf.spec @@ -1,7 +1,7 @@ # # spec file for package liblrdf # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,20 +17,21 @@ Name: liblrdf +Version: 0.4.0 +Release: 0 +Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins +License: GPL-2.0+ +Group: System/Libraries +Url: http://liblrdf.sf.net +Source: %{name}-%{version}.tar.bz2 +Source99: baselibs.conf +Patch1: liblrdf-symbol-conflict.diff +Patch2: raptor2-compat.diff BuildRequires: ladspa-devel BuildRequires: libraptor-devel >= 0.9.11 BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: pkgconfig -Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins -License: GPL-2.0+ -Group: System/Libraries -Version: 0.4.0 -Release: 0 -Source: %{name}-%{version}.tar.bz2 -Patch1: liblrdf-symbol-conflict.diff -Patch2: raptor2-compat.diff -Url: http://liblrdf.sf.net BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,12 +41,6 @@ LADSPA plug-ins. It can also be used for general RDF manipulation. It can read RDF, XLM, and N3 files and export N3 files. Ot also has a light taxonomic inference capability. - - -Authors: --------- - Steve Harris - %package -n liblrdf2 Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins Group: System/Libraries @@ -59,50 +54,36 @@ LADSPA plug-ins. It can also be used for general RDF manipulation. It can read RDF, XLM, and N3 files and export N3 files. Ot also has a light taxonomic inference capability. - - -Authors: --------- - Steve Harris - %package devel Summary: Development package for the liblrdf library Group: Development/Libraries/C and C++ -Requires: liblrdf2 = %{version} libraptor-devel +Requires: liblrdf2 = %{version} +Requires: libraptor-devel %description devel This package contains the files needed to compile programs that use the liblrdf library. - - -Authors: --------- - Steve Harris - %prep %setup -q %patch1 -p1 -%patch2 -p0 +%patch2 %build -export CFLAGS="$RPM_OPT_FLAGS" +export CFLAGS="%{optflags}" # Required because of patch2 that updates configure.ac ./autogen.sh %configure --disable-static --with-pic -make +make %{?_smp_mflags} %install -make DESTDIR="$RPM_BUILD_ROOT" install +make DESTDIR=%{buildroot} install %{?_smp_mflags} make -C examples distclean %post -n liblrdf2 -p /sbin/ldconfig %postun -n liblrdf2 -p /sbin/ldconfig -%clean -rm -rf $RPM_BUILD_ROOT - %files -n liblrdf2 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README