1 | # To make nosrc.rpm |
---|
2 | # rpm -bs --define 'nosrc 1' |
---|
3 | |
---|
4 | Summary: An X Window System based tool for creating CDs. |
---|
5 | Summary(ja): X上で動作するCD-Rライターです。 |
---|
6 | Name: xcdroast |
---|
7 | Version: 0.98alpha15 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | License: GPL |
---|
10 | Group: Applications/Multimedia |
---|
11 | URL: http://www.xcdroast.org/ |
---|
12 | Source: http://www.xcdroast.org/download/%{name}-%{version}.tar.gz |
---|
13 | %{?nosrc:NoSource: 0} |
---|
14 | Source10: xcdroast.desktop |
---|
15 | Patch0: xcdroast-0.98alpha15-nowarn-2.patch |
---|
16 | Patch1: xcdroast-0.98alpha15-dev-cdrom.patch |
---|
17 | Patch10: xcdroast-0.98alpha15-dvd.patch.bz2 |
---|
18 | Patch11: xcdroast-0.98alpha15-64bit_gsize.diff |
---|
19 | |
---|
20 | BuildPreReq: cdrtools-devel >= 2.01-0vl1 |
---|
21 | BuildPrereq: gtk2-devel, desktop-file-utils, pcre-devel |
---|
22 | PreReq: cdrtools-cdda2wav >= 2.01-0vl1 |
---|
23 | PreReq: cdrtools-cdrecord >= 2.01-0vl1 |
---|
24 | Requires: cdrtools-mkisofs >= 2.01-0vl1 |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | |
---|
29 | %define icondir %{_datadir}/pixmaps |
---|
30 | |
---|
31 | # set where the utils/images of xcdroast should be installed |
---|
32 | # - default: /usr/lib/xcdroast-0.98 |
---|
33 | %define xcdroast_libdir %{_libdir}/%{name}-0.98 |
---|
34 | |
---|
35 | %description |
---|
36 | X-CD-Roast provides a GUI interface for commands like cdrecord and |
---|
37 | mkisofs. X-CD-Roast includes a self-explanatory X11 user interface, |
---|
38 | automatic SCSI hardware setup, support for mastering of new |
---|
39 | ISO9660 data CDs, support for production of new audio CDs, fast |
---|
40 | copying of CDs without hard disk buffering, and a logfile option. |
---|
41 | |
---|
42 | %description -l ja |
---|
43 | X 上で動作する CD-R ライターです。 |
---|
44 | CD-R 焼き付けプログラムである "cdrecord" と |
---|
45 | CD イメージ作成プログラムである "mkisofs" の |
---|
46 | フロントエンドとして動作し、データ CD、音楽 CD の作成、コピーができます。 |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | %patch0 -p1 -b .nowarn |
---|
51 | %patch1 -p1 -b .dev_cdrom |
---|
52 | %patch10 -p1 -b .dvd |
---|
53 | %patch11 -p1 -b .64bit_gsize |
---|
54 | |
---|
55 | %build |
---|
56 | %configure \ |
---|
57 | --enable-gtk2 \ |
---|
58 | --disable-nonrootmode \ |
---|
59 | --with-cdrtools-prefix=%{_prefix} \ |
---|
60 | --with-xcdroast-libdir-prefix=%{xcdroast_libdir} \ |
---|
61 | |
---|
62 | make %{?_smp_mflags} |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
67 | |
---|
68 | # install icons |
---|
69 | mkdir -p $RPM_BUILD_ROOT/%{icondir} |
---|
70 | cp -p xpms/xcdricon.xpm $RPM_BUILD_ROOT/%{icondir} |
---|
71 | cp -p lib/icons/xcdricon.* $RPM_BUILD_ROOT/%{icondir} |
---|
72 | |
---|
73 | # install desktop files |
---|
74 | mkdir -p %{buildroot}%{_datadir}/applications |
---|
75 | desktop-file-install \ |
---|
76 | --vendor=xcdroast \ |
---|
77 | --dir %{buildroot}%{_datadir}/applications \ |
---|
78 | --add-category Application \ |
---|
79 | --add-category AudioVideo \ |
---|
80 | %{SOURCE10} |
---|
81 | |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %post -p /sbin/ldconfig |
---|
87 | %postun -p /sbin/ldconfig |
---|
88 | |
---|
89 | %files |
---|
90 | %defattr(-,root,root) |
---|
91 | %doc doc/* ChangeLog COPYING README |
---|
92 | %dir %{xcdroast_libdir} |
---|
93 | %dir %{xcdroast_libdir}/bin |
---|
94 | %{xcdroast_libdir}/bin/xcdrwrap |
---|
95 | %{xcdroast_libdir}/bin/*tool |
---|
96 | %{xcdroast_libdir}/bin/wavplay |
---|
97 | %{xcdroast_libdir}/icons |
---|
98 | %{xcdroast_libdir}/sound |
---|
99 | %{_bindir}/* |
---|
100 | %{_datadir}/locale/*/LC_MESSAGES/*.mo |
---|
101 | %{icondir}/* |
---|
102 | %{_datadir}/applications/xcdroast.desktop |
---|
103 | %{_mandir}/man1 |
---|
104 | |
---|
105 | %changelog |
---|
106 | * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-1vl5 |
---|
107 | - applied new versioning policy, spec in utf-8 |
---|
108 | |
---|
109 | * Fri Aug 31 2007 Shu KONNO <owa@bg.wakwak.com> 0.98alpha15-0vl8 |
---|
110 | - added %%define xcdroast_libdir %%{_libdir}/%%{name}-0.98 |
---|
111 | - added %%{_mandir}/man1 in %%files section |
---|
112 | - added Patch11: xcdroast-0.98alpha15-64bit_gsize.diff (from suse) |
---|
113 | - changed Multimedia to AudioVideo at desktop-file-install |
---|
114 | |
---|
115 | * Sat Sep 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl7 |
---|
116 | - import and modify nowarn.patch (patch0) to remove warning |
---|
117 | - add dev_cdrom.patch (patch1) to use /dev/cdrom* (<BTS:183>) |
---|
118 | - this patch is a part of FC's scan.patch |
---|
119 | |
---|
120 | * Fri Sep 10 2004 Harald Hoyer <harald@redhat.com> - 0.98a15-6 |
---|
121 | - improved scanning and removed warnings |
---|
122 | |
---|
123 | * Fri Sep 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.98alpha15-0vl6 |
---|
124 | - updare required version of cdrtools |
---|
125 | - drop setgid bit from xcdrwrap |
---|
126 | - drop %%pre,post,posun script |
---|
127 | - add --disable-nonrootmode to %%configure to burn as user |
---|
128 | |
---|
129 | * Mon Aug 15 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl5 |
---|
130 | - add -g option for groupadd to use lower gid. |
---|
131 | - add %%postun to remove cdwrite group. |
---|
132 | |
---|
133 | * Sat Jun 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alph15-0vl4 |
---|
134 | - add unofficial DVD support patch |
---|
135 | http://people.mandrakesoft.com/~warly/files/cdrtools/ |
---|
136 | - add Requires: cdrtools-cdrecord >= 2.01-0.a31vl2 |
---|
137 | |
---|
138 | * Sun Jun 6 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha15-0vl3 |
---|
139 | - build with gtk2 |
---|
140 | - update desktop file |
---|
141 | - do not make sg devices in %%post script |
---|
142 | |
---|
143 | * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl2 |
---|
144 | - rebuild for VineSeedPlus |
---|
145 | |
---|
146 | * Wed Jan 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha15-0vl1 |
---|
147 | - source upgrade |
---|
148 | - remove patches |
---|
149 | - add BuildPrereq: gtk+-devel >= 1.2.3, gdk-pixbuf-devel >= 0.8.0 |
---|
150 | |
---|
151 | * Tue Sep 23 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl2 |
---|
152 | - add URL tag |
---|
153 | - rebuild with cdrtools-2.01-0.a19vl1 |
---|
154 | - fix applnk for Icon |
---|
155 | |
---|
156 | * Tue Jun 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha14-0vl1 |
---|
157 | - source upgrade |
---|
158 | - add patch0 and patch1 for ONLY this source from xcdroast.org |
---|
159 | - SECURITY: Requires: cdrtools-* >= 2.01-0.a15 |
---|
160 | |
---|
161 | * Sat May 24 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.98alpha13-0vl1 |
---|
162 | - source upgrade |
---|
163 | - build with cdrtools-2.01-0.a14vl1 |
---|
164 | |
---|
165 | * Wed Dec 4 2002 Tomoya TAKA <taka@vinelinux.org> 0.98alpha11-0vl2 |
---|
166 | - remove Requires: cdrtools, PreReq: cdrtools-devel |
---|
167 | - add PreReq: cdrtools-cdrecord, cdrtools-cdda2wav |
---|
168 | - add BuildPreReq: cdrtools-devel |
---|
169 | |
---|
170 | * Mon Dec 2 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.98alpha11-0vl1 |
---|
171 | - new upstream release |
---|
172 | - rebuild with new environment. |
---|
173 | |
---|
174 | * Wed May 22 2002 Masaki Shinomiya <shino@pos.to> |
---|
175 | - 0vl8 for Vine-2.1.x, -0vl9 for VineSeed |
---|
176 | - set suid on cdda2wav, avoid checking suid of mkisofs |
---|
177 | - language.def |
---|
178 | |
---|
179 | * Mon Apr 22 2002 Masaki Shinomiya <shino@pos.to> |
---|
180 | - 0.98alpha9-0vl6 for Vine-2.1.x, -0vl7 for Vine-2.5 |
---|
181 | - owner and permission of mkisofs and cdda2wav set to root:root 755. |
---|
182 | - prerequire cdrecord |
---|
183 | - applnk, application group |
---|
184 | |
---|
185 | * Sun Mar 31 2002 Jun Nishii <jun@vinelinux.org>0.98alpha9-0vl5 |
---|
186 | - build for Vine Linux 2.5 |
---|
187 | |
---|
188 | *Mon Jan 14 2002 Masaki Shinomiya <shino@pos.to> |
---|
189 | - 0.98alpha9-0vl4 for VineSeed |
---|
190 | - 0.98alpha9-0vl3 for VinePlus |
---|
191 | * Fri Jan 4 2002 Masaki Shinomiya <shino@pos.to> |
---|
192 | - 0.98alpha9-0vl2.2 |
---|
193 | - modified menu text in create |
---|
194 | - proper defalt name of boot.cataloge |
---|
195 | - new japanese menu and help text |
---|
196 | |
---|
197 | * Thu Jul 26 2001 <sagami@vinelinux.org> |
---|
198 | - 0.98alpha9-0vl2: tweak spec and added more docs |
---|
199 | |
---|
200 | * Thu Jul 26 2001 Masaki Shinomiya <shino@pos.to> |
---|
201 | - 0.98alpha9-0vl1 |
---|
202 | - eliminate link around xcdrgdk |
---|
203 | - eliminate no need requires of tcl/tk's |
---|
204 | |
---|
205 | * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to> |
---|
206 | - 0.98alpha8-1vl2 |
---|
207 | - add group 'cdwrite' before installing |
---|
208 | - add some transration |
---|
209 | |
---|
210 | * Sun Jun 24 2001 Masaki Shinomiya <shino@pos.to> |
---|
211 | - rename for VinePlus as 0.98alpha8-1vl1 |
---|
212 | - changed requires |
---|
213 | |
---|
214 | * Sat Jun 16 2001 Masaki Shinomiya <shino@pos.to> |
---|
215 | - 0.98alpha8-1 |
---|
216 | - with Japanese panel |
---|
217 | |
---|
218 | * Mon Jun 12 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
219 | - 0.96e-2vl3 |
---|
220 | - included a patch for ppc (from 0.96e-1 of LinuxPPC/contrib) |
---|
221 | |
---|
222 | * Wed Apr 15 1999 Michael Maher <mike@redhat.com> |
---|
223 | - built package for 6.0 |
---|
224 | - updated source |
---|
225 | |
---|
226 | * Tue Oct 13 1998 Michael Maher <mike@redhat.com> |
---|
227 | - rushed by wanger.. not updated |
---|
228 | |
---|
229 | * Wed May 20 1998 Michael Maher <mike@redhat.com> |
---|
230 | - built and updated package |
---|
231 | - added changelog |
---|
232 | - edited paths |
---|