]>
Commit | Line | Data |
---|---|---|
8b52fab1 | 1 | %define kdeappsver 18.12.1 |
51c2ce37 | 2 | %define qtver 5.9.0 |
7d4f2fec WF |
3 | %define kaname k3b |
4 | Summary: K3b - CD Kreator | |
5 | Name: ka5-%{kaname} | |
8b52fab1 | 6 | Version: 18.12.1 |
7d4f2fec WF |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Libraries | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
8b52fab1 | 11 | # Source0-md5: 7909afd711ca91fa901ee91ae833c1cf |
7d4f2fec WF |
12 | Patch0: musepack.patch |
13 | URL: http://www.kde.org/ | |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: cmake >= 2.8.12 | |
3abbb89f | 16 | BuildRequires: ffmpeg-devel |
7d4f2fec | 17 | BuildRequires: flac-c++-devel |
51c2ce37 | 18 | BuildRequires: kf5-extra-cmake-modules >= 5.53.0 |
7d4f2fec WF |
19 | BuildRequires: libdvdread-devel |
20 | BuildRequires: libjpeg-devel | |
21 | BuildRequires: libmad-devel | |
22 | BuildRequires: libmpcdec-devel | |
23 | BuildRequires: libmusicbrainz-devel | |
24 | BuildRequires: libsamplerate-devel | |
25 | BuildRequires: libsndfile-devel | |
26 | BuildRequires: musepack-devel | |
8b52fab1 | 27 | BuildRequires: ninja |
7d4f2fec WF |
28 | BuildRequires: qt5-build >= %{qtver} |
29 | BuildRequires: rpmbuild(macros) >= 1.164 | |
30 | BuildRequires: shared-mime-info | |
31 | BuildRequires: tar >= 1:1.22 | |
32 | BuildRequires: xz | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | The CD Kreator features: | |
37 | - the most userfriendly interface ever ;-) | |
38 | - writing audio-CDs | |
39 | - writing ISO-CDs | |
40 | - writing existing iso-images to CD | |
41 | - CD copy (data, audio, mixed mode) | |
42 | - blanking of CD-RWs | |
43 | - CD ripping to WAV | |
44 | - dvd ripping with the transcode tools | |
45 | - DivX/XviD encoding | |
46 | - K3b checks if the user inserted an empty disk | |
47 | - Retrieving CD info and toc | |
48 | - Support for ATAPI drives without SCSI-emulation for reading | |
49 | - integrated full featured audio player | |
50 | ||
51 | %package devel | |
52 | Summary: Header files for %{kaname} development | |
51c2ce37 | 53 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname} |
7d4f2fec WF |
54 | Group: X11/Development/Libraries |
55 | Requires: %{name} = %{version}-%{release} | |
56 | ||
57 | %description devel | |
58 | Header files for %{kaname} development. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe dla programistów używających %{kaname}. | |
62 | ||
63 | %prep | |
64 | %setup -q -n %{kaname}-%{version} | |
65 | %patch0 -p1 | |
66 | ||
67 | %build | |
68 | install -d build | |
69 | cd build | |
70 | %cmake \ | |
8b52fab1 | 71 | -G Ninja \ |
7d4f2fec WF |
72 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
73 | .. | |
8b52fab1 | 74 | %ninja_build |
7d4f2fec WF |
75 | |
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
8b52fab1 | 78 | %ninja_install -C build |
7d4f2fec WF |
79 | |
80 | %find_lang %{kaname} --all-name --with-kde | |
81 | ||
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post -p /sbin/ldconfig | |
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files -f %{kaname}.lang | |
89 | %defattr(644,root,root,755) | |
90 | /etc/xdg/k3btheme.knsrc | |
91 | %attr(755,root,root) %{_bindir}/k3b | |
92 | %attr(755,root,root) %ghost %{_libdir}/libk3bdevice.so.7 | |
93 | %attr(755,root,root) %{_libdir}/libk3bdevice.so.*.*.* | |
94 | %attr(755,root,root) %ghost %{_libdir}/libk3blib.so.7 | |
95 | %attr(755,root,root) %{_libdir}/libk3blib.so.*.*.* | |
96 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3baudiometainforenamerplugin.so | |
97 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3baudioprojectcddbplugin.so | |
98 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bexternalencoder.so | |
99 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bffmpegdecoder.so | |
100 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bflacdecoder.so | |
101 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3blameencoder.so | |
102 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3blibsndfiledecoder.so | |
103 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bmaddecoder.so | |
104 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bmpcdecoder.so | |
105 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3boggvorbisdecoder.so | |
106 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3boggvorbisencoder.so | |
107 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bsoxencoder.so | |
108 | %attr(755,root,root) %{_libdir}/qt5/plugins/k3bwavedecoder.so | |
109 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_k3bexternalencoder.so | |
110 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_k3blameencoder.so | |
111 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_k3boggvorbisencoder.so | |
112 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_k3bsoxencoder.so | |
113 | %attr(755,root,root) %{_libdir}/qt5/plugins/kio_videodvd.so | |
114 | %{_desktopdir}/org.kde.k3b.desktop | |
115 | %{_iconsdir}/hicolor/128x128/apps/k3b.png | |
116 | %{_iconsdir}/hicolor/128x128/mimetypes/application-x-k3b.png | |
117 | %{_iconsdir}/hicolor/16x16/apps/k3b.png | |
118 | %{_iconsdir}/hicolor/22x22/apps/k3b.png | |
119 | %{_iconsdir}/hicolor/32x32/apps/k3b.png | |
120 | %{_iconsdir}/hicolor/32x32/mimetypes/application-x-k3b.png | |
121 | %{_iconsdir}/hicolor/48x48/apps/k3b.png | |
122 | %{_iconsdir}/hicolor/48x48/mimetypes/application-x-k3b.png | |
123 | %{_iconsdir}/hicolor/64x64/apps/k3b.png | |
124 | %{_iconsdir}/hicolor/64x64/mimetypes/application-x-k3b.png | |
125 | %{_iconsdir}/hicolor/scalable/apps/k3b.svgz | |
126 | %{_iconsdir}/hicolor/scalable/mimetypes/application-x-k3b.svgz | |
127 | %{_datadir}/k3b | |
128 | %{_datadir}/knotifications5/k3b.notifyrc | |
129 | %{_datadir}/konqsidebartng/virtual_folders/services/videodvd.desktop | |
130 | %{_datadir}/kservices5/ServiceMenus/k3b_create_audio_cd.desktop | |
131 | %{_datadir}/kservices5/ServiceMenus/k3b_create_data_project.desktop | |
132 | %{_datadir}/kservices5/ServiceMenus/k3b_create_video_cd.desktop | |
133 | %{_datadir}/kservices5/ServiceMenus/k3b_write_bin_image.desktop | |
134 | %{_datadir}/kservices5/ServiceMenus/k3b_write_iso_image.desktop | |
135 | %{_datadir}/kservices5/k3baudiometainforenamerplugin.desktop | |
136 | %{_datadir}/kservices5/k3baudioprojectcddbplugin.desktop | |
137 | %{_datadir}/kservices5/k3bexternalencoder.desktop | |
138 | %{_datadir}/kservices5/k3bffmpegdecoder.desktop | |
139 | %{_datadir}/kservices5/k3bflacdecoder.desktop | |
140 | %{_datadir}/kservices5/k3blameencoder.desktop | |
141 | %{_datadir}/kservices5/k3blibsndfiledecoder.desktop | |
142 | %{_datadir}/kservices5/k3bmaddecoder.desktop | |
143 | %{_datadir}/kservices5/k3bmpcdecoder.desktop | |
144 | %{_datadir}/kservices5/k3boggvorbisdecoder.desktop | |
145 | %{_datadir}/kservices5/k3boggvorbisencoder.desktop | |
146 | %{_datadir}/kservices5/k3bsoxencoder.desktop | |
147 | %{_datadir}/kservices5/k3bwavedecoder.desktop | |
148 | %{_datadir}/kservices5/kcm_k3bexternalencoder.desktop | |
149 | %{_datadir}/kservices5/kcm_k3blameencoder.desktop | |
150 | %{_datadir}/kservices5/kcm_k3boggvorbisencoder.desktop | |
151 | %{_datadir}/kservices5/kcm_k3bsoxencoder.desktop | |
152 | %{_datadir}/kservices5/videodvd.protocol | |
153 | %{_datadir}/kservicetypes5/k3bplugin.desktop | |
154 | %dir %{_datadir}/kxmlgui5/k3b | |
155 | %{_datadir}/kxmlgui5/k3b/k3bdeviceui.rc | |
156 | %{_datadir}/kxmlgui5/k3b/k3bui.rc | |
157 | %{_datadir}/metainfo/org.kde.k3b.appdata.xml | |
158 | %{_datadir}/mime/packages/x-k3b.xml | |
159 | %{_datadir}/solid/actions/k3b_audiocd_rip.desktop | |
160 | %{_datadir}/solid/actions/k3b_copy_disc.desktop | |
161 | %{_datadir}/solid/actions/k3b_create_audio_cd_from_blank_medium.desktop | |
162 | %{_datadir}/solid/actions/k3b_create_data_project_from_blank_medium.desktop | |
163 | %{_datadir}/solid/actions/k3b_videodvd_rip.desktop | |
164 | ||
165 | %files devel | |
166 | %defattr(644,root,root,755) | |
167 | %{_includedir}/k3b_export.h | |
168 | %{_includedir}/k3bactivepipe.h | |
169 | %{_includedir}/k3baudiocdtrackdrag.h | |
170 | %{_includedir}/k3baudiocdtrackreader.h | |
171 | %{_includedir}/k3baudiocdtracksource.h | |
172 | %{_includedir}/k3baudiocuefilewritingjob.h | |
173 | %{_includedir}/k3baudiodatasource.h | |
174 | %{_includedir}/k3baudiodatasourceiterator.h | |
175 | %{_includedir}/k3baudiodecoder.h | |
176 | %{_includedir}/k3baudiodoc.h | |
177 | %{_includedir}/k3baudiodocreader.h | |
178 | %{_includedir}/k3baudioencoder.h | |
179 | %{_includedir}/k3baudiofile.h | |
180 | %{_includedir}/k3baudiofileanalyzerjob.h | |
181 | %{_includedir}/k3baudiofilereader.h | |
182 | %{_includedir}/k3baudiojob.h | |
183 | %{_includedir}/k3baudiotrack.h | |
184 | %{_includedir}/k3baudiotrackreader.h | |
185 | %{_includedir}/k3baudiozerodata.h | |
186 | %{_includedir}/k3baudiozerodatareader.h | |
187 | %{_includedir}/k3bbinimagewritingjob.h | |
188 | %{_includedir}/k3bblankingjob.h | |
189 | %{_includedir}/k3bbootitem.h | |
190 | %{_includedir}/k3bbusywidget.h | |
191 | %{_includedir}/k3bcdcopyjob.h | |
192 | %{_includedir}/k3bcddb.h | |
193 | %{_includedir}/k3bcdparanoialib.h | |
194 | %{_includedir}/k3bcdrdaowriter.h | |
195 | %{_includedir}/k3bcdrecordwriter.h | |
196 | %{_includedir}/k3bcdrskinwriter.h | |
197 | %{_includedir}/k3bcdtext.h | |
198 | %{_includedir}/k3bcdtextvalidator.h | |
199 | %{_includedir}/k3bchecksumpipe.h | |
200 | %{_includedir}/k3bclonejob.h | |
201 | %{_includedir}/k3bcore.h | |
202 | %{_includedir}/k3bcuefileparser.h | |
203 | %{_includedir}/k3bdatadoc.h | |
204 | %{_includedir}/k3bdataitem.h | |
205 | %{_includedir}/k3bdatajob.h | |
206 | %{_includedir}/k3bdefaultexternalprograms.h | |
207 | %{_includedir}/k3bdevice.h | |
208 | %{_includedir}/k3bdevice_export.h | |
209 | %{_includedir}/k3bdevicecombobox.h | |
210 | %{_includedir}/k3bdeviceglobals.h | |
211 | %{_includedir}/k3bdevicehandler.h | |
212 | %{_includedir}/k3bdevicemanager.h | |
213 | %{_includedir}/k3bdeviceselectiondialog.h | |
214 | %{_includedir}/k3bdevicetypes.h | |
215 | %{_includedir}/k3bdiritem.h | |
216 | %{_includedir}/k3bdirsizejob.h | |
217 | %{_includedir}/k3bdiskinfo.h | |
218 | %{_includedir}/k3bdoc.h | |
219 | %{_includedir}/k3bdvdcopyjob.h | |
220 | %{_includedir}/k3bdvdformattingjob.h | |
221 | %{_includedir}/k3bexceptions.h | |
222 | %{_includedir}/k3bexternalbinmanager.h | |
223 | %{_includedir}/k3bfileitem.h | |
224 | %{_includedir}/k3bfilesplitter.h | |
225 | %{_includedir}/k3bfilesysteminfo.h | |
226 | %{_includedir}/k3bglobals.h | |
227 | %{_includedir}/k3bglobalsettings.h | |
228 | %{_includedir}/k3bgrowisofswriter.h | |
229 | %{_includedir}/k3bimagefilereader.h | |
230 | %{_includedir}/k3binffilewriter.h | |
231 | %{_includedir}/k3bintmapcombobox.h | |
232 | %{_includedir}/k3bintvalidator.h | |
233 | %{_includedir}/k3biso9660.h | |
234 | %{_includedir}/k3biso9660backend.h | |
235 | %{_includedir}/k3biso9660imagewritingjob.h | |
236 | %{_includedir}/k3bisooptions.h | |
237 | %{_includedir}/k3bjob.h | |
238 | %{_includedir}/k3bjobhandler.h | |
239 | %{_includedir}/k3bmd5job.h | |
240 | %{_includedir}/k3bmediacache.h | |
241 | %{_includedir}/k3bmedium.h | |
242 | %{_includedir}/k3bmetawriter.h | |
243 | %{_includedir}/k3bmixeddoc.h | |
244 | %{_includedir}/k3bmixedjob.h | |
245 | %{_includedir}/k3bmovixdoc.h | |
246 | %{_includedir}/k3bmovixfileitem.h | |
247 | %{_includedir}/k3bmovixjob.h | |
248 | %{_includedir}/k3bmsf.h | |
249 | %{_includedir}/k3bmsfedit.h | |
250 | %{_includedir}/k3bmultichoicedialog.h | |
251 | %{_includedir}/k3bplugin.h | |
252 | %{_includedir}/k3bpluginconfigwidget.h | |
253 | %{_includedir}/k3bpluginmanager.h | |
254 | %{_includedir}/k3bprocess.h | |
255 | %{_includedir}/k3bprojectplugin.h | |
256 | %{_includedir}/k3brawaudiodatareader.h | |
257 | %{_includedir}/k3brawaudiodatasource.h | |
258 | %{_includedir}/k3bsignalwaiter.h | |
259 | %{_includedir}/k3bsimplejobhandler.h | |
260 | %{_includedir}/k3bstdguiitems.h | |
261 | %{_includedir}/k3bthreadjob.h | |
262 | %{_includedir}/k3bthreadwidget.h | |
263 | %{_includedir}/k3bthroughputestimator.h | |
264 | %{_includedir}/k3btoc.h | |
265 | %{_includedir}/k3btocfilewriter.h | |
266 | %{_includedir}/k3btrack.h | |
267 | %{_includedir}/k3bvalidators.h | |
268 | %{_includedir}/k3bvcddoc.h | |
269 | %{_includedir}/k3bvcdjob.h | |
270 | %{_includedir}/k3bvcdoptions.h | |
271 | %{_includedir}/k3bverificationjob.h | |
272 | %{_includedir}/k3bversion.h | |
273 | %{_includedir}/k3bvideodvd.h | |
274 | %{_includedir}/k3bvideodvdaudiostream.h | |
275 | %{_includedir}/k3bvideodvddoc.h | |
276 | %{_includedir}/k3bvideodvdjob.h | |
277 | %{_includedir}/k3bvideodvdptt.h | |
278 | %{_includedir}/k3bvideodvdsubpicturestream.h | |
279 | %{_includedir}/k3bvideodvdtime.h | |
280 | %{_includedir}/k3bvideodvdtitle.h | |
281 | %{_includedir}/k3bvideodvdtitledetectclippingjob.h | |
282 | %{_includedir}/k3bvideodvdtitletranscodingjob.h | |
283 | %{_includedir}/k3bvideodvdvideostream.h | |
284 | %{_includedir}/k3bwavefilewriter.h | |
285 | %attr(755,root,root) %{_libdir}/libk3bdevice.so | |
286 | %attr(755,root,root) %{_libdir}/libk3blib.so |