1 | Summary: CD-ROM input and control library |
---|
2 | Summary(ja): CD-ROM 入力・制御ライブラリ |
---|
3 | Name: libcdio |
---|
4 | Version: 2.1.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: system |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: GPLv3+ |
---|
11 | URL: http://www.gnu.org/software/libcdio/ |
---|
12 | Source0: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.bz2 |
---|
13 | Source2: libcdio-no_date_footer.hml |
---|
14 | Patch1: libcdio-0.80-paranoia-fix.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: pkgconfig doxygen |
---|
18 | BuildRequires: ncurses-devel |
---|
19 | BuildRequires: help2man |
---|
20 | BuildRequires: gcc-c++ |
---|
21 | Requires(post): /sbin/install-info |
---|
22 | Requires(preun): /sbin/install-info |
---|
23 | |
---|
24 | %description |
---|
25 | This library provides an interface for CD-ROM access. It can be used |
---|
26 | by applications that need OS- and device-independent access to CD-ROM |
---|
27 | devices. |
---|
28 | |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development files for %{name} |
---|
32 | Summary(ja): %{name} の開発用ファイル |
---|
33 | Group: programming |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | This package contains development files for %{name}. |
---|
38 | |
---|
39 | |
---|
40 | %debug_package |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | f=src/cd-paranoia/doc/ja/cd-paranoia.1.in |
---|
47 | iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f |
---|
48 | |
---|
49 | |
---|
50 | %build |
---|
51 | %configure \ |
---|
52 | --disable-vcd-info \ |
---|
53 | --disable-dependency-tracking \ |
---|
54 | --disable-rpath \ |
---|
55 | --disable-cddb \ |
---|
56 | --disable-static |
---|
57 | |
---|
58 | make %{?_smp_mflags} |
---|
59 | cd doc/doxygen |
---|
60 | sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g" Doxyfile |
---|
61 | cp %{SOURCE2} . |
---|
62 | ./run_doxygen |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
68 | |
---|
69 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
70 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
71 | |
---|
72 | rm -rf examples |
---|
73 | mkdir -p examples/C++ |
---|
74 | cp -a example/{*.c,README} examples |
---|
75 | cp -a example/C++/{*.cpp,README} examples/C++ |
---|
76 | |
---|
77 | |
---|
78 | %check |
---|
79 | # disable test using local CDROM |
---|
80 | %{__sed} -i -e "s,testiso9660\$(EXEEXT),,g" \ |
---|
81 | -e "s,check_paranoia.sh check_opts.sh, check_opts.sh,g" \ |
---|
82 | test/Makefile |
---|
83 | make check |
---|
84 | |
---|
85 | |
---|
86 | %clean |
---|
87 | rm -rf $RPM_BUILD_ROOT |
---|
88 | |
---|
89 | |
---|
90 | %post |
---|
91 | /sbin/ldconfig |
---|
92 | /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || : |
---|
93 | |
---|
94 | %preun |
---|
95 | if [ $1 = 0 ]; then |
---|
96 | /sbin/install-info --delete %{_infodir}/%{name}.info \ |
---|
97 | %{_infodir}/dir 2>/dev/null || : |
---|
98 | fi |
---|
99 | |
---|
100 | %postun -p /sbin/ldconfig |
---|
101 | |
---|
102 | %files |
---|
103 | %defattr(-,root,root,-) |
---|
104 | %license COPYING |
---|
105 | %doc AUTHORS NEWS README README.libcdio THANKS TODO |
---|
106 | %{_bindir}/* |
---|
107 | %{_libdir}/*.so.* |
---|
108 | %{_infodir}/* |
---|
109 | %{_mandir}/man1/* |
---|
110 | |
---|
111 | |
---|
112 | %files devel |
---|
113 | %defattr(-,root,root,-) |
---|
114 | %doc doc/doxygen/html examples |
---|
115 | %{_includedir}/cdio |
---|
116 | %{_includedir}/cdio++ |
---|
117 | %{_libdir}/*.so |
---|
118 | %{_libdir}/pkgconfig/*.pc |
---|
119 | |
---|
120 | |
---|
121 | %changelog |
---|
122 | * Mon Sep 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1 |
---|
123 | - new upstream release. |
---|
124 | - disabled cddb. |
---|
125 | |
---|
126 | * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.93-1 |
---|
127 | - updated to 0.93. |
---|
128 | |
---|
129 | * Sun Jul 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.92-1 |
---|
130 | - update to 0.92 |
---|
131 | |
---|
132 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.82-2 |
---|
133 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
134 | - added --enable-cddb |
---|
135 | |
---|
136 | * Fri May 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwa.com> 0.82-1 |
---|
137 | - new upstream release |
---|
138 | - dropt Patch1 |
---|
139 | - removed static libraries from devel package |
---|
140 | |
---|
141 | * Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.80-1 |
---|
142 | - initial build for Vine Linux |
---|
143 | |
---|
144 | * Wed Jun 4 2008 Tomas Bzatek <tbzatek@redhat.com> - 0.80-2 |
---|
145 | - added patch enabling libcdio_paranoia.pc |
---|
146 | |
---|
147 | * Thu May 29 2008 Adrian Reber <adrian@lisas.de> - 0.80-1 |
---|
148 | - updated to 0.80 |
---|
149 | - removed upstreamed patches |
---|
150 | - last GPLv2+ release |
---|
151 | |
---|
152 | * Thu Feb 14 2008 Adrian Reber <adrian@lisas.de> - 0.79-3 |
---|
153 | - added patch to compile with gcc43 |
---|
154 | |
---|
155 | * Fri Jan 04 2008 Adrian Reber <adrian@lisas.de> - 0.79-2 |
---|
156 | - fixed security fix (was off by two) |
---|
157 | |
---|
158 | * Wed Jan 02 2008 Adrian Reber <adrian@lisas.de> - 0.79-1 |
---|
159 | - updated to 0.79 |
---|
160 | - fixes #427197 (Long Joliet file name overflows cdio's buffer) |
---|
161 | - fixes #341981 (multiarch conflicts in libcdio) |
---|
162 | |
---|
163 | * Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-3 |
---|
164 | - rebuilt |
---|
165 | |
---|
166 | * Mon Jul 23 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-2 |
---|
167 | - updated to 0.78.2 (#221359) (this time for real) |
---|
168 | |
---|
169 | * Thu Jan 04 2007 Adrian Reber <adrian@lisas.de> - 0.78.2-1 |
---|
170 | - updated to 0.78.2 (#221359) |
---|
171 | |
---|
172 | * Thu Oct 05 2006 Adrian Reber <adrian@lisas.de> - 0.77-3 |
---|
173 | - disabled iso9660 test case (fails for some reason with date problems) |
---|
174 | this seems to be a known problem according to the ChangeLog |
---|
175 | |
---|
176 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.77-2 |
---|
177 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
178 | |
---|
179 | * Fri Sep 22 2006 Adrian Reber <adrian@lisas.de> - 0.77-1 |
---|
180 | - Updated to 0.77 |
---|
181 | |
---|
182 | * Mon Sep 18 2006 Adrian Reber <adrian@lisas.de> - 0.76-3 |
---|
183 | - Rebuilt |
---|
184 | |
---|
185 | * Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-2 |
---|
186 | - Rebuilt |
---|
187 | |
---|
188 | * Mon Sep 26 2005 Adrian Reber <adrian@lisas.de> - 0.76-1 |
---|
189 | - Updated to 0.76. |
---|
190 | - Included doxygen generated documentation into -devel |
---|
191 | - Included examples into -devel |
---|
192 | |
---|
193 | * Mon Aug 01 2005 Adrian Reber <adrian@lisas.de> - 0.75-4 |
---|
194 | - disable test accessing local CDROM drive (#164266) |
---|
195 | |
---|
196 | * Wed Jul 27 2005 Adrian Reber <adrian@lisas.de> - 0.75-3 |
---|
197 | - Rebuilt without libcddb dependency (#164270) |
---|
198 | |
---|
199 | * Tue Jul 26 2005 Adrian Reber <adrian@lisas.de> - 0.75-2 |
---|
200 | - Rebuilt |
---|
201 | |
---|
202 | * Thu Jul 14 2005 Adrian Reber <adrian@lisas.de> - 0.75-1 |
---|
203 | - Updated to 0.75. |
---|
204 | |
---|
205 | * Fri Jun 03 2005 Adrian Reber <adrian@lisas.de> - 0.74-2 |
---|
206 | - Updated to 0.74. |
---|
207 | |
---|
208 | * Sun Apr 24 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.73-2 |
---|
209 | - BuildRequire ncurses-devel (for cdda-player and cd-paranoia). |
---|
210 | - Run test suite during build. |
---|
211 | - Install Japanese man pages. |
---|
212 | |
---|
213 | * Sun Apr 24 2005 Adrian Reber <adrian@lisas.de> - 0.73-1 |
---|
214 | - Updated to 0.73. |
---|
215 | |
---|
216 | * Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.70-2 |
---|
217 | - Fix FC4 build (#151468). |
---|
218 | - Build with dependency tracking disabled. |
---|
219 | |
---|
220 | * Sun Sep 5 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.70-0.fdr.1 |
---|
221 | - Updated to 0.70. |
---|
222 | |
---|
223 | * Sat Jul 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.69-0.fdr.1 |
---|
224 | - Updated to 0.69. |
---|
225 | - Removed broken iso-read. |
---|
226 | - Split Requires(pre,post). |
---|
227 | - Added BuildReq pkgconfig. |
---|
228 | |
---|
229 | * Mon Mar 29 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:0.68-0.fdr.1 |
---|
230 | - Initial RPM release. |
---|
231 | |
---|