OBS User unknown 2007-10-11 00:03:16 +00:00 committed by Git OBS Bridge
parent 32645b8f3d
commit 9742ec5516
3 changed files with 59 additions and 26 deletions

View File

@ -0,0 +1,11 @@
Index: Makefile.am
===================================================================
--- Makefile.am.orig 2003-05-28 17:55:14.000000000 +0200
+++ Makefile.am 2007-10-09 08:08:47.000000000 +0200
@@ -1,5 +1,5 @@
-SUBDIRS = include lib examples tests
+SUBDIRS = include lib tests
EXTRA_DIST = doc/doxygen.conf misc/$(PACKAGE).ebuild
dist-hook:

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 9 08:23:50 CEST 2007 - crrodriguez@suse.de
- fix build using library packaging policy
- remove static libraries and useless libtool archive
- permanently break build loop by removing the example code that caused it
-------------------------------------------------------------------
Tue Sep 11 12:46:28 CEST 2007 - sbrabec@suse.cz

View File

@ -11,23 +11,17 @@
# norootforbuild
Name: libcddb
BuildRequires: pkg-config
# In automatic build systems, use feature-limited version of libcdio to break build loop.
%if 0%{?opensuse_bs}%{?suse_abuild}
BuildRequires: libcdio-mini-devel
%else
# Otherwise, build against full version.
BuildRequires: libcdio-devel
%endif
Version: 1.3.0
Release: 55
URL: http://libcddb.sourceforge.net/
Release: 62
Url: http://libcddb.sourceforge.net/
Group: Productivity/Multimedia/Other
License: LGPL v2 or later
Summary: CDDB Access Library
Source: %{name}-%{version}.tar.bz2
Autoreqprov: on
AutoReqProv: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
Patch0: libcddb-1.3.0-no-examples.patch
%description
Libcddb is a library that implements the different protocols (CDDBP,
@ -36,6 +30,24 @@ tries to be as cross-platform as possible.
Authors:
--------
Kris Verbeeck <airborne@advalvas.be>
%package -n libcddb2
Summary: CDDB Access Library
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
#opensuse 10.3
Obsoletes: %{name} <= 1.3.0
%description -n libcddb2
Libcddb is a library that implements the different protocols (CDDBP,
HTTP, and SMTP) to access data on a CDDB server (http://freedb.org). It
tries to be as cross-platform as possible.
Authors:
--------
Kris Verbeeck <airborne@advalvas.be>
@ -43,7 +55,7 @@ Authors:
%package devel
Group: Productivity/Multimedia/Other
Summary: CDDB Access Library
Requires: %{name} = %{version} glibc-devel
Requires: libcddb2 = %{version} glibc-devel
%description devel
Libcddb is a library that implements the different protocols (CDDBP,
@ -58,37 +70,40 @@ Authors:
%prep
%setup
%patch0
%build
%configure
autoreconf -fiv
%configure --disable-rpath --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -f %{buildroot}%{_libdir}/libcddb.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%post -n libcddb2 -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -n libcddb2 -p /sbin/ldconfig
%files
%files -n libcddb2
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
/usr/%{_lib}/*.so.*
/usr/bin/*
%{_libdir}/*.so.2*
%files devel
%defattr (-, root, root)
/usr/%{_lib}/*.so
/usr/%{_lib}/*.*a
/usr/%{_lib}/pkgconfig/*.pc
/usr/include/*
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/cddb
%{_includedir}/cddb/*.h
%changelog
* Tue Oct 09 2007 - crrodriguez@suse.de
- fix build using library packaging policy
- remove static libraries and useless libtool archive
- permanently break build loop by removing the example code that caused it
* Tue Sep 11 2007 - sbrabec@suse.cz
- Break build loop libcddb -> libcdio -> libcddb.
* Fri Oct 20 2006 - sbrabec@suse.cz