From 757b1e94473a0848f27b2c6f4a1c5e76a895b8ec268012dd439c294e1285752c Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 20 Dec 2007 15:44:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liblrdf?expand=0&rev=5 --- liblrdf.changes | 11 ++++++++++ liblrdf.spec | 56 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 48 insertions(+), 19 deletions(-) diff --git a/liblrdf.changes b/liblrdf.changes index 4ef5e40..ae7205d 100644 --- a/liblrdf.changes +++ b/liblrdf.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Dec 19 23:20:09 CET 2007 - crrodriguez@suse.de + +- use library packaging policy + +------------------------------------------------------------------- +Wed Dec 19 23:11:33 CET 2007 - crrodriguez@suse.de + +- remove static libraries and "la" files +- fix -devel pakcage dependencies (missing libraptor-devel) + ------------------------------------------------------------------- Thu May 3 13:43:48 CEST 2007 - wstephenson@suse.de diff --git a/liblrdf.spec b/liblrdf.spec index 1cf285d..65c25f7 100644 --- a/liblrdf.spec +++ b/liblrdf.spec @@ -14,11 +14,11 @@ Name: liblrdf BuildRequires: ladspa-devel libraptor-devel libxml2-devel pkgconfig Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins Version: 0.4.0 -Release: 69 -License: GNU General Public License (GPL) +Release: 121 +License: GPL v2 or later Group: System/Libraries Source: %{name}-%{version}.tar.bz2 -URL: http://liblrdf.sf.net +Url: http://liblrdf.sf.net BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -30,6 +30,25 @@ light taxonomic inference capability. +Authors: +-------- + Steve Harris + +%package -n liblrdf2 +Group: System/Libraries +Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins +Provides: %{name} = %{version} +Obsoletes: %{name} <= %{version} + +%description -n liblrdf2 +This is a library to make it easy to manipulate RDF files describing +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 @@ -37,7 +56,7 @@ Authors: %package devel Summary: Development package for the liblrdf library Group: Development/Libraries/C and C++ -Requires: liblrdf glibc-devel +Requires: liblrdf2 = %{version} libraptor-devel %description devel This package contains the files needed to compile programs that use the @@ -50,45 +69,44 @@ Authors: Steve Harris %prep -%setup -autoreconf --force --install -%{?suse_update_config:%{suse_update_config -f}} +%setup -q %build -CFLAGS="$RPM_OPT_FLAGS" \ -./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} +export CFLAGS="$RPM_OPT_FLAGS" +%configure --disable-static --with-pic make %install -test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" install make -C examples distclean -%post -%run_ldconfig +%post -n liblrdf2 -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -n liblrdf2 -p /sbin/ldconfig %clean -test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT -%files +%files -n liblrdf2 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README -%{_libdir}/lib*.so.* +%{_libdir}/lib*.so.2* %files devel %defattr(-,root,root) %doc examples %{_libdir}/lib*.so -%{_libdir}/lib*.a -%{_libdir}/lib*.la %{_includedir}/* %{_datadir}/ladspa %{_libdir}/pkgconfig/*.pc +%exclude %{_libdir}/lib*.la %changelog +* Wed Dec 19 2007 - crrodriguez@suse.de +- use library packaging policy +* Wed Dec 19 2007 - crrodriguez@suse.de +- remove static libraries and "la" files +- fix -devel pakcage dependencies (missing libraptor-devel) * Thu May 03 2007 - wstephenson@suse.de - libraptor1-devel -> libraptor-devel * Thu May 03 2007 - lrupp@suse.de