forked from pool/libcddb
137 lines
3.7 KiB
RPMSpec
137 lines
3.7 KiB
RPMSpec
#
|
|
# spec file for package libcddb (Version 1.3.0)
|
|
#
|
|
# Copyright (c) 2007 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://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libcddb
|
|
Version: 1.3.0
|
|
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
|
|
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,
|
|
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>
|
|
|
|
%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>
|
|
|
|
%package devel
|
|
Group: Productivity/Multimedia/Other
|
|
Summary: CDDB Access Library
|
|
Requires: libcddb2 = %{version} glibc-devel
|
|
|
|
%description devel
|
|
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>
|
|
|
|
%prep
|
|
%setup
|
|
%patch0
|
|
|
|
%build
|
|
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 -n libcddb2 -p /sbin/ldconfig
|
|
|
|
%postun -n libcddb2 -p /sbin/ldconfig
|
|
|
|
%files -n libcddb2
|
|
%defattr (-, root, root)
|
|
%{_libdir}/*.so.2*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%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
|
|
- Updated to version 1.3.0:
|
|
* Support for the 'album' command of the freedb2.org.
|
|
* Functions to set or reset some flags.
|
|
* Fri Oct 06 2006 - sbrabec@suse.cz
|
|
- Updated to version 1.2.2:
|
|
* Correct character set is specified when submitting data.
|
|
* Fri Jun 30 2006 - sbrabec@suse.cz
|
|
- Fixed cyclic dependencies in a correct way.
|
|
* Thu Jun 22 2006 - sbrabec@suse.cz
|
|
- Simpler solution of cyclic dependencies.
|
|
* Tue Jan 31 2006 - sbrabec@suse.cz
|
|
- Enabled parallel build.
|
|
- Fixed devel splitting.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Oct 26 2005 - sbrabec@suse.cz
|
|
- Build with libcdio-0.76.
|
|
* Fri Aug 05 2005 - sbrabec@suse.cz
|
|
- Updated to version 1.2.1.
|
|
* Fri Jul 29 2005 - sbrabec@suse.cz
|
|
- Updated to version 1.2.0.
|
|
* Mon May 09 2005 - sbrabec@suse.cz
|
|
- Updated to version 1.0.2.
|
|
* Tue Apr 26 2005 - sbrabec@suse.cz
|
|
- Updated to version 1.0.1.
|
|
* Tue Nov 09 2004 - sbrabec@suse.cz
|
|
- New SuSE package, version 0.9.6.
|