1 | Name: k3b |
---|
2 | Version: 2.0.3a |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: CD/DVD/Blu-ray burning application for KDE |
---|
5 | Summary(ja): KDE 向け CD/DVD/Blu-ray 作成アプリケーション |
---|
6 | |
---|
7 | Group: Applications/Multimedia |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://www.k3b.org/ |
---|
10 | |
---|
11 | Source0: http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz |
---|
12 | # k3b app icon missing, https://bugzilla.redhat.com/show_bug.cgi?id=611272 |
---|
13 | Source1: ox32-k3b.png |
---|
14 | Source2: k3brc |
---|
15 | |
---|
16 | ExcludeArch: s390 s390x |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildRequires: desktop-file-utils |
---|
20 | BuildRequires: flac-devel |
---|
21 | BuildRequires: gettext |
---|
22 | BuildRequires: kdelibs4-devel |
---|
23 | BuildRequires: libkcddb-devel |
---|
24 | BuildRequires: libdvdread-devel |
---|
25 | BuildRequires: libmpcdec-devel |
---|
26 | BuildRequires: libmusicbrainz-devel |
---|
27 | BuildRequires: libsamplerate-devel |
---|
28 | BuildRequires: libsndfile-devel |
---|
29 | BuildRequires: libvorbis-devel |
---|
30 | BuildRequires: libXpm-devel |
---|
31 | BuildRequires: taglib-devel |
---|
32 | # needed by k3bsetup |
---|
33 | BuildRequires: polkit-qt-devel |
---|
34 | |
---|
35 | Requires: cdrecord mkisofs |
---|
36 | Requires: cdrdao |
---|
37 | Requires: dvd+rw-tools |
---|
38 | |
---|
39 | Obsoletes: k3b-i18n |
---|
40 | |
---|
41 | Vendor: Project Vine |
---|
42 | Distribution: Vine Linux |
---|
43 | |
---|
44 | %description |
---|
45 | K3b is a CD and DVD burning application for Linux systems optimized for KDE. |
---|
46 | It provides a comfortable user interface to perform most |
---|
47 | CD/DVD burning tasks like creating an Audio CD from a set of audio files or copying a CD. |
---|
48 | |
---|
49 | [Notice] |
---|
50 | Please install self-build-k3b-extra package if you want to handle MP3 and WMA files. |
---|
51 | |
---|
52 | %description -l ja |
---|
53 | K3b は、KDE の為に最適化された Linux システム用の CD/DVD 作成アプリケーションです. |
---|
54 | 多様なCD/DVDの作成に快適なユーザーインターフェースを提供します. |
---|
55 | また、音楽データや CD の複製等、音楽 CD を簡単に作成できます. |
---|
56 | |
---|
57 | K3b にて MP3/WMA ファイルを扱いたい場合は、self-build-k3b-extra パッケージを |
---|
58 | 追加でインストールしてください. |
---|
59 | |
---|
60 | %package libs |
---|
61 | Summary: Runtime libraries for %{name} |
---|
62 | Summary(ja): %{name} のランタイムライブラリ |
---|
63 | Group: System Environment/Libraries |
---|
64 | Requires: kdelibs4 >= 4.4.0 |
---|
65 | |
---|
66 | %description libs |
---|
67 | %{summary}. |
---|
68 | |
---|
69 | %description -l ja libs |
---|
70 | %{summary}. |
---|
71 | |
---|
72 | %package devel |
---|
73 | Summary: Files for the development of applications which will use %{name} |
---|
74 | Summary(ja): %{name} を使用するアプリケーションを開発するためのファイル |
---|
75 | Group: Development/Libraries |
---|
76 | Requires: %{name}-libs = %{version}-%{release} |
---|
77 | Requires: kdelibs4-devel >= 4.4.0 |
---|
78 | |
---|
79 | %description devel |
---|
80 | %{summary}. |
---|
81 | |
---|
82 | %description -l ja devel |
---|
83 | %{summary}. |
---|
84 | |
---|
85 | %prep |
---|
86 | %setup -q -n %{name}-2.0.3 |
---|
87 | |
---|
88 | %build |
---|
89 | mkdir -p %{_target_platform} |
---|
90 | pushd %{_target_platform} |
---|
91 | %{cmake} \ |
---|
92 | -DCMAKE_BUILD_TYPE=release \ |
---|
93 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
94 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
95 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
96 | -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=OFF \ |
---|
97 | -DK3B_BUILD_MAD_DECODER_PLUGIN::BOOL=OFF \ |
---|
98 | -DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=OFF \ |
---|
99 | .. |
---|
100 | # -DK3B_BUILD_K3BSETUP:BOOL=OFF \ |
---|
101 | popd |
---|
102 | |
---|
103 | make %{?_smp_mflags} -C %{_target_platform} |
---|
104 | |
---|
105 | |
---|
106 | %install |
---|
107 | rm -rf $RPM_BUILD_ROOT |
---|
108 | make install/fast -C %{_target_platform} DESTDIR=$RPM_BUILD_ROOT |
---|
109 | |
---|
110 | %find_lang k3b --with-kde |
---|
111 | %find_lang k3bsetup |
---|
112 | %find_lang kio_videodvd |
---|
113 | %find_lang libk3b |
---|
114 | %find_lang libk3bdevice |
---|
115 | cat k3bsetup.lang >> k3b.lang |
---|
116 | cat kio_videodvd.lang >> libk3b.lang |
---|
117 | cat libk3bdevice.lang >> libk3b.lang |
---|
118 | |
---|
119 | # k3b app icon missing, https://bugzilla.redhat.com/show_bug.cgi?id=611272 |
---|
120 | if [ ! -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/k3b.png ]; then |
---|
121 | echo "NOTICE: %{_datadir}/icons/hicolor/32x32/apps/k3b.png missing, borrowing oxygen version" |
---|
122 | install -pD -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/k3b.png |
---|
123 | fi |
---|
124 | |
---|
125 | |
---|
126 | %check |
---|
127 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/k3b.desktop |
---|
128 | |
---|
129 | %clean |
---|
130 | rm -rf $RPM_BUILD_ROOT |
---|
131 | |
---|
132 | %post |
---|
133 | touch --no-create %{_datadir}/icons/hicolor ||: |
---|
134 | |
---|
135 | %postun |
---|
136 | if [ $1 -eq 0 ] ; then |
---|
137 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
138 | update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||: |
---|
139 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
140 | fi |
---|
141 | |
---|
142 | %posttrans |
---|
143 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: |
---|
144 | update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||: |
---|
145 | update-mime-database %{_datadir}/mime &> /dev/null |
---|
146 | |
---|
147 | %post libs -p /sbin/ldconfig |
---|
148 | |
---|
149 | %postun libs -p /sbin/ldconfig |
---|
150 | |
---|
151 | |
---|
152 | %files -f k3b.lang |
---|
153 | %defattr(-,root,root,755) |
---|
154 | %doc README COPYING COPYING.DOC ChangeLog |
---|
155 | %{_sysconfdir}/dbus-1/system.d/*.conf |
---|
156 | %{_bindir}/k3b |
---|
157 | %{_bindir}/k3bsetup |
---|
158 | %{_libdir}/kde4/*.so |
---|
159 | %{_libexecdir}/kde4/k3bsetuphelper |
---|
160 | %{_datadir}/applications/kde4/k3b.desktop |
---|
161 | %{_datadir}/dbus-1/system-services/*.service |
---|
162 | %{_datadir}/icons/hicolor/*/*/* |
---|
163 | %{_datadir}/kde4/apps/k3b/ |
---|
164 | %{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/*.desktop |
---|
165 | %{_datadir}/kde4/apps/solid/actions/k3b*.desktop |
---|
166 | %{_datadir}/kde4/services/*.desktop |
---|
167 | %{_datadir}/kde4/services/*.protocol |
---|
168 | %{_datadir}/kde4/services/ServiceMenus/k3b*.desktop |
---|
169 | %{_datadir}/kde4/servicetypes/k3b*.desktop |
---|
170 | %{_datadir}/mime/packages/x-k3b.xml |
---|
171 | %{_datadir}/polkit-1/actions/*.policy |
---|
172 | |
---|
173 | %files libs -f libk3b.lang |
---|
174 | %defattr(-,root,root,-) |
---|
175 | %{_libdir}/libk3bdevice.so.6* |
---|
176 | %{_libdir}/libk3blib.so.6* |
---|
177 | |
---|
178 | %files devel |
---|
179 | %defattr(-,root,root,-) |
---|
180 | %{_includedir}/kde4/k3b*.h |
---|
181 | %{_libdir}/libk3bdevice.so |
---|
182 | %{_libdir}/libk3blib.so |
---|
183 | |
---|
184 | %changelog |
---|
185 | * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.3a-2 |
---|
186 | - rebuild with gcc-5.4.0 |
---|
187 | |
---|
188 | * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1 |
---|
189 | - updated to 2.0.3a |
---|
190 | - moved to Applications/Multimedia Group |
---|
191 | |
---|
192 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.3-1 |
---|
193 | - new upstream release |
---|
194 | |
---|
195 | * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-4 |
---|
196 | - change BuildRequires: libkcddb-devel instead of kdemultimedia-devel |
---|
197 | |
---|
198 | * Fri May 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-3 |
---|
199 | - add BuildRequires: soprano-devel |
---|
200 | |
---|
201 | * Fri Mar 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2 |
---|
202 | - added BR: libXpm-devel |
---|
203 | |
---|
204 | * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2 |
---|
208 | - fixed %%build section to remove qt-devel dependency |
---|
209 | |
---|
210 | * Wed Sep 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1 |
---|
214 | - new upstream release |
---|
215 | - updated build dependencies |
---|
216 | |
---|
217 | * Mon Nov 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.5-6 |
---|
218 | - drop required packages to resolve unmet dependency <BTS:VineLinux:797> |
---|
219 | - Requires: libstdc++2_10, libstdc++2_10-compat, dvdrecord, libzvt |
---|
220 | - BuildRequires: libzvt-devel |
---|
221 | |
---|
222 | * Mon Feb 09 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-5 |
---|
223 | - changed to Requires: self-build-libmad from libmad |
---|
224 | - changed to BuildRequires: self-build-libmad from libmad-devel |
---|
225 | - added Requires: %{name} = %{version}-%{release} in k3b-i18n subpackage |
---|
226 | |
---|
227 | * Sun Jan 18 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-4 |
---|
228 | - removed Release: tag of k3b-i18n subpackage |
---|
229 | |
---|
230 | * Sat Jan 17 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.5-3 |
---|
231 | - rebuild with libdvdread.so.4 for vl4 <BTS:651> |
---|
232 | - spec in utf-8 |
---|
233 | - merged the spec of 1.0.5-1vl4 release: |
---|
234 | - added --with-lame --with-libdvdread in %%configure options |
---|
235 | - set --vendor="vine" in desktop-file-install |
---|
236 | |
---|
237 | * Mon Jan 12 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-1 |
---|
238 | - new upstream release |
---|
239 | - change %{_includedir}/k3b |
---|
240 | - drop {_localedir}/* (i18n) |
---|
241 | - add devel Package |
---|
242 | |
---|
243 | * Fri Jan 2 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-2vl5 |
---|
244 | - It returned it: %{_libdir}/kde3/*.la |
---|
245 | |
---|
246 | * Wed Dec 31 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.0.5-1vl5 |
---|
247 | - new upstream release. |
---|
248 | - spec in utf-8, and applied vine versioning policy. |
---|
249 | - Remove *.la. |
---|
250 | - specfile updates. |
---|
251 | |
---|
252 | *Tue Dec 26 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.17-0vl1 |
---|
253 | -new upstream release |
---|
254 | |
---|
255 | *Sun Jun 18 2006 TOSHI <toshi-52@sa.il24.net> 0.12.15-0vl3 |
---|
256 | -with-k3bsetup=no option is deleted. |
---|
257 | |
---|
258 | *Sat Apr 15 2006 TOSHI <toshi-52@sa.il24.net> 0.12.15-0vl1 |
---|
259 | -new upstream release |
---|
260 | -Requires -> sox and libsndfile added |
---|
261 | -BuildPreReq -> sox-devel and libsndfile-devel added |
---|
262 | -with-k3bsetup=no option added |
---|
263 | |
---|
264 | *Sun Apr 9 2006 TOSHI <toshi-52@sa.il24.net> 0.12.14-0vl1 |
---|
265 | -new upstream release |
---|
266 | |
---|
267 | *Tue Feb 14 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.10-0vl1 |
---|
268 | -new upstream release |
---|
269 | -Requires -> Libstdc++2_10 and libstdc++2_10-compat added |
---|
270 | |
---|
271 | *Thu Feb 9 2006 TOSHI <vine-jp@mail.goo.ne.jp> 0.12.10-0vl1 |
---|
272 | -new upstream release |
---|
273 | -added i18n to spec |
---|
274 | |
---|
275 | *Tue Aug 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12.3-0vl1 |
---|
276 | -new upstream release |
---|
277 | |
---|
278 | * Tue Jul 12 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12.2-0vl1 |
---|
279 | -new upstream release |
---|
280 | |
---|
281 | * Mon May 30 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.12beta2-0vl1 |
---|
282 | -1st Release. |
---|