]>
Commit | Line | Data |
---|---|---|
1 | Summary: MacOS-like Dock for GNOME | |
2 | Summary(pl.UTF-8): Dok w stylu MacOS dla GNOME | |
3 | Name: cairo-dock | |
4 | Version: 2.2.0.4 | |
5 | Release: 1 | |
6 | License: GPL v3+ | |
7 | Group: Applications | |
8 | #Source0Download: https://github.com/Cairo-Dock/cairo-dock-core/releases | |
9 | Source0: https://github.com/Cairo-Dock/cairo-dock-core/archive/2.2.0-4/cairo-dock-core-2.2.0-4.tar.gz | |
10 | # Source0-md5: dac87d416f5721af45c56abbac464fa4 | |
11 | Patch0: %{name}-desktop.patch | |
12 | Patch1: %{name}-format.patch | |
13 | URL: http://glx-dock.org/ | |
14 | BuildRequires: cairo-devel | |
15 | BuildRequires: cmake >= 2.6 | |
16 | BuildRequires: dbus-devel | |
17 | BuildRequires: dbus-glib | |
18 | BuildRequires: dbus-glib-devel | |
19 | BuildRequires: gettext-tools | |
20 | BuildRequires: glib2-devel >= 2.0 | |
21 | BuildRequires: gtk+2-devel >= 1:2.0 | |
22 | BuildRequires: gtkglext-devel >= 1.2.0 | |
23 | BuildRequires: librsvg-devel >= 2.0 | |
24 | BuildRequires: libxml2-devel >= 2.0 | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: rpmbuild(macros) >= 1.605 | |
27 | BuildRequires: xorg-lib-libXcomposite-devel | |
28 | BuildRequires: xorg-lib-libXinerama-devel | |
29 | BuildRequires: xorg-lib-libXrender-devel | |
30 | BuildRequires: xorg-lib-libXtst-devel | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | An light eye-candy fully themable animated dock for any Linux desktop. | |
35 | It has a family-likeness with MacOS X dock, but with more options. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Jasny, miły dla oka, w pełni obsługujący motywy, animowany dok dla | |
39 | pulpitu linuksowego. Jest zbliżony do doka z MacOS X, ale ma więcej | |
40 | opcji. | |
41 | ||
42 | %package devel | |
43 | Summary: Header files for cairo-dock plugins development | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek cairo-docka | |
45 | Group: Development/Libraries | |
46 | Requires: cairo-devel | |
47 | Requires: dbus-devel | |
48 | Requires: dbus-glib-devel | |
49 | Requires: glib2-devel >= 2.0 | |
50 | Requires: gtk+2-devel >= 1:2.0 | |
51 | Requires: gtkglext-devel >= 1.0 | |
52 | Requires: librsvg-devel >= 2.0 | |
53 | Requires: libxml2-devel >= 2.0 | |
54 | Requires: xorg-lib-libXcomposite-devel | |
55 | Requires: xorg-lib-libXinerama-devel | |
56 | Requires: xorg-lib-libXrender-devel | |
57 | Requires: xorg-lib-libXtst-devel | |
58 | ||
59 | %description devel | |
60 | Header files for cairo-dock plugins development. | |
61 | ||
62 | %description devel -l pl.UTF-8 | |
63 | Pliki nagłówkowe do tworzenia wtyczek cairo-docka. | |
64 | ||
65 | %prep | |
66 | %setup -q -n cairo-dock-core-2.2.0-4 | |
67 | %patch0 -p1 | |
68 | %patch1 -p1 | |
69 | ||
70 | %build | |
71 | install -d build | |
72 | cd build | |
73 | %cmake .. | |
74 | ||
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} -C build install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | # for plugins (see cairo-dock.pc) | |
84 | install -d $RPM_BUILD_ROOT{%{_libdir}/cairo-dock,%{_datadir}/%{name}/plug-ins} | |
85 | ||
86 | %find_lang %{name} | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
94 | %files -f %{name}.lang | |
95 | %defattr(644,root,root,755) | |
96 | %attr(755,root,root) %{_bindir}/cairo-dock | |
97 | %attr(755,root,root) %{_bindir}/cairo-dock-package-theme | |
98 | %attr(755,root,root) %{_bindir}/launch-cairo-dock-with-delay | |
99 | %attr(755,root,root) %{_libdir}/libgldi.so.*.*.* | |
100 | %attr(755,root,root) %ghost %{_libdir}/libgldi.so.2 | |
101 | %dir %{_libdir}/cairo-dock | |
102 | %dir %{_datadir}/%{name} | |
103 | %{_datadir}/%{name}/ChangeLog.txt | |
104 | %attr(755,root,root) %{_datadir}/%{name}/help_scripts.sh | |
105 | %{_datadir}/%{name}/*.conf | |
106 | %{_datadir}/%{name}/*.desktop | |
107 | %{_datadir}/%{name}/*.png | |
108 | %{_datadir}/%{name}/*.svg | |
109 | %{_datadir}/%{name}/*.xpm | |
110 | %dir %{_datadir}/%{name}/explosion | |
111 | %{_datadir}/%{name}/explosion/*.png | |
112 | %dir %{_datadir}/%{name}/gauges | |
113 | %{_datadir}/%{name}/gauges/Battery | |
114 | %{_datadir}/%{name}/gauges/Turbo-night-fuel | |
115 | %dir %{_datadir}/%{name}/plug-ins | |
116 | %dir %{_datadir}/%{name}/themes | |
117 | %{_datadir}/%{name}/themes/_default_ | |
118 | %{_desktopdir}/cairo-dock.desktop | |
119 | %{_desktopdir}/cairo-dock-cairo.desktop | |
120 | %{_pixmapsdir}/cairo-dock.svg | |
121 | %{_mandir}/man1/cairo-dock.1* | |
122 | ||
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libgldi.so | |
126 | %{_includedir}/cairo-dock | |
127 | %{_pkgconfigdir}/cairo-dock.pc | |
128 | %{_pkgconfigdir}/gldi.pc |