/[packages]/cauldron/razorqt/current/SPECS/razorqt.spec
ViewVC logotype

Annotation of /cauldron/razorqt/current/SPECS/razorqt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 311059 - (hide annotations) (download)
Sun Oct 28 14:13:53 2012 UTC (12 years, 1 month ago) by matteo
File size: 17223 byte(s)
SILENT: restored self defined macro oversion (previous _version) wrongly removed
1 matteo 195844 %define pkgconfigdir %_datadir/pkgconfig
2 matteo 187236
3 matteo 195844 %define qtxdglibdevel %mklibname qtxdg -d
4 wally 310704 %define libnamedevel %mklibname %name -d
5    
6 matteo 309310 %define git e777e8c
7     %define gitdate 20121022
8 wally 310704 %define minor 42
9 matteo 311059 %define oversion 0.5.0
10 wally 310704 %define oname razor
11 matteo 183413
12 wally 310704 Name: %{oname}qt
13 matteo 309454 Version: 0.5.1
14 matteo 305199 #Release: %mkrel -c git%{gitdate} 8
15 wally 310714 Release: %mkrel 2
16 matteo 195842 License: LGPLv2+
17 matteo 226343 #Source0: https://github.com/downloads/Razor-qt/razor-qt/%{name}-%{version}.tar.bz2
18 matteo 293928 # git -- https://github.com/Razor-qt/razor-qt/tarball/master
19 matteo 311059 #Source0: Razor-qt-razor-qt-%{oversion}-%{minor}-g%{git}.tar.gz
20 matteo 293928 # stable release
21 matteo 305199 Source0: https://github.com/downloads/Razor-qt/razor-qt/%{name}-%{version}.tar.bz2
22 matteo 302821
23     # mageia light theme
24     # https://bitbucket.org/_pmat_/razorqt-mga-themes/
25 matteo 302882 Source1: mga-light-theme.tar.bz2
26 matteo 302821
27 matteo 205708 Patch0: %{name}-config-mouse-desktop.patch
28     Patch1: %{name}-autosuspend-desktop.patch
29 matteo 293928 Patch2: %{name}-mga-theme.patch
30     Patch3: %{name}-autostart.patch
31 wally 310704 Patch4: %{oname}-panel-quicklaunch.patch
32 matteo 309310 Patch5: %{name}-0.5.0-systemd.patch
33 matteo 183431 Group: Graphical desktop/Other
34 matteo 297863 Summary: Razor is a lightweight desktop toolbox
35 wally 310704 Url: http://%{oname}-qt.org
36 matteo 183413 BuildRequires: cmake
37     BuildRequires: file-devel
38     BuildRequires: qt4-devel >= 4.6.0
39     BuildRequires: qt4-linguist
40     BuildRequires: libxcomposite-devel
41 matteo 183453 BuildRequires: udev-devel >= 128
42 matteo 183874 BuildRequires: doxygen
43 matteo 184051 BuildRequires: libxcursor-devel
44 matteo 196374 BuildRequires: desktop-file-utils
45 wally 309227 BuildRequires: pkgconfig(liblightdm-qt-2)
46 matteo 309310 BuildRequires: pkgconfig(polkit-qt-agent-1)
47     BuildRequires: pkgconfig(polkit-agent-1)
48 matteo 183413
49 dmorgan 184096 %description
50 dmorgan 184103 Razor-qt is an advanced, easy-to-use, and fast desktop environment based on
51     Qt technologies. It has been tailored for users who value simplicity, speed,
52     and an intuitive interface.
53 dmorgan 184096
54 dmorgan 184098 #------------------------------------------------------------------------------
55 matteo 183413
56 matteo 195842 %define librazormount_major 0
57     %define librazormount %mklibname razormount %{librazormount_major}
58 dmorgan 184098
59 matteo 195842 %package -n %librazormount
60     Summary: RazorQt shared library
61     Group: System/Libraries
62     License: LGPLv2+
63 dmorgan 184098
64     %description -n %librazormount
65 matteo 195844 %{summary}
66 dmorgan 184096
67 matteo 195842 %files -n %librazormount
68 wally 310704 %_libdir/lib%{oname}mount.so.%{librazormount_major}*
69     %pkgconfigdir/%{oname}mount.pc
70 dmorgan 184096
71 dmorgan 184098 #------------------------------------------------------------------------------
72 dmorgan 184096
73 matteo 195842 %define librazorqt_major 0
74     %define librazorqt %mklibname razorqt %{librazorqt_major}
75 matteo 183413
76 matteo 195842 %package -n %librazorqt
77     Summary: RazorQt shared library
78     Group: System/Libraries
79     License: LGPLv2+
80 dmorgan 184098
81     %description -n %librazorqt
82 matteo 195844 %{summary}
83 dmorgan 184096
84 matteo 195842 %files -n %librazorqt
85 wally 310704 %_libdir/lib%{oname}qt.so.%{librazorqt_major}*
86 matteo 293928 %pkgconfigdir/%{name}.pc
87 dmorgan 184096
88 dmorgan 184098 #------------------------------------------------------------------------------
89 dmorgan 184096
90 matteo 195842 %define librazorqxt_major 0
91     %define librazorqxt %mklibname razorqxt %{librazorqxt_major}
92 matteo 183413
93 matteo 195842 %package -n %librazorqxt
94 matteo 195844 Summary: Customized part of the libqxt library
95 matteo 195842 Group: System/Libraries
96     # BSD3 (gpl2 and gpl3 compatible, as from http://fedoraproject.org/wiki/Licensing#SoftwareLicenses)
97     License: BSD
98 dmorgan 184096
99 dmorgan 184098 %description -n %librazorqxt
100 matteo 195844 %{summary}
101 dmorgan 184096
102 matteo 195842 %files -n %librazorqxt
103 wally 310704 %doc libraries/%{oname}qxt/LICENSE
104     %_libdir/lib%{oname}qxt.so.%{librazorqxt_major}*
105     %pkgconfigdir/%{oname}qxt.pc
106 dmorgan 184098
107     #------------------------------------------------------------------------------
108    
109 matteo 195842 %define libqtxdg_major 0
110     %define libqtxdg %mklibname qtxdg %{libqtxdg_major}
111 dmorgan 184098
112 matteo 195842 %package -n %libqtxdg
113 matteo 195844 Summary: Xdg manipulation library using Qt4
114 matteo 195842 Group: System/Libraries
115 matteo 196372 # qiconloader.cpp and qiconloader_p.h -> lgplv2
116     # xdg* files -> lgplv2+
117 matteo 195842 License: LGPLv2+
118 dmorgan 184098
119     %description -n %libqtxdg
120 matteo 195844 %{summary}
121 dmorgan 184098
122 matteo 195842 %files -n %libqtxdg
123 dmorgan 184198 %_libdir/libqtxdg.so.%{libqtxdg_major}*
124 dmorgan 184098
125 dmorgan 184096 #--------------------------------------------------------------------
126    
127 dmorgan 184098 %package -n %libnamedevel
128 matteo 205705 Summary: RazorQt development package
129     Group: Development/Other
130 wally 295989 Requires: %librazormount = %{version}-%{release}
131 matteo 294389 Requires: %librazorqt = %{version}-%{release}
132     Requires: %librazorqxt = %{version}-%{release}
133 matteo 195842 License: GPLv2 and LGPLv2+
134 dmorgan 184098
135     %description -n %libnamedevel
136 matteo 195844 %{summary}
137 dmorgan 184098
138 matteo 195842 %files -n %libnamedevel
139 wally 310704 %{_libdir}/lib%{oname}*.so
140     %{_includedir}/%{oname}*/
141     %{_bindir}/%{oname}-x11info
142 dmorgan 184098
143     #------------------------------------------------------------------------------
144    
145     %package -n %{qtxdglibdevel}
146 matteo 183413 Summary: Development files for QtXdg library
147 matteo 183439 Group: Development/Other
148 dmorgan 184098 Requires: %{libqtxdg} = %{version}-%{release}
149 matteo 195842 License: LGPLv2+
150 matteo 183413
151 dmorgan 184098 %description -n %{qtxdglibdevel}
152 matteo 195844 %{summary}
153 dmorgan 184096
154 matteo 195842 %files -n %{qtxdglibdevel}
155 dmorgan 184096 %{_libdir}/libqtxdg.so
156     %{_includedir}/qtxdg/
157 matteo 187236 %pkgconfigdir/qtxdg.pc
158 dmorgan 184096
159     #--------------------------------------------------------------------
160    
161 matteo 183413 %package appswitcher
162     Summary: RazorQt application switcher
163 matteo 184073 Group: System/X11
164 matteo 294389 Requires: %{name}-data = %{version}-%{release}
165 matteo 195842 License: LGPLv2+
166 matteo 183413
167 matteo 298486 Conflicts: %{name}-appswitcher <= 0.4.99-0.git20120914.4.mga3
168     Obsoletes: %{name}-appswitcher <= 0.4.99-0.git20120914.4.mga3
169 matteo 298400
170 dmorgan 184096 %description appswitcher
171 matteo 195844 %{summary}
172 dmorgan 184096
173 matteo 195842 %files appswitcher
174 wally 310704 %{_bindir}/%{oname}-appswitcher
175 dmorgan 184096
176     #--------------------------------------------------------------------
177    
178 matteo 183413 %package desktop
179     Summary: RazorQt desktop
180 matteo 183439 Group: Graphical desktop/Other
181 matteo 294389 Requires: %{name}-data = %{version}-%{release}
182 matteo 297863 Requires: %{name}-config-desktop = %{version}-%{release}
183 matteo 195842 License: LGPLv2+
184 matteo 183413
185 matteo 298486 Conflicts: %{name}-desktop <= 0.4.99-0.git20120914.4.mga3
186     Obsoletes: %{name}-desktop <= 0.4.99-0.git20120914.4.mga3
187 matteo 297863
188 dmorgan 184096 %description desktop
189 matteo 195844 %{summary}
190 dmorgan 184096
191 matteo 195842 %files desktop
192 wally 310704 %{_bindir}/%{oname}-desktop
193     %{_libdir}/%{oname}-desktop
194     %dir %{_datadir}/%{oname}
195     %{_sysconfdir}/%{oname}/desktop.conf
196     %{_datadir}/%{oname}/%{oname}-desktop/
197 dmorgan 184096
198     #--------------------------------------------------------------------
199    
200 matteo 183413 %package panel
201     Summary: RazorQt panel
202 matteo 183439 Group: Graphical desktop/Other
203 matteo 195842 License: LGPLv2+
204 matteo 294389 Requires: %{name}-data = %{version}-%{release}
205 matteo 297863 Requires: %{name}-config-appearance = %{version}-%{release}
206     Requires: %{name}-config-mouse = %{version}-%{release}
207 matteo 183413
208 matteo 298486 Conflicts: %{name}-panel <= 0.4.99-0.git20120914.4.mga3
209     Obsoletes: %{name}-panel <= 0.4.99-0.git20120914.4.mga3
210 matteo 298400
211 dmorgan 184096 %description panel
212 matteo 195844 %{summary}
213 dmorgan 184096
214 matteo 195842 %files panel
215 wally 310704 %{_bindir}/%{oname}-panel
216     %{_libdir}/%{oname}-panel/
217     %{_datadir}/%{oname}/%{oname}-panel/
218     %{_sysconfdir}/%{oname}/%{oname}-panel/panel.conf
219 dmorgan 184096
220     #--------------------------------------------------------------------
221    
222 matteo 183413 %package data
223 matteo 205705 Summary: RazorQt resources and shared data
224     Group: Graphical desktop/Other
225 fwang 309328 BuildArch: noarch
226 matteo 183413
227 matteo 298486 Conflicts: %{name}-data <= 0.4.99-0.git20120914.4.mga3
228     Obsoletes: %{name}-data <= 0.4.99-0.git20120914.4.mga3
229 matteo 298400
230 dmorgan 184096 %description data
231 matteo 195844 %{summary}
232 dmorgan 184096
233 matteo 195842 %files data
234 wally 310704 %dir %{_datadir}/%{oname}
235     %dir %{_datadir}/%{oname}/themes
236     %dir %{_datadir}/%{oname}/graphics
237     %{_sysconfdir}/%{oname}/%{oname}.conf
238     %{_datadir}/%{oname}/graphics/*
239     %{_datadir}/%{oname}/themes/*
240     %config %_sysconfdir/xdg/menus/%{oname}-applications.menu
241 matteo 195842 %config %_sysconfdir/xdg/autostart/*.desktop
242 wally 310704 %config %_sysconfdir/%{oname}/windowmanagers.conf
243     %{_datadir}/desktop-directories/%{oname}*
244 matteo 293928 %{_datadir}/lib%{name}
245     %{_datadir}/libqtxdg/
246 dmorgan 184096 # temp files - it will be removed when it becomes part of upstream
247 matteo 293928 %{_datadir}/icons/hicolor/scalable/apps/laptop-lid*
248 dmorgan 184096
249     #--------------------------------------------------------------------
250    
251 matteo 297863 %package autosuspend
252     Summary: RazorQt autosuspend application
253     Group: Graphical desktop/Other
254     Requires: %{name}-data = %{version}-%{release}
255     Requires: %{name}-config-autosuspend = %{version}-%{release}
256     Requires: %{name}-power = %{version}-%{release}
257     License: LGPLv2+
258    
259     %description autosuspend
260     %{summary}
261    
262     %files autosuspend
263 wally 310704 %{_bindir}/%{oname}-autosuspend
264     #%{_datadir}/applications/%{oname}-autosuspend.desktop
265     %dir %{_datadir}/%{oname}/%{oname}-autosuspend
266     %{_datadir}/%{oname}/%{oname}-autosuspend/*
267     %{_iconsdir}/hicolor/scalable/apps/%{oname}-autosuspend.svg
268 matteo 297863
269     #--------------------------------------------------------------------
270    
271 matteo 205705 %package power
272     Summary: RazorQt power application
273     Group: Graphical desktop/Other
274 matteo 294389 Requires: %{name}-data = %{version}-%{release}
275 matteo 205705 License: LGPLv2+
276    
277 matteo 298486 Conflicts: %{name}-power <= 0.4.99-0.git20120914.4.mga3
278     Obsoletes: %{name}-power <= 0.4.99-0.git20120914.4.mga3
279 matteo 297863
280 matteo 205705 %description power
281     %{summary}
282    
283     %files power
284 wally 310704 %{_bindir}/%{oname}-power
285     %dir %{_datadir}/%{oname}/%{oname}-power
286     %{_datadir}/%{oname}/%{oname}-power/*.qm
287     %{_datadir}/applications/%{oname}-power.desktop
288 matteo 205705
289     #--------------------------------------------------------------------
290    
291 matteo 183413 %package runner
292 matteo 205705 Summary: RazorQt runner application
293     Group: Graphical desktop/Other
294 matteo 294389 Requires: %{name}-data = %{version}-%{release}
295 matteo 195842 License: LGPLv2+
296 matteo 183413
297 matteo 298486 Conflicts: %{name}-runner <= 0.4.99-0.git20120914.4.mga3
298     Obsoletes: %{name}-runner <= 0.4.99-0.git20120914.4.mga3
299 matteo 298400
300 dmorgan 184096 %description runner
301 matteo 195844 %{summary}
302 dmorgan 184096
303 matteo 195842 %files runner
304 wally 310704 %{_bindir}/%{oname}-runner
305     %dir %{_datadir}/%{oname}/%{oname}-runner
306     %{_datadir}/%{oname}/%{oname}-runner/*
307 dmorgan 184096
308     #--------------------------------------------------------------------
309    
310 matteo 297863 %package notificationd
311     Summary: RazorQt notification system
312     Group: Graphical desktop/Other
313     Requires: %{name}-config-notificationd
314    
315     %description notificationd
316     %{summary}
317    
318     %files notificationd
319 wally 310704 %{_bindir}/%{oname}-notificationd
320 matteo 297863
321     #--------------------------------------------------------------------
322    
323     %package globalkeyshortcuts
324     Summary: RazorQt global key shortcuts system
325     Group: Graphical desktop/Other
326     Requires: %{name}-config-globalkeyshortcuts
327    
328     %description globalkeyshortcuts
329     %{summary}
330    
331     %files globalkeyshortcuts
332 wally 310704 %{_bindir}/%{oname}-globalkeyshortcuts
333 matteo 297863
334     #--------------------------------------------------------------------
335    
336 matteo 183413 %package session
337     Summary: RazorQt session
338 matteo 183439 Group: Graphical desktop/Other
339 matteo 294389 Requires: %{name}-data = %{version}-%{release}
340 matteo 297863 Requires: %{name}-config-session = %{version}-%{release}
341     Requires: %{name}-notificationd = %{version}-%{release}
342     Requires: %{name}-globalkeyshortcuts = %{version}-%{release}
343 matteo 294389 Requires: openbox
344 matteo 205705 License: LGPLv2+
345 matteo 183413
346 matteo 298486 Conflicts: %{name}-session <= 0.4.99-0.git20120914.4.mga3
347     Obsoletes: %{name}-session <= 0.4.99-0.git20120914.4.mga3
348 matteo 297863
349 dmorgan 184096 %description session
350 matteo 195844 %{summary}
351 dmorgan 184096
352 matteo 195842 %files session
353 wally 310704 %{_bindir}/%{oname}-session
354     %{_bindir}/%{oname}-about
355     %{_bindir}/%{oname}-openssh-askpass
356     %{_bindir}/start%{oname}
357     %{_datadir}/applications/%{oname}-about.desktop
358     %{_sysconfdir}/%{oname}/session.conf
359     %dir %{_datadir}/%{oname}/%{oname}-session
360     %{_datadir}/%{oname}/%{oname}-session/*
361 matteo 186711 %{_sysconfdir}/X11/wmsession.d/*
362 dmorgan 184096
363     #--------------------------------------------------------------------
364    
365 matteo 183413 %package config
366     Summary: RazorQt config tools
367 matteo 183439 Group: Graphical desktop/Other
368 matteo 297863 License: LGPLv2+
369 matteo 302916 Requires: %{name}-data = %{version}-%{release}
370 matteo 183413
371 matteo 298486 Conflicts: %{name}-config <= 0.4.99-0.git20120914.4.mga3
372     Obsoletes: %{name}-config <= 0.4.99-0.git20120914.4.mga3
373 matteo 297863
374 dmorgan 184096 %description config
375 matteo 195844 %{summary}
376 matteo 183413
377 matteo 195842 %files config
378 wally 310704 %{_bindir}/%{oname}-config
379     %{_datadir}/applications/%{oname}-config.desktop
380     %{_datadir}/applications/%{oname}-config-qtconfig.desktop
381     %config %_sysconfdir/xdg/menus/%{oname}-config.menu
382     %dir %{_datadir}/%{oname}/%{oname}-config
383     %{_datadir}/%{oname}/%{oname}-config/razor-config-appearance*.qm
384     %{_datadir}/%{oname}/%{oname}-config/%{oname}-config_*.qm
385 matteo 297863
386     #--------------------------------------------------------------------
387    
388     %package config-globalkeyshortcuts
389     Summary: RazorQt globalkeyshortcuts configuration tool
390     Group: Graphical desktop/Other
391     Requires: %{name}-config = %{version}-%{release}
392    
393     %description config-globalkeyshortcuts
394     %{summary}
395    
396     %files config-globalkeyshortcuts
397 wally 310704 %{_bindir}/%{oname}-config-globalkeyshortcuts
398     %{_datadir}/applications/%{oname}-config-globalkeyshortcuts.desktop
399     %{_datadir}/%{oname}/%{oname}-config-globalkeyshortcuts/%{oname}-config-globalkeyshortcuts*.qm
400 matteo 297863
401     #--------------------------------------------------------------------
402    
403     %package config-notificationd
404     Summary: RazorQt notificationd configuration tool
405     Group: Graphical desktop/Other
406     Requires: %{name}-config = %{version}-%{release}
407    
408     %description config-notificationd
409     %{summary}
410    
411     %files config-notificationd
412 wally 310704 %{_bindir}/%{oname}-config-notificationd
413     %{_datadir}/applications/%{oname}-config-notificationd.desktop
414 matteo 297863
415     #--------------------------------------------------------------------
416    
417     %package config-desktop
418     Summary: RazorQt desktop configuration tool
419     Group: Graphical desktop/Other
420     Requires: %{name}-config = %{version}-%{release}
421    
422     %description config-desktop
423     %{summary}
424    
425     %files config-desktop
426 wally 310704 %{_bindir}/%{oname}-config-desktop
427     %{_datadir}/applications/%{oname}-config-desktop.desktop
428 matteo 297863
429    
430     #--------------------------------------------------------------------
431    
432     %package config-autosuspend
433     Summary: RazorQt autosuspend configuration tool
434     Group: Graphical desktop/Other
435     Requires: %{name}-config = %{version}-%{release}
436    
437     %description config-autosuspend
438     %{summary}
439    
440     %files config-autosuspend
441 wally 310704 %{_bindir}/%{oname}-config-autosuspend
442     %{_datadir}/applications/%{oname}-config-autosuspend.desktop
443     %{_datadir}/%{oname}/%{oname}-config-autosuspend/%{oname}-config-autosuspend*.qm
444 matteo 297863
445     #--------------------------------------------------------------------
446    
447     %package config-session
448     Summary: RazorQt session configuration tool
449     Group: Graphical desktop/Other
450     Requires: %{name}-config = %{version}-%{release}
451    
452     %description config-session
453     %{summary}
454    
455     %files config-session
456 wally 310704 %{_bindir}/%{oname}-config-session
457     %{_datadir}/applications/%{oname}-config-session.desktop
458     %dir %{_datadir}/%{oname}/%{oname}-config-session
459     %{_datadir}/%{oname}/%{oname}-config-session/*
460 matteo 183413
461 dmorgan 184096 #--------------------------------------------------------------------
462 matteo 183413
463 matteo 297863 %package config-mouse
464     Summary: RazorQt mouse configuration tool
465     Group: Graphical desktop/Other
466     Requires: %{name}-config = %{version}-%{release}
467     License: GPLv2 or GPLv3
468    
469     %description config-mouse
470     %{summary}
471    
472     %files config-mouse
473 wally 310704 %{_bindir}/%{oname}-config-mouse
474     %{_datadir}/applications/%{oname}-config-mouse.desktop
475     %{_datadir}/%{oname}/%{oname}-config/%{oname}-config-mouse*.qm
476 matteo 297863
477     #--------------------------------------------------------------------
478    
479     %package config-appearance
480     Summary: RazorQt appearance configuration tool
481     Group: Graphical desktop/Other
482     Requires: %{name}-config = %{version}-%{release}
483     License: LGPLv2+
484    
485     %description config-appearance
486     %{summary}
487    
488     %files config-appearance
489 wally 310704 %{_bindir}/%{oname}-config-appearance
490     %{_datadir}/applications/%{oname}-config-appearance.desktop
491 matteo 297863
492    
493     #--------------------------------------------------------------------
494    
495 matteo 293928 %package confupdate
496     Summary: RazorQt configuration update tool
497 matteo 302916 Requires: %{name}-data = %{version}-%{release}
498 matteo 293928
499 matteo 298486 Conflicts: %{name}-confupdate <= 0.4.99-0.git20120914.4.mga3
500     Obsoletes: %{name}-confupdate <= 0.4.99-0.git20120914.4.mga3
501 matteo 298400
502 matteo 293928 %description confupdate
503     Tool to update configuration from razorqt version 0.4.1 to 0.5.0
504    
505     %files confupdate
506 wally 310704 %{_bindir}/%{oname}-confupdate
507     %dir %{_datadir}/%{oname}/%{oname}-confupdate
508     %{_datadir}/%{oname}/%{oname}-confupdate/desktop-041-050.py
509     %{_datadir}/%{oname}/%{oname}-confupdate/%{oname}-0.5.upd
510     %{_libdir}/%{oname}-confupdate_bin/sesion_modules
511 matteo 293928
512     #--------------------------------------------------------------------
513    
514 matteo 309310 %package policykit-agent
515     Summary: A Qt based PolicyKit agent
516     Group: Graphical desktop/Other
517    
518     %description policykit-agent
519     %{summary}
520    
521     It provides a simple agent for the usage of RazorQt desktop or
522     any other desktop.
523    
524     %files policykit-agent
525 wally 310704 %{_bindir}/%{oname}-policykit-agent
526 matteo 309310
527     #--------------------------------------------------------------------
528    
529 wally 309227 %package -n lightdm-%{name}-greeter
530     Summary: LightDM greeter that uses the Razor-qt (Qt based) lib kit
531 wally 309229 Group: Graphical desktop/Other
532 wally 309227 Provides: lightdm-greeter
533     Requires: %{name}-data = %{version}-%{release}
534 wally 309238 Requires: %{name}-power = %{version}-%{release}
535 wally 309227 Requires: lightdm
536    
537     %description -n lightdm-%{name}-greeter
538     A LightDM greeter that uses the Razor-qt and Qt libraries, it was written
539     for Razor-qt but it can be used standalone as well.
540    
541     This package is part of the Razor-qt.
542    
543     %files -n lightdm-%{name}-greeter
544     %{_bindir}/razor-lightdm-greeter
545     %{_datadir}/xgreeters/lightdm-razor-greeter.desktop
546    
547     %post -n lightdm-%{name}-greeter
548     %{_sbindir}/update-alternatives \
549     --install %{_datadir}/xgreeters/lightdm-greeter.desktop \
550     lightdm-greeter \
551     %{_datadir}/xgreeters/lightdm-razor-greeter.desktop \
552     10
553    
554     %postun -n lightdm-%{name}-greeter
555     if [ $1 -eq 0 ]; then
556     %{_sbindir}/update-alternatives \
557     --remove lightdm-greeter \
558     %{_datadir}/xgreeters/lightdm-razor-greeter.desktop
559     fi
560    
561     #--------------------------------------------------------------------
562    
563 dmorgan 184096 %prep
564 matteo 293928 # git
565 matteo 305199 #%setup -q -n Razor-qt-razor-qt-%{git}
566 matteo 293928 # stable release
567 matteo 305199 %setup -q
568 matteo 293928 %patch2 -p1 -b .mgatheme
569 matteo 303039 %patch4 -p1 -b .razorpanelquicklaunch
570 matteo 309310 %patch5 -p1 -b .rzrsystemd
571 matteo 183413
572 dmorgan 184096 %build
573 wally 310714 %cmake_qt4 \
574     -DENABLE_POLICYKIT=ON \
575     -DBUNDLE_XDG_UTILS=NO
576 dmorgan 184096 %make
577    
578     %install
579     %makeinstall_std -C build
580 matteo 187236
581 wally 310704 pushd %{buildroot}%{_datadir}/%{oname}/themes/
582 matteo 293928 tar -xjf %{SOURCE1}
583     popd
584 wally 310714
585     install -D -d -m 755 %{buildroot}%{_datadir}/pkgconfig
586     mv %{buildroot}%{_libdir}/pkgconfig/*.pc %{buildroot}%{_datadir}/pkgconfig
587 matteo 195842 rm -fr %{buildroot}%{_libdir}/pkgconfig
588 matteo 187236
589 matteo 293949 for i in `find %{buildroot}%{_datadir}/applications/ -type f -name "*.desktop"`;
590     do
591     desktop-file-validate $i
592     done
593 matteo 196374
594 matteo 186711 #========================================
595 matteo 305253 # the session file
596    
597 matteo 186711 mkdir -p %{buildroot}%{_sysconfdir}/X11/wmsession.d
598 wally 310704 outfile=%{buildroot}%{_sysconfdir}/X11/wmsession.d/05%{oname}
599 dmorgan 184096
600 matteo 305253 cat > $outfile << EOF
601     NAME=RazorDesktop
602     DESC=The RazorQt Desktop Environment
603 wally 310704 EXEC=/usr/bin/start%{oname}
604 matteo 305253 SCRIPT:
605 wally 310704 exec /usr/bin/start%{oname}
606 matteo 186711
607 matteo 305253 EOF
608 matteo 186711
609 matteo 305253 rm -f %{buildroot}%{_datadir}/apps/kdm/sessions/*.desktop
610     rm -f %{buildroot}%{_datadir}/xsessions/*.desktop

  ViewVC Help
Powered by ViewVC 1.1.30