1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libcdio/libcdio.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,255 @@ 1.4 +Name: libcdio 1.5 +Version: 0.82 1.6 +Release: 3%{?dist} 1.7 +Summary: CD-ROM input and control library 1.8 +Group: System Environment/Libraries 1.9 +License: GPLv3+ 1.10 +URL: http://www.gnu.org/software/libcdio/ 1.11 +Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz 1.12 +Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz.sig 1.13 +Source2: libcdio-no_date_footer.hml 1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.15 +BuildRequires: pkgconfig doxygen 1.16 +BuildRequires: ncurses-devel 1.17 +BuildRequires: help2man 1.18 +Requires(post): /sbin/ldconfig 1.19 +Requires(post): /sbin/install-info 1.20 +Requires(preun): /sbin/install-info 1.21 +BuildRequires: gettext-devel 1.22 +BuildRequires: chrpath 1.23 + 1.24 + 1.25 +%description 1.26 +This library provides an interface for CD-ROM access. It can be used 1.27 +by applications that need OS- and device-independent access to CD-ROM 1.28 +devices. 1.29 + 1.30 +%package devel 1.31 +Summary: Header files and libraries for %{name} 1.32 +Group: Development/Libraries 1.33 +Requires: %{name} = %{version}-%{release} 1.34 + 1.35 +%description devel 1.36 +This package contains header files and libraries for %{name}. 1.37 + 1.38 + 1.39 +%prep 1.40 +%setup -q 1.41 + 1.42 +f=src/cd-paranoia/doc/ja/cd-paranoia.1.in 1.43 +iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f 1.44 +iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS 1.45 + 1.46 +%build 1.47 +%configure \ 1.48 + --disable-vcd-info \ 1.49 + --disable-dependency-tracking \ 1.50 + --disable-cddb \ 1.51 + --disable-static \ 1.52 + --disable-rpath 1.53 +make %{?_smp_mflags} 1.54 + 1.55 +# another multilib fix; remove the architecture information from version.h 1.56 +sed -i -e "s,%{version}.*$,%{version}\\\",g" include/cdio/version.h 1.57 + 1.58 +cd doc/doxygen 1.59 +sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile 1.60 +cp %{SOURCE2} . 1.61 +./run_doxygen 1.62 + 1.63 +%install 1.64 +rm -rf $RPM_BUILD_ROOT 1.65 +make install DESTDIR=$RPM_BUILD_ROOT 1.66 + 1.67 +rm -f $RPM_BUILD_ROOT%{_infodir}/dir 1.68 +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' 1.69 + 1.70 +mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja} 1.71 + 1.72 +rm -rf examples 1.73 +mkdir -p examples/C++ 1.74 +cp -a example/{*.c,README} examples 1.75 +cp -a example/C++/{*.cpp,README} examples/C++ 1.76 + 1.77 +# fix timestamps of generated man-pages 1.78 +for i in cd-info iso-read iso-info cd-read cd-drive; do 1.79 + # remove build architecture information from man pages 1.80 + sed -i -e 's, version.*linux-gnu,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 1.81 + # remove libtool leftover from man pages 1.82 + sed -i -e 's,lt-,,g;s,LT-,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 1.83 + # fix timestamps to be the same in all packages 1.84 + touch -r src/$i.help2man $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 1.85 +done 1.86 + 1.87 +# remove rpath 1.88 +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/* 1.89 +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.* 1.90 + 1.91 +%check 1.92 +# disable test using local CDROM 1.93 +%{__sed} -i -e "s,testiso9660\$(EXEEXT),,g" \ 1.94 + -e "s,testisocd\$(EXEEXT),,g" \ 1.95 + -e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \ 1.96 + test/Makefile 1.97 +make check 1.98 + 1.99 + 1.100 +%clean 1.101 +rm -rf $RPM_BUILD_ROOT 1.102 + 1.103 + 1.104 +%post 1.105 +/sbin/ldconfig 1.106 +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : 1.107 + 1.108 +%preun 1.109 +if [ $1 = 0 ]; then 1.110 + /sbin/install-info --delete %{_infodir}/%{name}.info \ 1.111 + %{_infodir}/dir 2>/dev/null || : 1.112 +fi 1.113 + 1.114 +%postun -p /sbin/ldconfig 1.115 + 1.116 + 1.117 +%files 1.118 +%defattr(-,root,root,-) 1.119 +%doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO 1.120 +%{_bindir}/* 1.121 +%{_libdir}/*.so.* 1.122 +%{_infodir}/* 1.123 +%{_mandir}/man1/* 1.124 +%lang(ja) %{_mandir}/ja/man1/* 1.125 + 1.126 + 1.127 +%files devel 1.128 +%defattr(-,root,root,-) 1.129 +%doc doc/doxygen/html examples 1.130 +%{_includedir}/cdio 1.131 +%{_includedir}/cdio++ 1.132 +%{_libdir}/*.so 1.133 +%{_libdir}/pkgconfig/*.pc 1.134 + 1.135 + 1.136 +%changelog 1.137 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.82-3 1.138 +- Build for MeeGo 1.1 1.139 + 1.140 +* Thu Jan 28 2010 Adrian Reber <adrian@lisas.de> - 0.82-2 1.141 +- disabled building of static libraries (#556064) 1.142 +- removed "Requires: pkgconfig" (rpm adds it automatically) 1.143 + 1.144 +* Wed Jan 20 2010 Roman Rakus rrakus@redhat.com 0.82-1 1.145 +- Update to 0.82 1.146 +- removed rpath 1.147 +- converted THANKS to utf8 1.148 + 1.149 +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81-3 1.150 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.151 + 1.152 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81-2 1.153 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.154 + 1.155 +* Tue Oct 07 2008 Adrian Reber <adrian@lisas.de> - 0.81-1 1.156 +- updated to 0.81 1.157 +- license changed to GPLv3+ 1.158 +- fixed #477288 (libcdio-devel multilib conflict) 1.159 +- applied patch to fix endless loop in mock 1.160 + 1.161 +* Tue Oct 07 2008 Adrian Reber <adrian@lisas.de> - 0.80-5 1.162 +- fixed #462125 (Multilib conflict) - really, really, really 1.163 + (also remove architecture information from man pages) 1.164 + 1.165 +* Thu Oct 02 2008 Adrian Reber <adrian@lisas.de> - 0.80-4 1.166 +- fixed #462125 (Multilib conflict) - this time for real 1.167 + 1.168 +* Fri Sep 12 2008 Adrian Reber <adrian@lisas.de> - 0.80-3 1.169 +- fixed #462125 (Multilib conflict) 1.170 + 1.171 +* Wed Jun 4 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.80-2 1.172 +- added patch enabling libcdio_paranoia.pc 1.173 + 1.174 +* Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1 1.175 +- updated to 0.80 1.176 +- removed upstreamed patches 1.177 +- last GPLv2+ release 1.178 + 1.179 +* Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 0.79-3 1.180 +- added patch to compile with gcc43 1.181 + 1.182 +* Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2 1.183 +- fixed security fix (was off by two) 1.184 + 1.185 +* Wed Jan 02 2008 Adrian Reber <adrian@lisas.de> - 0.79-1 1.186 +- updated to 0.79 1.187 +- fixes #427197 (Long Joliet file name overflows cdio's buffer) 1.188 +- fixes #341981 (multiarch conflicts in libcdio) 1.189 + 1.190 +* Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-3 1.191 +- rebuilt 1.192 + 1.193 +* Mon Jul 23 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-2 1.194 +- updated to 0.78.2 (#221359) (this time for real) 1.195 + 1.196 +* Thu Jan 04 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-1 1.197 +- updated to 0.78.2 (#221359) 1.198 + 1.199 +* Thu Oct 05 2006 Adrian Reber <adrian@lisas.de> - 0.77-3 1.200 +- disabled iso9660 test case (fails for some reason with date problems) 1.201 + this seems to be a known problem according to the ChangeLog 1.202 + 1.203 +* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.77-2 1.204 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 1.205 + 1.206 +* Fri Sep 22 2006 Adrian Reber <adrian@lisas.de> - 0.77-1 1.207 +- Updated to 0.77 1.208 + 1.209 +* Mon Sep 18 2006 Adrian Reber <adrian@lisas.de> - 0.76-3 1.210 +- Rebuilt 1.211 + 1.212 +* Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-2 1.213 +- Rebuilt 1.214 + 1.215 +* Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-1 1.216 +- Updated to 0.76. 1.217 +- Included doxygen generated documentation into -devel 1.218 +- Included examples into -devel 1.219 + 1.220 +* Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 0.75-4 1.221 +- disable test accessing local CDROM drive (#164266) 1.222 + 1.223 +* Wed Jul 27 2005 Adrian Reber <adrian@lisas.de> - 0.75-3 1.224 +- Rebuilt without libcddb dependency (#164270) 1.225 + 1.226 +* Tue Jul 26 2005 Adrian Reber <adrian@lisas.de> - 0.75-2 1.227 +- Rebuilt 1.228 + 1.229 +* Thu Jul 14 2005 Adrian Reber <adrian@lisas.de> - 0.75-1 1.230 +- Updated to 0.75. 1.231 + 1.232 +* Fri Jun 03 2005 Adrian Reber <adrian@lisas.de> - 0.74-2 1.233 +- Updated to 0.74. 1.234 + 1.235 +* Sun Apr 24 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.73-2 1.236 +- BuildRequire ncurses-devel (for cdda-player and cd-paranoia). 1.237 +- Run test suite during build. 1.238 +- Install Japanese man pages. 1.239 + 1.240 +* Sun Apr 24 2005 Adrian Reber <adrian@lisas.de> - 0.73-1 1.241 +- Updated to 0.73. 1.242 + 1.243 +* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.70-2 1.244 +- Fix FC4 build (#151468). 1.245 +- Build with dependency tracking disabled. 1.246 + 1.247 +* Sun Sep 5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.70-0.fdr.1 1.248 +- Updated to 0.70. 1.249 + 1.250 +* Sat Jul 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.69-0.fdr.1 1.251 +- Updated to 0.69. 1.252 +- Removed broken iso-read. 1.253 +- Split Requires(pre,post). 1.254 +- Added BuildReq pkgconfig. 1.255 + 1.256 +* Mon Mar 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.68-0.fdr.1 1.257 +- Initial RPM release. 1.258 +