- Add baselibs.conf as source file

- Run spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblrdf?expand=0&rev=10
This commit is contained in:
Ismail Dönmez 2015-01-26 14:35:22 +00:00 committed by Git OBS Bridge
parent a25cdfb649
commit 870a0888e1
2 changed files with 23 additions and 36 deletions

View File

@ -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

View File

@ -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 <steve@plugin.org.uk>
%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 <steve@plugin.org.uk>
%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 <steve@plugin.org.uk>
%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