michael@0: Name: libcdio michael@0: Version: 0.82 michael@0: Release: 3%{?dist} michael@0: Summary: CD-ROM input and control library michael@0: Group: System Environment/Libraries michael@0: License: GPLv3+ michael@0: URL: http://www.gnu.org/software/libcdio/ michael@0: Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz michael@0: Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz.sig michael@0: Source2: libcdio-no_date_footer.hml michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@0: BuildRequires: pkgconfig doxygen michael@0: BuildRequires: ncurses-devel michael@0: BuildRequires: help2man michael@0: Requires(post): /sbin/ldconfig michael@0: Requires(post): /sbin/install-info michael@0: Requires(preun): /sbin/install-info michael@0: BuildRequires: gettext-devel michael@0: BuildRequires: chrpath michael@0: michael@0: michael@0: %description michael@0: This library provides an interface for CD-ROM access. It can be used michael@0: by applications that need OS- and device-independent access to CD-ROM michael@0: devices. michael@0: michael@0: %package devel michael@0: Summary: Header files and libraries for %{name} michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: michael@0: %description devel michael@0: This package contains header files and libraries for %{name}. michael@0: michael@0: michael@0: %prep michael@0: %setup -q michael@0: michael@0: f=src/cd-paranoia/doc/ja/cd-paranoia.1.in michael@0: iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f michael@0: iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS michael@0: michael@0: %build michael@0: %configure \ michael@0: --disable-vcd-info \ michael@0: --disable-dependency-tracking \ michael@0: --disable-cddb \ michael@0: --disable-static \ michael@0: --disable-rpath michael@0: make %{?_smp_mflags} michael@0: michael@0: # another multilib fix; remove the architecture information from version.h michael@0: sed -i -e "s,%{version}.*$,%{version}\\\",g" include/cdio/version.h michael@0: michael@0: cd doc/doxygen michael@0: sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile michael@0: cp %{SOURCE2} . michael@0: ./run_doxygen michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: michael@0: rm -f $RPM_BUILD_ROOT%{_infodir}/dir michael@0: find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' michael@0: michael@0: mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja} michael@0: michael@0: rm -rf examples michael@0: mkdir -p examples/C++ michael@0: cp -a example/{*.c,README} examples michael@0: cp -a example/C++/{*.cpp,README} examples/C++ michael@0: michael@0: # fix timestamps of generated man-pages michael@0: for i in cd-info iso-read iso-info cd-read cd-drive; do michael@0: # remove build architecture information from man pages michael@0: sed -i -e 's, version.*linux-gnu,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 michael@0: # remove libtool leftover from man pages michael@0: sed -i -e 's,lt-,,g;s,LT-,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 michael@0: # fix timestamps to be the same in all packages michael@0: touch -r src/$i.help2man $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 michael@0: done michael@0: michael@0: # remove rpath michael@0: chrpath --delete $RPM_BUILD_ROOT%{_bindir}/* michael@0: chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.* michael@0: michael@0: %check michael@0: # disable test using local CDROM michael@0: %{__sed} -i -e "s,testiso9660\$(EXEEXT),,g" \ michael@0: -e "s,testisocd\$(EXEEXT),,g" \ michael@0: -e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \ michael@0: test/Makefile michael@0: make check michael@0: michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: michael@0: %post michael@0: /sbin/ldconfig michael@0: /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : michael@0: michael@0: %preun michael@0: if [ $1 = 0 ]; then michael@0: /sbin/install-info --delete %{_infodir}/%{name}.info \ michael@0: %{_infodir}/dir 2>/dev/null || : michael@0: fi michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO michael@0: %{_bindir}/* michael@0: %{_libdir}/*.so.* michael@0: %{_infodir}/* michael@0: %{_mandir}/man1/* michael@0: %lang(ja) %{_mandir}/ja/man1/* michael@0: michael@0: michael@0: %files devel michael@0: %defattr(-,root,root,-) michael@0: %doc doc/doxygen/html examples michael@0: %{_includedir}/cdio michael@0: %{_includedir}/cdio++ michael@0: %{_libdir}/*.so michael@0: %{_libdir}/pkgconfig/*.pc michael@0: michael@0: michael@0: %changelog michael@0: * Mon Nov 1 2010 Kozinov Ivan - 0.82-3 michael@0: - Build for MeeGo 1.1 michael@0: michael@0: * Thu Jan 28 2010 Adrian Reber - 0.82-2 michael@0: - disabled building of static libraries (#556064) michael@0: - removed "Requires: pkgconfig" (rpm adds it automatically) michael@0: michael@0: * Wed Jan 20 2010 Roman Rakus rrakus@redhat.com 0.82-1 michael@0: - Update to 0.82 michael@0: - removed rpath michael@0: - converted THANKS to utf8 michael@0: michael@0: * Fri Jul 24 2009 Fedora Release Engineering - 0.81-3 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild michael@0: michael@0: * Wed Feb 25 2009 Fedora Release Engineering - 0.81-2 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild michael@0: michael@0: * Tue Oct 07 2008 Adrian Reber - 0.81-1 michael@0: - updated to 0.81 michael@0: - license changed to GPLv3+ michael@0: - fixed #477288 (libcdio-devel multilib conflict) michael@0: - applied patch to fix endless loop in mock michael@0: michael@0: * Tue Oct 07 2008 Adrian Reber - 0.80-5 michael@0: - fixed #462125 (Multilib conflict) - really, really, really michael@0: (also remove architecture information from man pages) michael@0: michael@0: * Thu Oct 02 2008 Adrian Reber - 0.80-4 michael@0: - fixed #462125 (Multilib conflict) - this time for real michael@0: michael@0: * Fri Sep 12 2008 Adrian Reber - 0.80-3 michael@0: - fixed #462125 (Multilib conflict) michael@0: michael@0: * Wed Jun 4 2008 Tomas Bzatek - 0.80-2 michael@0: - added patch enabling libcdio_paranoia.pc michael@0: michael@0: * Thu May 29 2008 Adrian Reber - 0.80-1 michael@0: - updated to 0.80 michael@0: - removed upstreamed patches michael@0: - last GPLv2+ release michael@0: michael@0: * Thu Feb 14 2008 Adrian Reber - 0.79-3 michael@0: - added patch to compile with gcc43 michael@0: michael@0: * Fri Jan 04 2008 Adrian Reber - 0.79-2 michael@0: - fixed security fix (was off by two) michael@0: michael@0: * Wed Jan 02 2008 Adrian Reber - 0.79-1 michael@0: - updated to 0.79 michael@0: - fixes #427197 (Long Joliet file name overflows cdio's buffer) michael@0: - fixes #341981 (multiarch conflicts in libcdio) michael@0: michael@0: * Fri Aug 24 2007 Adrian Reber - 0.78.2-3 michael@0: - rebuilt michael@0: michael@0: * Mon Jul 23 2007 Adrian Reber - 0.78.2-2 michael@0: - updated to 0.78.2 (#221359) (this time for real) michael@0: michael@0: * Thu Jan 04 2007 Adrian Reber - 0.78.2-1 michael@0: - updated to 0.78.2 (#221359) michael@0: michael@0: * Thu Oct 05 2006 Adrian Reber - 0.77-3 michael@0: - disabled iso9660 test case (fails for some reason with date problems) michael@0: this seems to be a known problem according to the ChangeLog michael@0: michael@0: * Thu Oct 05 2006 Christian Iseli 0.77-2 michael@0: - rebuilt for unwind info generation, broken in gcc-4.1.1-21 michael@0: michael@0: * Fri Sep 22 2006 Adrian Reber - 0.77-1 michael@0: - Updated to 0.77 michael@0: michael@0: * Mon Sep 18 2006 Adrian Reber - 0.76-3 michael@0: - Rebuilt michael@0: michael@0: * Mon Sep 26 2005 Adrian Reber - 0.76-2 michael@0: - Rebuilt michael@0: michael@0: * Mon Sep 26 2005 Adrian Reber - 0.76-1 michael@0: - Updated to 0.76. michael@0: - Included doxygen generated documentation into -devel michael@0: - Included examples into -devel michael@0: michael@0: * Mon Aug 01 2005 Adrian Reber - 0.75-4 michael@0: - disable test accessing local CDROM drive (#164266) michael@0: michael@0: * Wed Jul 27 2005 Adrian Reber - 0.75-3 michael@0: - Rebuilt without libcddb dependency (#164270) michael@0: michael@0: * Tue Jul 26 2005 Adrian Reber - 0.75-2 michael@0: - Rebuilt michael@0: michael@0: * Thu Jul 14 2005 Adrian Reber - 0.75-1 michael@0: - Updated to 0.75. michael@0: michael@0: * Fri Jun 03 2005 Adrian Reber - 0.74-2 michael@0: - Updated to 0.74. michael@0: michael@0: * Sun Apr 24 2005 Ville Skyttä - 0.73-2 michael@0: - BuildRequire ncurses-devel (for cdda-player and cd-paranoia). michael@0: - Run test suite during build. michael@0: - Install Japanese man pages. michael@0: michael@0: * Sun Apr 24 2005 Adrian Reber - 0.73-1 michael@0: - Updated to 0.73. michael@0: michael@0: * Fri Mar 18 2005 Ville Skyttä - 0.70-2 michael@0: - Fix FC4 build (#151468). michael@0: - Build with dependency tracking disabled. michael@0: michael@0: * Sun Sep 5 2004 Marius L. Jøhndal - 0:0.70-0.fdr.1 michael@0: - Updated to 0.70. michael@0: michael@0: * Sat Jul 17 2004 Marius L. Jøhndal - 0:0.69-0.fdr.1 michael@0: - Updated to 0.69. michael@0: - Removed broken iso-read. michael@0: - Split Requires(pre,post). michael@0: - Added BuildReq pkgconfig. michael@0: michael@0: * Mon Mar 29 2004 Marius L. Jøhndal - 0:0.68-0.fdr.1 michael@0: - Initial RPM release. michael@0: