michael@1: Name: libcdio michael@1: Version: 0.82 michael@1: Release: 20101201 michael@1: Summary: CD-ROM input and control library michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Group: System Environment/Libraries michael@1: License: GPLv3+ michael@1: URL: http://www.gnu.org/software/libcdio/ michael@1: Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@1: BuildRequires: pkgconfig doxygen michael@1: BuildRequires: ncurses-devel michael@1: BuildRequires: help2man michael@1: Requires(post): /sbin/ldconfig michael@1: Requires(post): info michael@1: Requires(preun): info michael@1: BuildRequires: gettext-devel, chrpath michael@0: michael@0: %description michael@1: The libcdio library provides an interface for CD-ROM access. It can be michael@1: used by applications that need OS and device independent access to CD-ROM michael@0: devices. michael@0: michael@0: %package devel michael@1: Summary: Header files and libraries for %{name} michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@1: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: michael@0: %description devel michael@1: The libcdio library provides an interface for CD-ROM access. It can be michael@1: used by applications that need OS and device independent access to CD-ROM michael@1: devices. This package contains header files and libraries for %{name}. michael@0: michael@0: %prep michael@0: %setup -q michael@0: michael@0: %build michael@0: %configure \ michael@1: --disable-vcd-info \ michael@1: --disable-dependency-tracking \ michael@1: --disable-cddb \ michael@1: --disable-static \ michael@1: --disable-rpath michael@1: %{__make} %{?_smp_mflags} michael@0: michael@1: # remove 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: ./run_doxygen michael@0: michael@0: %install michael@0: rm -rf $RPM_BUILD_ROOT michael@1: %{__make} install DESTDIR=$RPM_BUILD_ROOT michael@0: michael@1: mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja} 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@1: # install documentation michael@1: mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/html michael@1: %{__install} -m 644 doc/doxygen/html/* $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/html/ michael@0: michael@1: # install examples michael@1: rm -rf examples && mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/examples/C++/OO michael@1: %{__install} -m 644 example/{*.c,README} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/examples/ michael@1: %{__install} -m 644 example/C++/{*.cpp,README} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/examples/C++/ michael@1: %{__install} -m 644 example/C++/OO/*.cpp $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/examples/C++/OO/ 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@1: # remove build architecture information from man pages michael@1: sed -i -e 's, version.*linux-gnu,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 michael@1: # remove libtool leftover from man pages michael@1: sed -i -e 's,lt-,,g;s,LT-,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 michael@1: # fix timestamps to be the same in all packages michael@1: 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@1: -e "s,testisocd\$(EXEEXT),,g" \ michael@1: -e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \ michael@1: test/Makefile michael@1: %{__make} check michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT 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@1: /sbin/install-info --delete %{_infodir}/%{name}.info \ michael@1: %{_infodir}/dir 2>/dev/null || : michael@0: fi michael@0: michael@0: %postun -p /sbin/ldconfig 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: %files devel michael@0: %defattr(-,root,root,-) michael@0: %{_includedir}/cdio michael@0: %{_includedir}/cdio++ michael@0: %{_libdir}/*.so michael@0: %{_libdir}/pkgconfig/*.pc michael@1: %{_datadir}/doc/%{name}/html michael@1: %{_datadir}/doc/%{name}/examples michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 0.82-20101201 michael@1: - Adjust packaging and patch logic michael@1: 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: