OBS User unknown 2007-12-20 15:44:01 +00:00 committed by Git OBS Bridge
parent 345d1ce920
commit 757b1e9447
2 changed files with 48 additions and 19 deletions

View File

@ -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 Thu May 3 13:43:48 CEST 2007 - wstephenson@suse.de

View File

@ -14,11 +14,11 @@ Name: liblrdf
BuildRequires: ladspa-devel libraptor-devel libxml2-devel pkgconfig BuildRequires: ladspa-devel libraptor-devel libxml2-devel pkgconfig
Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins Summary: A library to Manipulate RDF Files for LADSPA Plug-Ins
Version: 0.4.0 Version: 0.4.0
Release: 69 Release: 121
License: GNU General Public License (GPL) License: GPL v2 or later
Group: System/Libraries Group: System/Libraries
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
URL: http://liblrdf.sf.net Url: http://liblrdf.sf.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %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: Authors:
-------- --------
Steve Harris <steve@plugin.org.uk> Steve Harris <steve@plugin.org.uk>
@ -37,7 +56,7 @@ Authors:
%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: liblrdf glibc-devel Requires: liblrdf2 = %{version} 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
@ -50,45 +69,44 @@ Authors:
Steve Harris <steve@plugin.org.uk> Steve Harris <steve@plugin.org.uk>
%prep %prep
%setup %setup -q
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%build %build
CFLAGS="$RPM_OPT_FLAGS" \ export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} %configure --disable-static --with-pic
make make
%install %install
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install make DESTDIR="$RPM_BUILD_ROOT" install
make -C examples distclean make -C examples distclean
%post %post -n liblrdf2 -p /sbin/ldconfig
%run_ldconfig
%postun %postun -n liblrdf2 -p /sbin/ldconfig
%run_ldconfig
%clean %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) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.2*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc examples %doc examples
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_includedir}/* %{_includedir}/*
%{_datadir}/ladspa %{_datadir}/ladspa
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/lib*.la
%changelog %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 * Thu May 03 2007 - wstephenson@suse.de
- libraptor1-devel -> libraptor-devel - libraptor1-devel -> libraptor-devel
* Thu May 03 2007 - lrupp@suse.de * Thu May 03 2007 - lrupp@suse.de