This commit is contained in:
parent
32645b8f3d
commit
9742ec5516
11
libcddb-1.3.0-no-examples.patch
Normal file
11
libcddb-1.3.0-no-examples.patch
Normal 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:
|
@ -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
|
Tue Sep 11 12:46:28 CEST 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
67
libcddb.spec
67
libcddb.spec
@ -11,23 +11,17 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: libcddb
|
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
|
Version: 1.3.0
|
||||||
Release: 55
|
Release: 62
|
||||||
URL: http://libcddb.sourceforge.net/
|
Url: http://libcddb.sourceforge.net/
|
||||||
Group: Productivity/Multimedia/Other
|
Group: Productivity/Multimedia/Other
|
||||||
License: LGPL v2 or later
|
License: LGPL v2 or later
|
||||||
Summary: CDDB Access Library
|
Summary: CDDB Access Library
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
Patch0: libcddb-1.3.0-no-examples.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libcddb is a library that implements the different protocols (CDDBP,
|
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:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Kris Verbeeck <airborne@advalvas.be>
|
Kris Verbeeck <airborne@advalvas.be>
|
||||||
@ -43,7 +55,7 @@ Authors:
|
|||||||
%package devel
|
%package devel
|
||||||
Group: Productivity/Multimedia/Other
|
Group: Productivity/Multimedia/Other
|
||||||
Summary: CDDB Access Library
|
Summary: CDDB Access Library
|
||||||
Requires: %{name} = %{version} glibc-devel
|
Requires: libcddb2 = %{version} glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libcddb is a library that implements the different protocols (CDDBP,
|
Libcddb is a library that implements the different protocols (CDDBP,
|
||||||
@ -58,37 +70,40 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
autoreconf -fiv
|
||||||
|
%configure --disable-rpath --disable-static --with-pic
|
||||||
make %{?jobs:-j%jobs}
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
%{__rm} -f %{buildroot}%{_libdir}/libcddb.la
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -n libcddb2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -n libcddb2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files -n libcddb2
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
%{_libdir}/*.so.2*
|
||||||
/usr/%{_lib}/*.so.*
|
|
||||||
/usr/bin/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
/usr/%{_lib}/*.so
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
||||||
/usr/%{_lib}/*.*a
|
%{_libdir}/*.so
|
||||||
/usr/%{_lib}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
/usr/include/*
|
%dir %{_includedir}/cddb
|
||||||
|
%{_includedir}/cddb/*.h
|
||||||
%changelog
|
%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
|
* Tue Sep 11 2007 - sbrabec@suse.cz
|
||||||
- Break build loop libcddb -> libcdio -> libcddb.
|
- Break build loop libcddb -> libcdio -> libcddb.
|
||||||
* Fri Oct 20 2006 - sbrabec@suse.cz
|
* Fri Oct 20 2006 - sbrabec@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user