]>
Commit | Line | Data |
---|---|---|
6475fdf9 | 1 | Summary: The core programs for the GNOME GUI desktop environment |
9b8f7eb6 | 2 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME |
92ca1d3b | 3 | Name: gnome-panel |
cf6caaff | 4 | Version: 2.20.1 |
0aac8907 | 5 | Release: 1 |
92ca1d3b | 6 | License: LGPL |
7 | Group: X11/Applications | |
0a0d533f | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.20/%{name}-%{version}.tar.bz2 |
cf6caaff | 9 | # Source0-md5: 87ef96c2cbb8ecaa328420c0d31cc4c0 |
8648ec2a | 10 | Patch0: %{name}-finalize-memleak.patch |
4f54851d | 11 | Patch1: %{name}-no_launchers_on_panel.patch |
92ca1d3b | 12 | URL: http://www.gnome.org/ |
cf6caaff | 13 | BuildRequires: GConf2-devel >= 2.20.0 |
0a0d533f | 14 | BuildRequires: ORBit2-devel >= 1:2.14.9 |
21fb8784 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
0a0d533f MB |
17 | BuildRequires: evolution-data-server-devel >= 1.12.0 |
18 | BuildRequires: gnome-common >= 2.20.0 | |
19 | BuildRequires: gnome-desktop-devel >= 2.20.0 | |
20 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
21 | BuildRequires: gnome-menus-devel >= 2.20.0 | |
22 | BuildRequires: gnome-vfs2-devel >= 2.20.0 | |
23 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
95ca4e66 | 24 | BuildRequires: gtk-doc >= 1.8 |
0a0d533f | 25 | BuildRequires: intltool >= 0.36.2 |
95ca4e66 | 26 | BuildRequires: libart_lgpl-devel >= 2.3.19 |
0a0d533f | 27 | BuildRequires: libglade2-devel >= 1:2.6.2 |
cf6caaff | 28 | BuildRequires: libgnomeui-devel >= 2.20.0 |
21fb8784 | 29 | BuildRequires: libtool |
0a0d533f MB |
30 | BuildRequires: libwnck-devel >= 2.20.0 |
31 | BuildRequires: pango-devel >= 1:1.18.2 | |
0e65d7c1 | 32 | BuildRequires: perl-base |
26effa38 | 33 | BuildRequires: pkgconfig >= 1:0.15.0 |
0a0d533f | 34 | BuildRequires: python-libxml2 >= 1:2.6.30 |
80d31359 | 35 | BuildRequires: rpm-build >= 4.1-10 |
ff126c01 | 36 | BuildRequires: rpmbuild(macros) >= 1.311 |
eb963559 | 37 | BuildRequires: scrollkeeper >= 0.3.11 |
6189f4a2 | 38 | BuildConflicts: GConf-devel < 1.0.9-7 |
fa173a83 | 39 | Requires(post,postun): hicolor-icon-theme |
862abbe9 | 40 | Requires(post,postun): scrollkeeper |
95ca4e66 | 41 | Requires(post,preun): GConf2 |
8648ec2a | 42 | Requires: %{name}-libs = %{version}-%{release} |
0a0d533f MB |
43 | Requires: gnome-desktop >= 2.20.0 |
44 | Requires: gnome-icon-theme >= 2.20.0 | |
2da232f6 | 45 | Requires: xdg-menus |
c55de1ba MB |
46 | Suggests: gnome-utils-screenshot |
47 | Suggests: gnome-utils-search-tool | |
6475fdf9 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 49 | |
92ca1d3b | 50 | %description |
51 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
52 | applications and desktop tools to be used in conjunction with a window | |
53 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 54 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 55 | |
6c1adb18 | 56 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 57 | basic applets for the panel. |
58 | ||
874f0170 | 59 | %description -l pl.UTF-8 |
d5b99877 | 60 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
61 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
62 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 63 | na wolnym oprogramowaniu. |
6475fdf9 JB |
64 | |
65 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
66 | panelu GNOME2. | |
67 | ||
642a3f1f JB |
68 | %package libs |
69 | Summary: GNOME panel library | |
70 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
71 | Group: X11/Libraries | |
cf6caaff | 72 | Requires: libgnomeui >= 2.20.0 |
0a0d533f | 73 | Requires: librsvg >= 1:2.18.1 |
642a3f1f JB |
74 | |
75 | %description libs | |
76 | GNOME panel library. | |
77 | ||
78 | %description libs -l pl.UTF-8 | |
79 | Biblioteka panelu GNOME. | |
80 | ||
92ca1d3b | 81 | %package devel |
6475fdf9 | 82 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 83 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 84 | Group: X11/Development/Libraries |
8648ec2a | 85 | Requires: %{name}-libs = %{version}-%{release} |
cf6caaff | 86 | Requires: libgnomeui-devel >= 2.20.0 |
92ca1d3b | 87 | |
88 | %description devel | |
6475fdf9 JB |
89 | Panel header files for creating GNOME panels. |
90 | ||
874f0170 JR |
91 | %description devel -l pl.UTF-8 |
92 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 93 | |
94 | %package static | |
6475fdf9 | 95 | Summary: GNOME panel static libraries |
9b8f7eb6 | 96 | Summary(pl.UTF-8): Statyczne biblioteki panelu GNOME |
df4e27aa | 97 | Group: X11/Development/Libraries |
0e65d7c1 | 98 | Requires: %{name}-devel = %{version}-%{release} |
92ca1d3b | 99 | |
100 | %description static | |
6475fdf9 JB |
101 | Panel static libraries. |
102 | ||
874f0170 | 103 | %description static -l pl.UTF-8 |
6475fdf9 | 104 | Statyczne biblioteki panelu GNOME. |
92ca1d3b | 105 | |
9bcb8fd2 | 106 | %package apidocs |
107 | Summary: panel-applet API documentation | |
9b8f7eb6 | 108 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 109 | Group: Documentation |
110 | Requires: gtk-doc-common | |
111 | ||
112 | %description apidocs | |
113 | panel-applet API documentation. | |
114 | ||
874f0170 | 115 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 116 | Dokumentacja API panel-applet. |
117 | ||
92ca1d3b | 118 | %prep |
119 | %setup -q | |
d7ed3215 | 120 | %patch0 -p1 |
9f964f1b | 121 | %patch1 -p1 |
92ca1d3b | 122 | |
123 | %build | |
ff126c01 | 124 | %{__gnome_doc_prepare} |
8648ec2a | 125 | %{__gnome_doc_common} |
862abbe9 | 126 | %{__intltoolize} |
416c8122 | 127 | %{__libtoolize} |
b642f223 | 128 | %{__aclocal} |
416c8122 | 129 | %{__autoheader} |
130 | %{__autoconf} | |
131 | %{__automake} | |
d5524f48 | 132 | %configure \ |
8648ec2a | 133 | --disable-schemas-install \ |
0e65d7c1 | 134 | --enable-eds \ |
8648ec2a | 135 | --enable-gtk-doc \ |
136 | --with-html-dir=%{_gtkdocdir} | |
92ca1d3b | 137 | %{__make} |
138 | ||
92ca1d3b | 139 | %install |
140 | rm -rf $RPM_BUILD_ROOT | |
9a580b5b | 141 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}} |
92ca1d3b | 142 | |
143 | %{__make} install \ | |
0e65d7c1 | 144 | DESTDIR=$RPM_BUILD_ROOT \ |
145 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
92ca1d3b | 146 | |
a97815a6 | 147 | install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name} |
1886b570 | 148 | |
8648ec2a | 149 | # short circuit stopper (fix me!) |
94c035c1 | 150 | mv ChangeLog main-ChangeLog |
e4781580 | 151 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh |
d9c76eec | 152 | |
8648ec2a | 153 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries |
b642f223 | 154 | |
92ca1d3b | 155 | %find_lang %{name} --with-gnome --all-name |
156 | ||
157 | %clean | |
158 | rm -rf $RPM_BUILD_ROOT | |
159 | ||
160 | %post | |
862abbe9 | 161 | %scrollkeeper_update_post |
162 | %gconf_schema_install clock.schemas | |
163 | %gconf_schema_install fish.schemas | |
164 | %gconf_schema_install panel-compatibility.schemas | |
165 | %gconf_schema_install panel-general.schemas | |
166 | %gconf_schema_install panel-global.schemas | |
167 | %gconf_schema_install panel-object.schemas | |
168 | %gconf_schema_install panel-toplevel.schemas | |
169 | %gconf_schema_install window-list.schemas | |
170 | %gconf_schema_install workspace-switcher.schemas | |
ff126c01 | 171 | %update_icon_cache hicolor |
172 | ||
a97815a6 | 173 | %{_bindir}/gconftool-2 --direct \ |
f318c1be | 174 | --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \ |
175 | --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null | |
176 | %{_bindir}/gconftool-2 --direct \ | |
177 | --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \ | |
178 | --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null | |
ff126c01 | 179 | |
91d32b68 | 180 | %preun |
862abbe9 | 181 | %gconf_schema_uninstall clock.schemas |
182 | %gconf_schema_uninstall fish.schemas | |
183 | %gconf_schema_uninstall panel-compatibility.schemas | |
184 | %gconf_schema_uninstall panel-general.schemas | |
185 | %gconf_schema_uninstall panel-global.schemas | |
186 | %gconf_schema_uninstall panel-object.schemas | |
187 | %gconf_schema_uninstall panel-toplevel.schemas | |
188 | %gconf_schema_uninstall window-list.schemas | |
189 | %gconf_schema_uninstall workspace-switcher.schemas | |
91d32b68 | 190 | |
46857caa | 191 | %postun |
862abbe9 | 192 | %scrollkeeper_update_postun |
ff126c01 | 193 | %update_icon_cache hicolor |
92ca1d3b | 194 | |
8648ec2a | 195 | %post libs -p /sbin/ldconfig |
196 | %postun libs -p /sbin/ldconfig | |
197 | ||
92ca1d3b | 198 | %files -f %{name}.lang |
199 | %defattr(644,root,root,755) | |
95ca4e66 | 200 | %doc AUTHORS MAINTAINERS NEWS README *ChangeLog |
fa173a83 MB |
201 | %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit |
202 | %attr(755,root,root) %{_bindir}/gnome-panel | |
203 | %attr(755,root,root) %{_bindir}/panel-test-applets | |
0e65d7c1 | 204 | %attr(755,root,root) %{_libdir}/clock-applet |
8648ec2a | 205 | %attr(755,root,root) %{_libdir}/fish-applet-2 |
8d17bcef | 206 | %attr(755,root,root) %{_libdir}/notification-area-applet |
8648ec2a | 207 | %attr(755,root,root) %{_libdir}/wnck-applet |
9dca2cd2 | 208 | %{_datadir}/gnome-2.0/ui/* |
a97815a6 | 209 | %{_datadir}/gnome-panel |
1886b570 | 210 | %{_datadir}/gnome-panelrc |
92ca1d3b | 211 | %{_datadir}/idl/gnome-panel-2.0 |
95ca4e66 | 212 | %{_desktopdir}/gnome-panel.desktop |
fa173a83 | 213 | %{_iconsdir}/hicolor/*/apps/* |
8648ec2a | 214 | %{_libdir}/bonobo/servers/* |
92ca1d3b | 215 | %{_mandir}/man1/* |
8648ec2a | 216 | %{_sysconfdir}/gconf/schemas/clock.schemas |
217 | %{_sysconfdir}/gconf/schemas/fish.schemas | |
218 | %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas | |
219 | %{_sysconfdir}/gconf/schemas/panel-general.schemas | |
220 | %{_sysconfdir}/gconf/schemas/panel-global.schemas | |
221 | %{_sysconfdir}/gconf/schemas/panel-object.schemas | |
222 | %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas | |
223 | %{_sysconfdir}/gconf/schemas/window-list.schemas | |
224 | %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas | |
0a0d533f MB |
225 | %dir %{_omf_dest_dir}/clock |
226 | %{_omf_dest_dir}/clock/clock-C.omf | |
227 | %lang(ca) %{_omf_dest_dir}/clock/clock-ca.omf | |
228 | %lang(de) %{_omf_dest_dir}/clock/clock-de.omf | |
229 | %lang(el) %{_omf_dest_dir}/clock/clock-el.omf | |
230 | %lang(es) %{_omf_dest_dir}/clock/clock-es.omf | |
231 | %lang(fr) %{_omf_dest_dir}/clock/clock-fr.omf | |
232 | %lang(it) %{_omf_dest_dir}/clock/clock-it.omf | |
233 | %lang(ja) %{_omf_dest_dir}/clock/clock-ja.omf | |
234 | %lang(ko) %{_omf_dest_dir}/clock/clock-ko.omf | |
235 | %lang(nl) %{_omf_dest_dir}/clock/clock-nl.omf | |
236 | %lang(oc) %{_omf_dest_dir}/clock/clock-oc.omf | |
237 | %lang(pa) %{_omf_dest_dir}/clock/clock-pa.omf | |
238 | %lang(ru) %{_omf_dest_dir}/clock/clock-ru.omf | |
239 | %lang(sr) %{_omf_dest_dir}/clock/clock-sr.omf | |
240 | %lang(sv) %{_omf_dest_dir}/clock/clock-sv.omf | |
241 | %lang(uk) %{_omf_dest_dir}/clock/clock-uk.omf | |
242 | %lang(zh_CN) %{_omf_dest_dir}/clock/clock-zh_CN.omf | |
243 | %lang(zh_TW) %{_omf_dest_dir}/clock/clock-zh_TW.omf | |
244 | %dir %{_omf_dest_dir}/fish | |
245 | %{_omf_dest_dir}/fish/fish-C.omf | |
246 | %lang(ca) %{_omf_dest_dir}/fish/fish-ca.omf | |
247 | %lang(el) %{_omf_dest_dir}/fish/fish-el.omf | |
248 | %lang(es) %{_omf_dest_dir}/fish/fish-es.omf | |
249 | %lang(fr) %{_omf_dest_dir}/fish/fish-fr.omf | |
250 | %lang(it) %{_omf_dest_dir}/fish/fish-it.omf | |
251 | %lang(ko) %{_omf_dest_dir}/fish/fish-ko.omf | |
252 | %lang(oc) %{_omf_dest_dir}/fish/fish-oc.omf | |
253 | %lang(sv) %{_omf_dest_dir}/fish/fish-sv.omf | |
254 | %lang(uk) %{_omf_dest_dir}/fish/fish-uk.omf | |
255 | %dir %{_omf_dest_dir}/gnome-panel | |
256 | %lang(de) %{_omf_dest_dir}/gnome-panel/fish-applet-2-de.omf | |
257 | %lang(ja) %{_omf_dest_dir}/gnome-panel/fish-applet-2-ja.omf | |
258 | %lang(zh_CN) %{_omf_dest_dir}/gnome-panel/fish-applet-2-zh_CN.omf | |
259 | %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/fish-applet-2-zh_TW.omf | |
260 | %lang(de) %{_omf_dest_dir}/gnome-panel/window-list-de.omf | |
261 | %lang(ja) %{_omf_dest_dir}/gnome-panel/window-list-ja.omf | |
262 | %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/window-list-zh_TW.omf | |
263 | %lang(de) %{_omf_dest_dir}/gnome-panel/workspace-switcher-de.omf | |
264 | %lang(ja) %{_omf_dest_dir}/gnome-panel/workspace-switcher-ja.omf | |
265 | %lang(zh_CN) %{_omf_dest_dir}/gnome-panel/workspace-switcher-zh_CN.omf | |
266 | %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/workspace-switcher-zh_TW.omf | |
267 | %dir %{_omf_dest_dir}/window-list | |
268 | %{_omf_dest_dir}/window-list/window-list-C.omf | |
269 | %lang(ca) %{_omf_dest_dir}/window-list/window-list-ca.omf | |
cf6caaff | 270 | %lang(de) %{_omf_dest_dir}/window-list/window-list-de.omf |
0a0d533f MB |
271 | %lang(el) %{_omf_dest_dir}/window-list/window-list-el.omf |
272 | %lang(es) %{_omf_dest_dir}/window-list/window-list-es.omf | |
273 | %lang(fr) %{_omf_dest_dir}/window-list/window-list-fr.omf | |
274 | %lang(it) %{_omf_dest_dir}/window-list/window-list-it.omf | |
275 | %lang(ko) %{_omf_dest_dir}/window-list/window-list-ko.omf | |
276 | %lang(oc) %{_omf_dest_dir}/window-list/window-list-oc.omf | |
277 | %lang(pa) %{_omf_dest_dir}/window-list/window-list-pa.omf | |
278 | %lang(ru) %{_omf_dest_dir}/window-list/window-list-ru.omf | |
279 | %lang(sv) %{_omf_dest_dir}/window-list/window-list-sv.omf | |
280 | %lang(uk) %{_omf_dest_dir}/window-list/window-list-uk.omf | |
281 | %lang(zh_CN) %{_omf_dest_dir}/window-list/window-list-zh_CN.omf | |
282 | %dir %{_omf_dest_dir}/workspace-switcher | |
283 | %{_omf_dest_dir}/workspace-switcher/workspace-switcher-C.omf | |
284 | %lang(ca) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ca.omf | |
cf6caaff | 285 | %lang(de) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-de.omf |
0a0d533f MB |
286 | %lang(el) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-el.omf |
287 | %lang(es) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-es.omf | |
288 | %lang(fr) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-fr.omf | |
289 | %lang(it) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-it.omf | |
290 | %lang(ko) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ko.omf | |
291 | %lang(nl) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-nl.omf | |
292 | %lang(oc) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-oc.omf | |
293 | %lang(pa) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-pa.omf | |
294 | %lang(ru) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ru.omf | |
295 | %lang(sv) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-sv.omf | |
296 | %lang(uk) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-uk.omf | |
297 | %lang(vi) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-vi.omf | |
92ca1d3b | 298 | |
642a3f1f JB |
299 | %files libs |
300 | %defattr(644,root,root,755) | |
301 | %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.* | |
302 | ||
92ca1d3b | 303 | %files devel |
304 | %defattr(644,root,root,755) | |
fa173a83 MB |
305 | %attr(755,root,root) %{_libdir}/libpanel-applet-2.so |
306 | %{_libdir}/libpanel-applet-2.la | |
92ca1d3b | 307 | %{_includedir}/panel-2.0 |
fa173a83 | 308 | %{_pkgconfigdir}/libpanelapplet-2.0.pc |
92ca1d3b | 309 | |
310 | %files static | |
311 | %defattr(644,root,root,755) | |
fa173a83 | 312 | %{_libdir}/libpanel-applet-2.a |
8648ec2a | 313 | |
9bcb8fd2 | 314 | %files apidocs |
315 | %defattr(644,root,root,755) | |
316 | %{_gtkdocdir}/panel-applet |