1 | %if %{?_dist_release} != "vl5" |
---|
2 | %define kde KDE |
---|
3 | %else |
---|
4 | %define kde KDE4 |
---|
5 | %endif |
---|
6 | |
---|
7 | Name: kaffeine |
---|
8 | Summary: %{kde} media player |
---|
9 | Summary(ja): %{kde} メディアプレーヤー |
---|
10 | Version: 1.2.2 |
---|
11 | Release: 3%{?_dist_release} |
---|
12 | |
---|
13 | License: GPLv2+ |
---|
14 | Group: Applications/Multimedia |
---|
15 | URL: http://kaffeine.kde.org/ |
---|
16 | |
---|
17 | Source0: http://downloads.sourceforge.net/sourceforge/kaffeine/kaffeine-%{version}.tar.gz |
---|
18 | Source1: kaffeine.png |
---|
19 | |
---|
20 | Patch0: kaffeine-1.2.2-cmake.patch |
---|
21 | |
---|
22 | ## upstreamable patches |
---|
23 | Patch100: kaffeine-1.2.2-gcc47.patch |
---|
24 | |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | BuildRequires: desktop-file-utils |
---|
27 | BuildRequires: gettext |
---|
28 | BuildRequires: kdelibs4-devel |
---|
29 | BuildRequires: xine-lib-devel |
---|
30 | BuildRequires: libXScrnSaver-devel |
---|
31 | Requires: kdebase-runtime |
---|
32 | Requires: qt4-sqlite |
---|
33 | |
---|
34 | Obsoletes: kaffeine-libs < 1.0 |
---|
35 | Obsoletes: kaffeine-devel < 1.0 |
---|
36 | |
---|
37 | %description |
---|
38 | Kaffeine is a %{kde} media player. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q -n kaffeine-%{version} |
---|
43 | %patch0 -p1 -b .cmake |
---|
44 | %patch100 -p1 -b .gcc47 |
---|
45 | |
---|
46 | %build |
---|
47 | mkdir -p %{_target_platform} |
---|
48 | pushd %{_target_platform} |
---|
49 | %cmake \ |
---|
50 | -DCMAKE_BUILD_TYPE=release \ |
---|
51 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
52 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
53 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
54 | .. |
---|
55 | popd |
---|
56 | |
---|
57 | make %{?_smp_mflags} -C %{_target_platform} |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
64 | |
---|
65 | mv $RPM_BUILD_ROOT%{_datadir}/icons/oxygen \ |
---|
66 | $RPM_BUILD_ROOT%{_datadir}/icons/hicolor |
---|
67 | |
---|
68 | mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/ |
---|
69 | install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/ |
---|
70 | |
---|
71 | %find_lang %{name} --with-kde |
---|
72 | |
---|
73 | |
---|
74 | %check |
---|
75 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/kaffeine.desktop |
---|
76 | |
---|
77 | |
---|
78 | %clean |
---|
79 | rm -rf $RPM_BUILD_ROOT |
---|
80 | |
---|
81 | |
---|
82 | %post |
---|
83 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
84 | |
---|
85 | %postun |
---|
86 | if [ $1 -eq 0 ] ; then |
---|
87 | update-desktop-database %{_datadir}/applications &>/dev/null |
---|
88 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
89 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
90 | fi |
---|
91 | |
---|
92 | %posttrans |
---|
93 | update-desktop-database %{_datadir}/applications &>/dev/null |
---|
94 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
95 | |
---|
96 | |
---|
97 | %files -f %{name}.lang |
---|
98 | %defattr(-,root,root,-) |
---|
99 | %doc Changelog COPYING COPYING-DOCS README |
---|
100 | %{_bindir}/kaffeine |
---|
101 | %{_bindir}/kaffeine-xbu |
---|
102 | %{_datadir}/kde4/apps/kaffeine/ |
---|
103 | %{_datadir}/kde4/apps/profiles/kaffeine.profile.xml |
---|
104 | %{_datadir}/kde4/apps/solid/actions/*.desktop |
---|
105 | %{_datadir}/applications/kde4/kaffeine.desktop |
---|
106 | %{_datadir}/icons/hicolor/*/*/* |
---|
107 | |
---|
108 | %changelog |
---|
109 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-3 |
---|
110 | - rebuild with gcc-5.4.0 |
---|
111 | - add Patch0 (kaffeine-1.2.2-cmake.patch) |
---|
112 | |
---|
113 | * Thu Jan 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.2-2 |
---|
114 | - added Patch100 (based on git) |
---|
115 | - built on current VineSeed |
---|
116 | |
---|
117 | * Sat Jun 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-2 |
---|
121 | - built with KDE 4.6 for VineSeed |
---|
122 | |
---|
123 | * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Tue Jul 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-6 |
---|
127 | - Initial build for Vine Linux |
---|
128 | |
---|
129 | * Sun Jul 04 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-5 |
---|
130 | - changed Requires to kdebase-runtime |
---|
131 | - added kaffeine.png to fix #611273 |
---|
132 | |
---|
133 | * Sun Jul 04 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-4 |
---|
134 | - added Requires oxygen-icon-theme |
---|
135 | |
---|
136 | * Mon Jun 21 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-3 |
---|
137 | - Unexpanded macro in kdelibs4 dependency (#606134) |
---|
138 | - remove old/unused patches |
---|
139 | |
---|
140 | * Tue Jun 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-2 |
---|
141 | - removed Require libXss, added BR libXss-devel |
---|
142 | |
---|
143 | * Tue Jun 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-1 |
---|
144 | - kaffeine 1.0 |
---|
145 | - new dep libXss |
---|
146 | - lots of improvements and bugfixes |
---|
147 | |
---|
148 | * Thu Apr 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-0.5.pre3 |
---|
149 | - deinterlace-optional patch thanks to Kevin Kofler |
---|
150 | |
---|
151 | * Mon Feb 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.4.pre3 |
---|
152 | - kaffeine-1.0-pre3 |
---|
153 | - adjust summary/description: no longer phonon based (uses xine-lib) |
---|
154 | |
---|
155 | * Fri Aug 14 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.3.pre2 |
---|
156 | - kaffeine-1.0-pre2 |
---|
157 | - update %%description/%%summary |
---|
158 | - %%check: use desktop-file-validate |
---|
159 | |
---|
160 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.pre1 |
---|
161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
162 | |
---|
163 | * Sun Apr 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.1.pre1 |
---|
164 | - kaffeine-1.0-pre1 |
---|
165 | |
---|
166 | * Sun Apr 12 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.8.7-7 |
---|
167 | - re-enable dvb (#495379) |
---|
168 | |
---|
169 | * Wed Mar 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.8.7-6 |
---|
170 | - Improve icon cache and desktop database update scriptlets. |
---|
171 | - Update URL. |
---|
172 | |
---|
173 | * Fri Mar 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.8.7-5 |
---|
174 | - s/nonfree/freeworld/ |
---|
175 | - --without-dvb (f11+) |
---|
176 | |
---|
177 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-4 |
---|
178 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
179 | |
---|
180 | * Sat Aug 30 2008 Jussi Torhonen <jt at iki.fi> - 0.8.7-3 |
---|
181 | - EPG and OSD patch (#452421). |
---|
182 | |
---|
183 | * Thu Aug 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.7-2 |
---|
184 | - Unfuzz optflags patch. |
---|
185 | |
---|
186 | * Sun Jul 06 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.7-1 |
---|
187 | - kaffeine-0.8.7 |
---|
188 | |
---|
189 | * Thu Mar 20 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6-4 |
---|
190 | - Patch to apply $RPM_OPT_FLAGS when building DVB libs. |
---|
191 | |
---|
192 | * Fri Mar 07 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.6-3 |
---|
193 | - fix deps wrt kaffeine-libs (#436442) |
---|
194 | - f7: xcb support (#373411) |
---|
195 | |
---|
196 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.6-2 |
---|
197 | - Autorebuild for GCC 4.3 |
---|
198 | |
---|
199 | * Sun Jan 20 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.6-1 |
---|
200 | - kaffeine-0.8.6 |
---|
201 | |
---|
202 | * Sun Jan 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.5-7 |
---|
203 | - Require kdelibs3-devel instead of kdelibs-devel in -devel. |
---|
204 | |
---|
205 | * Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-6 |
---|
206 | - BR: kdelibs3-devel |
---|
207 | |
---|
208 | * Mon Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-5 |
---|
209 | - multiarch conflicts in kaffeine (#341681) |
---|
210 | |
---|
211 | * Wed Sep 19 2007 Ville Skyttä <ville.skytta at iki.fi> 0.8.5-4 |
---|
212 | - Avoid autotools re-run after configure (unclean upstream tarball?) |
---|
213 | |
---|
214 | * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-3 |
---|
215 | - respin (BuildID) |
---|
216 | |
---|
217 | * Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-2 |
---|
218 | - License: GPLv2+ |
---|
219 | - BR: libxcb-devel (really) |
---|
220 | |
---|
221 | * Mon Jul 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-1 |
---|
222 | - kaffeine-0.8.5 |
---|
223 | - BR: libxcb-devel |
---|
224 | |
---|
225 | * Fri Jun 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.4-1 |
---|
226 | - kaffeine-0.8.4 (#243823) |
---|
227 | |
---|
228 | * Thu Jan 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.3-4 |
---|
229 | - disable gst08 support (for now), it's been orphaned |
---|
230 | |
---|
231 | * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-3 |
---|
232 | - less globbing in %%files |
---|
233 | |
---|
234 | * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-2 |
---|
235 | - include libkaffeinepart.so in main pkg, not -devel (bug #217835) |
---|
236 | |
---|
237 | * Sun Nov 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-1 |
---|
238 | - 0.8.3 |
---|
239 | |
---|
240 | * Sat Nov 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-6 |
---|
241 | - %%doc README |
---|
242 | |
---|
243 | * Fri Nov 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-5 |
---|
244 | - fix chmod so it actually works. |
---|
245 | |
---|
246 | * Thu Nov 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-4 |
---|
247 | - chmod -x AUTHORS ChangeLog TODO |
---|
248 | - use rel symlinks under %%_docdir |
---|
249 | |
---|
250 | * Wed Nov 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-3 |
---|
251 | - update %%description to not mention any specific mm containers |
---|
252 | (like AVI, WMV). |
---|
253 | |
---|
254 | * Wed Nov 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-2 |
---|
255 | - fixup for Extras |
---|
256 | - support building kaffeine-extras-nonfree for that other repo. |
---|
257 | |
---|
258 | * Tue Sep 12 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-1 |
---|
259 | - 0.8.2 |
---|
260 | |
---|
261 | * Thu Aug 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-5 |
---|
262 | - for kdelibs >= 3.5.4, omit |
---|
263 | /usr/share/mimelnk/application/x-mplayer2.desktop (lvn bug #1132) |
---|
264 | |
---|
265 | * Thu May 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-4 |
---|
266 | - BR: libXtst-devel libXinerama-devel (fc5+) |
---|
267 | |
---|
268 | * Tue Apr 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-3 |
---|
269 | - (re)enable gstreamer support (fc3+) |
---|
270 | |
---|
271 | * Mon Apr 24 2006 Rex Dieter <rexdieter[AT]users.sf.net. 0.8.1-2 |
---|
272 | - avoid re-auto'ing thing, breaks locale/po-files |
---|
273 | |
---|
274 | * Mon Apr 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-1 |
---|
275 | - 0.8.1 |
---|
276 | - cdda patch (upsgream bug #1463542) |
---|
277 | |
---|
278 | * Sat Mar 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.1-4 |
---|
279 | - drop --vendor=livna |
---|
280 | - fdo icon spec fix |
---|
281 | - kaffeine-0.7.x-CVE-2006-0051.patch |
---|
282 | |
---|
283 | * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
284 | - switch to new release field |
---|
285 | |
---|
286 | * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
287 | - add dist |
---|
288 | |
---|
289 | * Thu Nov 03 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.1-0.lvn.3 |
---|
290 | - update-desktop-database (#645) |
---|
291 | - -devel pkg (#645) |
---|
292 | - -gstreamer subpkg, marked experimental (due to upstream #1254363) |
---|
293 | - omit -desktop patch (#645) |
---|
294 | - use desktop-file-install (#645) |
---|
295 | |
---|
296 | * Wed Sep 7 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 0:0.7.1-0.lvn.2 |
---|
297 | - configure with --with-qt-libraries=${QTDIR}/lib to fix build on x86_64 |
---|
298 | |
---|
299 | * Sun Sep 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.lvn.1 |
---|
300 | - 0.7.1, gcc visibility hack no longer needed. |
---|
301 | |
---|
302 | * Mon Aug 8 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7-0.lvn.1 |
---|
303 | - 0.7, now with DVB support (FC4+ only). |
---|
304 | - GStreamer support disabled by default due to upstream #1254363, rebuild |
---|
305 | with "--with gstreamer" to enable. |
---|
306 | - Quick and dirty workaround for upstream #1253989. |
---|
307 | |
---|
308 | * Sun Mar 20 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6-0.lvn.1 |
---|
309 | - 0.6. |
---|
310 | |
---|
311 | * Thu Dec 23 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.1 |
---|
312 | - Update to 0.5. |
---|
313 | |
---|
314 | * Fri Nov 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.0.1.rc2 |
---|
315 | - Update to 0.5rc2. |
---|
316 | |
---|
317 | * Sun Oct 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.0.1.rc1 |
---|
318 | - Update to 0.5rc1. |
---|
319 | - Requires KDE >= 3.2 -> FC2 only -> make some related cleanups. |
---|
320 | - Purge libselinux workarounds, no longer needed. |
---|
321 | - Improve GNOME HIG compliance of desktop entry, sync with KPlayer (bug 173). |
---|
322 | - Disable dependency tracking to speed up the build. |
---|
323 | - Provide -devel. |
---|
324 | |
---|
325 | * Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.3-0.lvn.1.b |
---|
326 | - Update to 0.4.3b. |
---|
327 | - Add workaround for https://bugzilla.redhat.com/123853 |
---|
328 | |
---|
329 | * Mon May 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.3-0.lvn.1 |
---|
330 | - Update to 0.4.3. |
---|
331 | |
---|
332 | * Wed Mar 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.2-0.lvn.1 |
---|
333 | - Update to 0.4.2. |
---|
334 | |
---|
335 | * Sat Jan 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.1-0.lvn.1 |
---|
336 | - Update to 0.4.1, patches applied upstream. |
---|
337 | - Update description. |
---|
338 | |
---|
339 | * Mon Nov 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4-0.lvn.1 |
---|
340 | - Update to 0.4. |
---|
341 | - Disable rpath. |
---|
342 | - Add Gnome icon. |
---|
343 | |
---|
344 | * Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.2-0.fdr.2 |
---|
345 | - Own directories under %%{_datadir}/icons. |
---|
346 | |
---|
347 | * Tue Jul 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.2-0.fdr.1 |
---|
348 | - First build. |
---|