diff --git a/liblrdf.changes b/liblrdf.changes index c10f9fa..5fecec4 100644 --- a/liblrdf.changes +++ b/liblrdf.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- 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 9e50b18..2d8d49b 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 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,20 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: liblrdf -BuildRequires: ladspa-devel libraptor-devel libtool libxml2-devel pkgconfig -Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins Version: 0.4.0 -Release: 134 +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 -Url: http://liblrdf.sf.net +BuildRequires: ladspa-devel +BuildRequires: libraptor-devel >= 0.9.11 +BuildRequires: libtool +BuildRequires: libxml2-devel +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,16 +41,9 @@ 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 -License: GPL-2.0+ -Group: System/Libraries Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins +Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -58,51 +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 -License: GPL-2.0+ 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