liblrdf/liblrdf.spec

112 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package liblrdf (Version 0.4.0)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#
# norootforbuild
Name: liblrdf
BuildRequires: ladspa libxml2-devel pkgconfig raptor-devel
Summary: A library to manipulate RDF files for LADSPA plugins
Version: 0.4.0
Release: 1
License: GPL
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 plugins.
It can also be used for general RDF manipulation.
It can read RDF/XLM and N3 files and export N3 files, it also has a
light taxonomic inference capablility.
Authors:
--------
Steve Harris <steve@plugin.org.uk>
%package devel
Summary: Development package for the liblrdf library
Group: Development/Libraries/C and C++
Requires: liblrdf glibc-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
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
make
%install
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
make -C examples distclean
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%doc examples
%{_libdir}/lib*.so
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_includedir}/*
%{_datadir}/ladspa
%{_libdir}/pkgconfig/*.pc
%changelog -n liblrdf
* 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.