|
|
@ -1,13 +1,13 @@
|
|
|
|
Summary: Library (C API) for accessing CDDB servers
|
|
|
|
Summary: Library (C API) for accessing CDDB servers
|
|
|
|
Name: libcddb
|
|
|
|
Name: libcddb
|
|
|
|
Version: 1.3.2
|
|
|
|
Version: 1.3.2
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://libcddb.sourceforge.net/
|
|
|
|
URL: http://libcddb.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/libcddb/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: http://downloads.sourceforge.net/libcddb/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: libcddb-1.3.0-multilib.patch
|
|
|
|
Patch0: libcddb-1.3.0-multilib.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
|
|
|
Patch1: libcddb-1.3.2-rhbz770611.patch
|
|
|
|
BuildRequires: pkgconfig, libcdio-devel >= 0.67
|
|
|
|
BuildRequires: pkgconfig, libcdio-devel >= 0.67
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -18,8 +18,7 @@ HTTP, SMTP) to access data on a CDDB server (e.g http://freedb.org/).
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libcddb
|
|
|
|
Summary: Development files for libcddb
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
Libcddb is a library that implements the different protocols (CDDBP,
|
|
|
|
Libcddb is a library that implements the different protocols (CDDBP,
|
|
|
@ -31,6 +30,7 @@ for libcddb.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
iconv -f ISO_8859-1 -t UTF-8 THANKS > THANKS.tmp
|
|
|
|
iconv -f ISO_8859-1 -t UTF-8 THANKS > THANKS.tmp
|
|
|
|
touch -r THANKS THANKS.tmp
|
|
|
|
touch -r THANKS THANKS.tmp
|
|
|
|
mv THANKS.tmp THANKS
|
|
|
|
mv THANKS.tmp THANKS
|
|
|
@ -48,34 +48,31 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO
|
|
|
|
%doc AUTHORS COPYING NEWS README THANKS ChangeLog TODO
|
|
|
|
%{_libdir}/libcddb.so.*
|
|
|
|
%{_libdir}/libcddb.so.*
|
|
|
|
%{_bindir}/cddb_query
|
|
|
|
%{_bindir}/cddb_query
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_libdir}/libcddb.so
|
|
|
|
%{_libdir}/libcddb.so
|
|
|
|
%{_includedir}/cddb
|
|
|
|
%{_includedir}/cddb
|
|
|
|
%{_libdir}/pkgconfig/libcddb.pc
|
|
|
|
%{_libdir}/pkgconfig/libcddb.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Dec 29 2011 Hans de Goede <hdegoede@redhat.com> - 1.3.2-7
|
|
|
|
|
|
|
|
- Fix DNS timeout handler causing an abort due to longjmp and
|
|
|
|
|
|
|
|
FORTIFY_SOURCE from a signal handler not liking each other (rhbz#770611)
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 20 2011 Adrian Reber <adrian@lisas.de> 1.3.2-6
|
|
|
|
* Sun Nov 20 2011 Adrian Reber <adrian@lisas.de> 1.3.2-6
|
|
|
|
- Rebuilt for new libcdio
|
|
|
|
- Rebuilt for new libcdio
|
|
|
|
|
|
|
|
|
|
|
|