870a0888e1
- Run spec-cleaner OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblrdf?expand=0&rev=10
102 lines
2.9 KiB
RPMSpec
102 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package liblrdf
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
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.
|
|
|
|
%package -n liblrdf2
|
|
Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins
|
|
Group: System/Libraries
|
|
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.
|
|
|
|
%package devel
|
|
Summary: Development package for the liblrdf library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: liblrdf2 = %{version}
|
|
Requires: libraptor-devel
|
|
|
|
%description devel
|
|
This package contains the files needed to compile programs that use the
|
|
liblrdf library.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
%patch2
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
# Required because of patch2 that updates configure.ac
|
|
./autogen.sh
|
|
%configure --disable-static --with-pic
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
make -C examples distclean
|
|
|
|
%post -n liblrdf2 -p /sbin/ldconfig
|
|
|
|
%postun -n liblrdf2 -p /sbin/ldconfig
|
|
|
|
%files -n liblrdf2
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_libdir}/lib*.so.2*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc examples
|
|
%{_libdir}/lib*.so
|
|
%{_includedir}/*
|
|
%{_datadir}/ladspa
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%exclude %{_libdir}/lib*.la
|
|
|
|
%changelog
|