ea0ba74
Summary: Control operation of a CD-ROM when playing audio CDs
ea0ba74
Name: libcdaudio
ea0ba74
Version: 0.99.12p2
fd841c8
Release: 14%{?dist}
8e8051b
# COPYING is a copy of GPLv2, but the code and the README clearly indicate
8e8051b
# that the code is LGPLv2+. Probably want to let upstream know about COPYING.
8e8051b
License: LGPLv2+
ea0ba74
Group: System Environment/Libraries
ea0ba74
URL: http://libcdaudio.sourceforge.net/
ea0ba74
Source0: http://prdownloads.sourceforge.net/libcdaudio/%{name}-%{version}.tar.gz
ea0ba74
Patch0: libcdaudio-0.99.12-buffovfl.patch
ea0ba74
Patch1: libcdaudio-0.99.12p2-libdir.patch
d4a511d
Patch2: libcdaudio-0.99-CAN-2005-0706.patch
ea0ba74
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
ea0ba74
BuildRequires: gcc-c++
ea0ba74
ea0ba74
%description
ea0ba74
libcdaudio is a library designed to provide functions to control
ea0ba74
operation of a CD-ROM when playing audio CDs.  It also contains
ea0ba74
functions for CDDB and CD Index lookup.
ea0ba74
ea0ba74
%package devel
ea0ba74
Summary: Development files for libcdaudio
ea0ba74
Group: Development/Libraries
ea0ba74
Requires: %{name} = %{version}-%{release}
ea0ba74
Requires: pkgconfig
ea0ba74
ea0ba74
%description devel
ea0ba74
This package contains development files for linking against libcdaudio.
ea0ba74
ea0ba74
%prep
ea0ba74
%setup -q
ea0ba74
%patch0 -p0
ea0ba74
%patch1 -p1
d4a511d
%patch2 -p1
ea0ba74
ea0ba74
%build
ea0ba74
%configure \
ea0ba74
  --enable-dependency-tracking \
ea0ba74
  --disable-static \
ea0ba74
  --enable-threads
ea0ba74
make
ea0ba74
ea0ba74
%install
ea0ba74
rm -rf %{buildroot}
ea0ba74
make install DESTDIR=%{buildroot}
ea0ba74
ea0ba74
%clean
ea0ba74
rm -rf %{buildroot}
ea0ba74
ea0ba74
%post -p /sbin/ldconfig
ea0ba74
ea0ba74
%postun -p /sbin/ldconfig
ea0ba74
ea0ba74
%files
ea0ba74
%defattr(-,root,root,-)
8e8051b
%doc README NEWS
ea0ba74
%{_libdir}/*.so.*
ea0ba74
ea0ba74
%files devel
ea0ba74
%defattr(-,root,root,-)
ea0ba74
%{_includedir}/*
ea0ba74
%{_libdir}/*.so
ea0ba74
%exclude %{_libdir}/*.la
ea0ba74
%{_bindir}/%{name}-config
ea0ba74
%{_datadir}/aclocal/%{name}.m4
ea0ba74
%{_libdir}/pkgconfig/libcdaudio.pc
ea0ba74
ea0ba74
%changelog
fd841c8
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.12p2-14
fd841c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fd841c8
cefc887
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.12p2-13
cefc887
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cefc887
2b8a1c4
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.12p2-12
2b8a1c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2b8a1c4
d4a511d
* Sat Dec 27 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.99.12p2-11
d4a511d
- Fix CVE-2005-0706.
d4a511d
8e8051b
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.99.12p2-10
8e8051b
- took COPYING out of doc (it is simply wrong)
8e8051b
- fixed license tag
8e8051b
ea0ba74
* Fri Dec 29 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.99.12p2-8
ea0ba74
- Change Group tag.
ea0ba74
- Fix libcdaudio-config for libdir != %%{_prefix}/lib.
ea0ba74
ea0ba74
* Wed Dec 27 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.99.12p2-7
ea0ba74
- Update to 0.99.12p2.
ea0ba74
ea0ba74
* Tue Sep 13 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
ea0ba74
- Patch to fix buffer overflow by Brian C. Huffman
ea0ba74
  <huffman@graze.net>.
ea0ba74
ea0ba74
* Sat Jul 23 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
ea0ba74
- Update to 0.99.12.
ea0ba74
ea0ba74
* Wed May 14 2003 Axel Thimm <Axel.Thimm@ATrpms.net>
ea0ba74
- Initial build.
ea0ba74
ea0ba74