|
1 Name: libcdio |
|
2 Version: 0.82 |
|
3 Release: 3%{?dist} |
|
4 Summary: CD-ROM input and control library |
|
5 Group: System Environment/Libraries |
|
6 License: GPLv3+ |
|
7 URL: http://www.gnu.org/software/libcdio/ |
|
8 Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz |
|
9 Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.82.tar.gz.sig |
|
10 Source2: libcdio-no_date_footer.hml |
|
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
12 BuildRequires: pkgconfig doxygen |
|
13 BuildRequires: ncurses-devel |
|
14 BuildRequires: help2man |
|
15 Requires(post): /sbin/ldconfig |
|
16 Requires(post): /sbin/install-info |
|
17 Requires(preun): /sbin/install-info |
|
18 BuildRequires: gettext-devel |
|
19 BuildRequires: chrpath |
|
20 |
|
21 |
|
22 %description |
|
23 This library provides an interface for CD-ROM access. It can be used |
|
24 by applications that need OS- and device-independent access to CD-ROM |
|
25 devices. |
|
26 |
|
27 %package devel |
|
28 Summary: Header files and libraries for %{name} |
|
29 Group: Development/Libraries |
|
30 Requires: %{name} = %{version}-%{release} |
|
31 |
|
32 %description devel |
|
33 This package contains header files and libraries for %{name}. |
|
34 |
|
35 |
|
36 %prep |
|
37 %setup -q |
|
38 |
|
39 f=src/cd-paranoia/doc/ja/cd-paranoia.1.in |
|
40 iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f |
|
41 iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS |
|
42 |
|
43 %build |
|
44 %configure \ |
|
45 --disable-vcd-info \ |
|
46 --disable-dependency-tracking \ |
|
47 --disable-cddb \ |
|
48 --disable-static \ |
|
49 --disable-rpath |
|
50 make %{?_smp_mflags} |
|
51 |
|
52 # another multilib fix; remove the architecture information from version.h |
|
53 sed -i -e "s,%{version}.*$,%{version}\\\",g" include/cdio/version.h |
|
54 |
|
55 cd doc/doxygen |
|
56 sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile |
|
57 cp %{SOURCE2} . |
|
58 ./run_doxygen |
|
59 |
|
60 %install |
|
61 rm -rf $RPM_BUILD_ROOT |
|
62 make install DESTDIR=$RPM_BUILD_ROOT |
|
63 |
|
64 rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
|
65 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
66 |
|
67 mv $RPM_BUILD_ROOT%{_mandir}/{jp,ja} |
|
68 |
|
69 rm -rf examples |
|
70 mkdir -p examples/C++ |
|
71 cp -a example/{*.c,README} examples |
|
72 cp -a example/C++/{*.cpp,README} examples/C++ |
|
73 |
|
74 # fix timestamps of generated man-pages |
|
75 for i in cd-info iso-read iso-info cd-read cd-drive; do |
|
76 # remove build architecture information from man pages |
|
77 sed -i -e 's, version.*linux-gnu,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 |
|
78 # remove libtool leftover from man pages |
|
79 sed -i -e 's,lt-,,g;s,LT-,,g' $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 |
|
80 # fix timestamps to be the same in all packages |
|
81 touch -r src/$i.help2man $RPM_BUILD_ROOT%{_mandir}/man1/$i.1 |
|
82 done |
|
83 |
|
84 # remove rpath |
|
85 chrpath --delete $RPM_BUILD_ROOT%{_bindir}/* |
|
86 chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.* |
|
87 |
|
88 %check |
|
89 # disable test using local CDROM |
|
90 %{__sed} -i -e "s,testiso9660\$(EXEEXT),,g" \ |
|
91 -e "s,testisocd\$(EXEEXT),,g" \ |
|
92 -e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \ |
|
93 test/Makefile |
|
94 make check |
|
95 |
|
96 |
|
97 %clean |
|
98 rm -rf $RPM_BUILD_ROOT |
|
99 |
|
100 |
|
101 %post |
|
102 /sbin/ldconfig |
|
103 /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : |
|
104 |
|
105 %preun |
|
106 if [ $1 = 0 ]; then |
|
107 /sbin/install-info --delete %{_infodir}/%{name}.info \ |
|
108 %{_infodir}/dir 2>/dev/null || : |
|
109 fi |
|
110 |
|
111 %postun -p /sbin/ldconfig |
|
112 |
|
113 |
|
114 %files |
|
115 %defattr(-,root,root,-) |
|
116 %doc AUTHORS COPYING NEWS README README.libcdio THANKS TODO |
|
117 %{_bindir}/* |
|
118 %{_libdir}/*.so.* |
|
119 %{_infodir}/* |
|
120 %{_mandir}/man1/* |
|
121 %lang(ja) %{_mandir}/ja/man1/* |
|
122 |
|
123 |
|
124 %files devel |
|
125 %defattr(-,root,root,-) |
|
126 %doc doc/doxygen/html examples |
|
127 %{_includedir}/cdio |
|
128 %{_includedir}/cdio++ |
|
129 %{_libdir}/*.so |
|
130 %{_libdir}/pkgconfig/*.pc |
|
131 |
|
132 |
|
133 %changelog |
|
134 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 0.82-3 |
|
135 - Build for MeeGo 1.1 |
|
136 |
|
137 * Thu Jan 28 2010 Adrian Reber <adrian@lisas.de> - 0.82-2 |
|
138 - disabled building of static libraries (#556064) |
|
139 - removed "Requires: pkgconfig" (rpm adds it automatically) |
|
140 |
|
141 * Wed Jan 20 2010 Roman Rakus rrakus@redhat.com 0.82-1 |
|
142 - Update to 0.82 |
|
143 - removed rpath |
|
144 - converted THANKS to utf8 |
|
145 |
|
146 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81-3 |
|
147 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|
148 |
|
149 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.81-2 |
|
150 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|
151 |
|
152 * Tue Oct 07 2008 Adrian Reber <adrian@lisas.de> - 0.81-1 |
|
153 - updated to 0.81 |
|
154 - license changed to GPLv3+ |
|
155 - fixed #477288 (libcdio-devel multilib conflict) |
|
156 - applied patch to fix endless loop in mock |
|
157 |
|
158 * Tue Oct 07 2008 Adrian Reber <adrian@lisas.de> - 0.80-5 |
|
159 - fixed #462125 (Multilib conflict) - really, really, really |
|
160 (also remove architecture information from man pages) |
|
161 |
|
162 * Thu Oct 02 2008 Adrian Reber <adrian@lisas.de> - 0.80-4 |
|
163 - fixed #462125 (Multilib conflict) - this time for real |
|
164 |
|
165 * Fri Sep 12 2008 Adrian Reber <adrian@lisas.de> - 0.80-3 |
|
166 - fixed #462125 (Multilib conflict) |
|
167 |
|
168 * Wed Jun 4 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.80-2 |
|
169 - added patch enabling libcdio_paranoia.pc |
|
170 |
|
171 * Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1 |
|
172 - updated to 0.80 |
|
173 - removed upstreamed patches |
|
174 - last GPLv2+ release |
|
175 |
|
176 * Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 0.79-3 |
|
177 - added patch to compile with gcc43 |
|
178 |
|
179 * Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2 |
|
180 - fixed security fix (was off by two) |
|
181 |
|
182 * Wed Jan 02 2008 Adrian Reber <adrian@lisas.de> - 0.79-1 |
|
183 - updated to 0.79 |
|
184 - fixes #427197 (Long Joliet file name overflows cdio's buffer) |
|
185 - fixes #341981 (multiarch conflicts in libcdio) |
|
186 |
|
187 * Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-3 |
|
188 - rebuilt |
|
189 |
|
190 * Mon Jul 23 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-2 |
|
191 - updated to 0.78.2 (#221359) (this time for real) |
|
192 |
|
193 * Thu Jan 04 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-1 |
|
194 - updated to 0.78.2 (#221359) |
|
195 |
|
196 * Thu Oct 05 2006 Adrian Reber <adrian@lisas.de> - 0.77-3 |
|
197 - disabled iso9660 test case (fails for some reason with date problems) |
|
198 this seems to be a known problem according to the ChangeLog |
|
199 |
|
200 * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.77-2 |
|
201 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
|
202 |
|
203 * Fri Sep 22 2006 Adrian Reber <adrian@lisas.de> - 0.77-1 |
|
204 - Updated to 0.77 |
|
205 |
|
206 * Mon Sep 18 2006 Adrian Reber <adrian@lisas.de> - 0.76-3 |
|
207 - Rebuilt |
|
208 |
|
209 * Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-2 |
|
210 - Rebuilt |
|
211 |
|
212 * Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-1 |
|
213 - Updated to 0.76. |
|
214 - Included doxygen generated documentation into -devel |
|
215 - Included examples into -devel |
|
216 |
|
217 * Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 0.75-4 |
|
218 - disable test accessing local CDROM drive (#164266) |
|
219 |
|
220 * Wed Jul 27 2005 Adrian Reber <adrian@lisas.de> - 0.75-3 |
|
221 - Rebuilt without libcddb dependency (#164270) |
|
222 |
|
223 * Tue Jul 26 2005 Adrian Reber <adrian@lisas.de> - 0.75-2 |
|
224 - Rebuilt |
|
225 |
|
226 * Thu Jul 14 2005 Adrian Reber <adrian@lisas.de> - 0.75-1 |
|
227 - Updated to 0.75. |
|
228 |
|
229 * Fri Jun 03 2005 Adrian Reber <adrian@lisas.de> - 0.74-2 |
|
230 - Updated to 0.74. |
|
231 |
|
232 * Sun Apr 24 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.73-2 |
|
233 - BuildRequire ncurses-devel (for cdda-player and cd-paranoia). |
|
234 - Run test suite during build. |
|
235 - Install Japanese man pages. |
|
236 |
|
237 * Sun Apr 24 2005 Adrian Reber <adrian@lisas.de> - 0.73-1 |
|
238 - Updated to 0.73. |
|
239 |
|
240 * Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.70-2 |
|
241 - Fix FC4 build (#151468). |
|
242 - Build with dependency tracking disabled. |
|
243 |
|
244 * Sun Sep 5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.70-0.fdr.1 |
|
245 - Updated to 0.70. |
|
246 |
|
247 * Sat Jul 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.69-0.fdr.1 |
|
248 - Updated to 0.69. |
|
249 - Removed broken iso-read. |
|
250 - Split Requires(pre,post). |
|
251 - Added BuildReq pkgconfig. |
|
252 |
|
253 * Mon Mar 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.68-0.fdr.1 |
|
254 - Initial RPM release. |
|
255 |