- 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 Wed Jan 21 10:20:43 UTC 2015 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package liblrdf # 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 # 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
@ -17,20 +17,21 @@
Name: liblrdf 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: ladspa-devel
BuildRequires: libraptor-devel >= 0.9.11 BuildRequires: libraptor-devel >= 0.9.11
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: pkgconfig 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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 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
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 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 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
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