File liblrdf.spec of Package liblrdf
#
# spec file for package liblrdf (Version 0.4.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
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: 121
License: GPL v2 or later
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Url: http://liblrdf.sf.net
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.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
%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 <steve@plugin.org.uk>
%package devel
Summary: Development package for the liblrdf library
Group: Development/Libraries/C and C++
Requires: liblrdf2 = %{version} 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
%build
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-static --with-pic
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
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
%{_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
* 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
- require libraptor1-devel
* Tue Apr 17 2007 - tiwai@suse.de
- fix buildrequires ladspa -> ladspa-devel
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 24 2005 - tiwai@suse.de
- updated to version 0.4.0.
* Thu Aug 05 2004 - tiwai@suse.de
- updated to version 0.3.7.
* Fri Feb 27 2004 - tiwai@suse.de
- removed the binareis from examples directory for installation.
* Thu Feb 26 2004 - tiwai@suse.de
- updated to version 0.3.5.
* Tue Jan 13 2004 - tiwai@suse.de
- build as non-root.
* Fri Jan 09 2004 - tiwai@suse.de
- updated to version 0.3.2.
* Fri Jun 06 2003 - tiwai@suse.de
- updated to version 0.3.1.
* Wed Apr 02 2003 - tiwai@suse.de
- initial version: 0.2.4.