This commit is contained in:
parent
345d1ce920
commit
757b1e9447
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 23:20:09 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
- use library packaging policy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 19 23:11:33 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
- remove static libraries and "la" files
|
||||
- fix -devel pakcage dependencies (missing libraptor-devel)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 13:43:48 CEST 2007 - wstephenson@suse.de
|
||||
|
||||
|
56
liblrdf.spec
56
liblrdf.spec
@ -14,11 +14,11 @@ 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: 69
|
||||
License: GNU General Public License (GPL)
|
||||
Release: 121
|
||||
License: GPL v2 or later
|
||||
Group: System/Libraries
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
URL: http://liblrdf.sf.net
|
||||
Url: http://liblrdf.sf.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -30,6 +30,25 @@ 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>
|
||||
@ -37,7 +56,7 @@ Authors:
|
||||
%package devel
|
||||
Summary: Development package for the liblrdf library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: liblrdf glibc-devel
|
||||
Requires: liblrdf2 = %{version} libraptor-devel
|
||||
|
||||
%description devel
|
||||
This package contains the files needed to compile programs that use the
|
||||
@ -50,45 +69,44 @@ Authors:
|
||||
Steve Harris <steve@plugin.org.uk>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
autoreconf --force --install
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure --disable-static --with-pic
|
||||
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
|
||||
%post -n liblrdf2 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
%postun -n liblrdf2 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -n liblrdf2
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/lib*.so.2*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc examples
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/lib*.a
|
||||
%{_libdir}/lib*.la
|
||||
%{_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
|
||||
|
Loading…
Reference in New Issue
Block a user