Accepting request 282868 from multimedia:libs

- Add baselibs.conf as source file
- Run spec-cleaner

- BuildRequire libraptor-devel >= 0.9.11

OBS-URL: https://build.opensuse.org/request/show/282868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/liblrdf?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2015-01-27 11:36:08 +00:00 committed by Git OBS Bridge
commit 612d70bb91
2 changed files with 28 additions and 36 deletions

View File

@ -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 Sat Nov 19 20:39:28 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package liblrdf # 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 # 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
@ -15,20 +15,23 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: liblrdf 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 Version: 0.4.0
Release: 134 Release: 0
Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins
License: GPL-2.0+ License: GPL-2.0+
Group: System/Libraries Group: System/Libraries
Url: http://liblrdf.sf.net
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source99: baselibs.conf
Patch1: liblrdf-symbol-conflict.diff Patch1: liblrdf-symbol-conflict.diff
Patch2: raptor2-compat.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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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 It can read RDF, XLM, and N3 files and export N3 files. Ot also has a
light taxonomic inference capability. light taxonomic inference capability.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
%package -n liblrdf2 %package -n liblrdf2
License: GPL-2.0+
Group: System/Libraries
Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins
Group: System/Libraries
Provides: %{name} = %{version} Provides: %{name} = %{version}
Obsoletes: %{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 It can read RDF, XLM, and N3 files and export N3 files. Ot also has a
light taxonomic inference capability. light taxonomic inference capability.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
%package devel %package devel
License: GPL-2.0+
Summary: Development package for the liblrdf library Summary: Development package for the liblrdf library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: liblrdf2 = %{version} libraptor-devel Requires: liblrdf2 = %{version}
Requires: libraptor-devel
%description devel %description devel
This package contains the files needed to compile programs that use the This package contains the files needed to compile programs that use the
liblrdf library. liblrdf library.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p0 %patch2
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="%{optflags}"
# Required because of patch2 that updates configure.ac # Required because of patch2 that updates configure.ac
./autogen.sh ./autogen.sh
%configure --disable-static --with-pic %configure --disable-static --with-pic
make make %{?_smp_mflags}
%install %install
make DESTDIR="$RPM_BUILD_ROOT" install make DESTDIR=%{buildroot} install %{?_smp_mflags}
make -C examples distclean make -C examples distclean
%post -n liblrdf2 -p /sbin/ldconfig %post -n liblrdf2 -p /sbin/ldconfig
%postun -n liblrdf2 -p /sbin/ldconfig %postun -n liblrdf2 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n liblrdf2 %files -n liblrdf2
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README