]>
Commit | Line | Data |
---|---|---|
45cb17b7 PZ |
1 | # TODO: |
2 | # - NetworkManager bcond | |
3 | # | |
6475fdf9 | 4 | Summary: The core programs for the GNOME GUI desktop environment |
9b8f7eb6 | 5 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME |
92ca1d3b | 6 | Name: gnome-panel |
1776eeea | 7 | Version: 2.24.2 |
2da93b42 | 8 | Release: 3 |
92ca1d3b | 9 | License: LGPL |
10 | Group: X11/Applications | |
f51b9b99 | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.24/%{name}-%{version}.tar.bz2 |
1776eeea | 12 | # Source0-md5: a8c9df673e12e72694b55c665bb739dc |
45cb17b7 | 13 | Patch0: %{name}-no_launchers_on_panel.patch |
f51b9b99 | 14 | # http://bugzilla.gnome.org/show_bug.cgi?id=552049 |
49e3f399 | 15 | Patch1: %{name}-use-sysconfig-timezone.patch |
2da93b42 JR |
16 | Patch2: %{name}-logout.patch |
17 | Patch3: %{name}-logout-po.patch | |
92ca1d3b | 18 | URL: http://www.gnome.org/ |
f51b9b99 | 19 | BuildRequires: GConf2-devel >= 2.24.0 |
d9df2219 | 20 | BuildRequires: NetworkManager-devel >= 0.6 |
0a0d533f | 21 | BuildRequires: ORBit2-devel >= 1:2.14.9 |
45cb17b7 | 22 | BuildRequires: PolicyKit-gnome-devel >= 0.7 |
21fb8784 | 23 | BuildRequires: autoconf |
45cb17b7 PZ |
24 | BuildRequires: automake > 1:1.9 |
25 | BuildRequires: dbus-devel >= 1.1.2 | |
26 | BuildRequires: dbus-glib-devel >= 0.74 | |
f51b9b99 | 27 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
45cb17b7 | 28 | BuildRequires: gettext-devel |
f51b9b99 | 29 | BuildRequires: glib2-devel >= 1:2.18.0 |
485cb2fc | 30 | BuildRequires: gnome-common >= 2.24.0 |
f51b9b99 | 31 | BuildRequires: gnome-desktop-devel >= 2.24.0 |
485cb2fc | 32 | BuildRequires: gnome-doc-utils >= 0.14.0 |
f51b9b99 MB |
33 | BuildRequires: gnome-menus-devel >= 2.24.0 |
34 | BuildRequires: gtk+2-devel >= 2:2.14.0 | |
45cb17b7 | 35 | BuildRequires: gtk-doc >= 1.9 |
485cb2fc MB |
36 | BuildRequires: intltool >= 0.40.0 |
37 | BuildRequires: libbonoboui-devel >= 2.24.0 | |
0a0d533f | 38 | BuildRequires: libglade2-devel >= 1:2.6.2 |
f51b9b99 | 39 | BuildRequires: libgnomeui-devel >= 2.24.0 |
485cb2fc | 40 | BuildRequires: libgweather-devel >= 2.24.1 |
f51b9b99 | 41 | BuildRequires: librsvg-devel >= 2.22.0 |
21fb8784 | 42 | BuildRequires: libtool |
f51b9b99 | 43 | BuildRequires: libwnck-devel >= 2.24.0 |
0e65d7c1 | 44 | BuildRequires: perl-base |
26effa38 | 45 | BuildRequires: pkgconfig >= 1:0.15.0 |
80d31359 | 46 | BuildRequires: rpm-build >= 4.1-10 |
531f9312 | 47 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
ff126c01 | 48 | BuildRequires: rpmbuild(macros) >= 1.311 |
eb963559 | 49 | BuildRequires: scrollkeeper >= 0.3.11 |
6189f4a2 | 50 | BuildConflicts: GConf-devel < 1.0.9-7 |
45cb17b7 | 51 | Requires(post,postun): gtk+2 |
fa173a83 | 52 | Requires(post,postun): hicolor-icon-theme |
862abbe9 | 53 | Requires(post,postun): scrollkeeper |
95ca4e66 | 54 | Requires(post,preun): GConf2 |
8648ec2a | 55 | Requires: %{name}-libs = %{version}-%{release} |
f51b9b99 MB |
56 | Requires: gnome-desktop >= 2.24.0 |
57 | Requires: gnome-icon-theme >= 2.24.0 | |
49e3f399 | 58 | Requires: tzdata >= 2008b-4 |
2da232f6 | 59 | Requires: xdg-menus |
f8129a3c | 60 | Suggests: PolicyKit-gnome >= 0.7 |
c55de1ba MB |
61 | Suggests: gnome-utils-screenshot |
62 | Suggests: gnome-utils-search-tool | |
6b414668 | 63 | # sr@Latn vs. sr@latin |
64 | Conflicts: glibc-misc < 6:2.7 | |
6475fdf9 | 65 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 66 | |
92ca1d3b | 67 | %description |
68 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
69 | applications and desktop tools to be used in conjunction with a window | |
70 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 71 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 72 | |
6c1adb18 | 73 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 74 | basic applets for the panel. |
75 | ||
874f0170 | 76 | %description -l pl.UTF-8 |
d5b99877 | 77 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
78 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
79 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 80 | na wolnym oprogramowaniu. |
6475fdf9 JB |
81 | |
82 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
83 | panelu GNOME2. | |
84 | ||
642a3f1f JB |
85 | %package libs |
86 | Summary: GNOME panel library | |
87 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
88 | Group: X11/Libraries | |
f51b9b99 MB |
89 | Requires: libgnomeui >= 2.24.0 |
90 | Requires: librsvg >= 1:2.22.0 | |
642a3f1f JB |
91 | |
92 | %description libs | |
93 | GNOME panel library. | |
94 | ||
95 | %description libs -l pl.UTF-8 | |
96 | Biblioteka panelu GNOME. | |
97 | ||
92ca1d3b | 98 | %package devel |
6475fdf9 | 99 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 100 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 101 | Group: X11/Development/Libraries |
8648ec2a | 102 | Requires: %{name}-libs = %{version}-%{release} |
485cb2fc MB |
103 | Requires: gtk+2-devel >= 2:2.14.0 |
104 | Requires: libbonoboui-devel >= 2.24.0 | |
f51b9b99 | 105 | Requires: libgnomeui-devel >= 2.24.0 |
92ca1d3b | 106 | |
107 | %description devel | |
6475fdf9 JB |
108 | Panel header files for creating GNOME panels. |
109 | ||
874f0170 JR |
110 | %description devel -l pl.UTF-8 |
111 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 112 | |
113 | %package static | |
6475fdf9 | 114 | Summary: GNOME panel static libraries |
9b8f7eb6 | 115 | Summary(pl.UTF-8): Statyczne biblioteki panelu GNOME |
df4e27aa | 116 | Group: X11/Development/Libraries |
0e65d7c1 | 117 | Requires: %{name}-devel = %{version}-%{release} |
92ca1d3b | 118 | |
119 | %description static | |
6475fdf9 JB |
120 | Panel static libraries. |
121 | ||
874f0170 | 122 | %description static -l pl.UTF-8 |
6475fdf9 | 123 | Statyczne biblioteki panelu GNOME. |
92ca1d3b | 124 | |
9bcb8fd2 | 125 | %package apidocs |
126 | Summary: panel-applet API documentation | |
9b8f7eb6 | 127 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 128 | Group: Documentation |
129 | Requires: gtk-doc-common | |
130 | ||
131 | %description apidocs | |
132 | panel-applet API documentation. | |
133 | ||
874f0170 | 134 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 135 | Dokumentacja API panel-applet. |
136 | ||
92ca1d3b | 137 | %prep |
138 | %setup -q | |
d7ed3215 | 139 | %patch0 -p1 |
49e3f399 | 140 | %patch1 -p0 |
2da93b42 JR |
141 | %patch2 -p1 |
142 | %patch3 -p1 | |
92ca1d3b | 143 | |
45cb17b7 PZ |
144 | # short circuit stopper (fix me!) |
145 | mv ChangeLog main-ChangeLog | |
146 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
531f9312 | 147 | |
92ca1d3b | 148 | %build |
ff126c01 | 149 | %{__gnome_doc_prepare} |
8648ec2a | 150 | %{__gnome_doc_common} |
862abbe9 | 151 | %{__intltoolize} |
416c8122 | 152 | %{__libtoolize} |
b642f223 | 153 | %{__aclocal} |
416c8122 | 154 | %{__autoconf} |
45cb17b7 | 155 | %{__autoheader} |
416c8122 | 156 | %{__automake} |
d5524f48 | 157 | %configure \ |
8648ec2a | 158 | --disable-schemas-install \ |
0e65d7c1 | 159 | --enable-eds \ |
8648ec2a | 160 | --enable-gtk-doc \ |
161 | --with-html-dir=%{_gtkdocdir} | |
92ca1d3b | 162 | %{__make} |
163 | ||
92ca1d3b | 164 | %install |
165 | rm -rf $RPM_BUILD_ROOT | |
9a580b5b | 166 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}} |
92ca1d3b | 167 | |
168 | %{__make} install \ | |
0e65d7c1 | 169 | DESTDIR=$RPM_BUILD_ROOT \ |
170 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
92ca1d3b | 171 | |
a97815a6 | 172 | install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name} |
1886b570 | 173 | |
8648ec2a | 174 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries |
36e16b7a | 175 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{ca@valencia,la} |
b642f223 | 176 | |
531f9312 | 177 | %find_lang %{name} --with-gnome --with-omf --all-name |
92ca1d3b | 178 | |
179 | %clean | |
180 | rm -rf $RPM_BUILD_ROOT | |
181 | ||
182 | %post | |
862abbe9 | 183 | %scrollkeeper_update_post |
184 | %gconf_schema_install clock.schemas | |
185 | %gconf_schema_install fish.schemas | |
186 | %gconf_schema_install panel-compatibility.schemas | |
187 | %gconf_schema_install panel-general.schemas | |
188 | %gconf_schema_install panel-global.schemas | |
189 | %gconf_schema_install panel-object.schemas | |
190 | %gconf_schema_install panel-toplevel.schemas | |
191 | %gconf_schema_install window-list.schemas | |
192 | %gconf_schema_install workspace-switcher.schemas | |
ff126c01 | 193 | %update_icon_cache hicolor |
194 | ||
a97815a6 | 195 | %{_bindir}/gconftool-2 --direct \ |
f318c1be | 196 | --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \ |
197 | --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null | |
198 | %{_bindir}/gconftool-2 --direct \ | |
199 | --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \ | |
200 | --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null | |
ff126c01 | 201 | |
91d32b68 | 202 | %preun |
862abbe9 | 203 | %gconf_schema_uninstall clock.schemas |
204 | %gconf_schema_uninstall fish.schemas | |
205 | %gconf_schema_uninstall panel-compatibility.schemas | |
206 | %gconf_schema_uninstall panel-general.schemas | |
207 | %gconf_schema_uninstall panel-global.schemas | |
208 | %gconf_schema_uninstall panel-object.schemas | |
209 | %gconf_schema_uninstall panel-toplevel.schemas | |
210 | %gconf_schema_uninstall window-list.schemas | |
211 | %gconf_schema_uninstall workspace-switcher.schemas | |
91d32b68 | 212 | |
46857caa | 213 | %postun |
862abbe9 | 214 | %scrollkeeper_update_postun |
ff126c01 | 215 | %update_icon_cache hicolor |
92ca1d3b | 216 | |
8648ec2a | 217 | %post libs -p /sbin/ldconfig |
218 | %postun libs -p /sbin/ldconfig | |
219 | ||
92ca1d3b | 220 | %files -f %{name}.lang |
221 | %defattr(644,root,root,755) | |
95ca4e66 | 222 | %doc AUTHORS MAINTAINERS NEWS README *ChangeLog |
fa173a83 MB |
223 | %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit |
224 | %attr(755,root,root) %{_bindir}/gnome-panel | |
225 | %attr(755,root,root) %{_bindir}/panel-test-applets | |
0e65d7c1 | 226 | %attr(755,root,root) %{_libdir}/clock-applet |
8648ec2a | 227 | %attr(755,root,root) %{_libdir}/fish-applet-2 |
45cb17b7 | 228 | %attr(755,root,root) %{_libdir}/gnome-clock-applet-mechanism |
8d17bcef | 229 | %attr(755,root,root) %{_libdir}/notification-area-applet |
8648ec2a | 230 | %attr(755,root,root) %{_libdir}/wnck-applet |
f7864ecf | 231 | %{_datadir}/PolicyKit/policy/org.gnome.clockapplet.mechanism.policy |
45cb17b7 PZ |
232 | %{_datadir}/dbus-1/system-services/org.gnome.ClockApplet.Mechanism.service |
233 | %{_datadir}/gnome-2.0/ui/*.xml | |
a97815a6 | 234 | %{_datadir}/gnome-panel |
1886b570 | 235 | %{_datadir}/gnome-panelrc |
92ca1d3b | 236 | %{_datadir}/idl/gnome-panel-2.0 |
95ca4e66 | 237 | %{_desktopdir}/gnome-panel.desktop |
fa173a83 | 238 | %{_iconsdir}/hicolor/*/apps/* |
45cb17b7 PZ |
239 | %{_libdir}/bonobo/servers/*.server |
240 | %{_mandir}/man1/*.1* | |
241 | %{_sysconfdir}/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf | |
8648ec2a | 242 | %{_sysconfdir}/gconf/schemas/clock.schemas |
243 | %{_sysconfdir}/gconf/schemas/fish.schemas | |
244 | %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas | |
245 | %{_sysconfdir}/gconf/schemas/panel-general.schemas | |
246 | %{_sysconfdir}/gconf/schemas/panel-global.schemas | |
247 | %{_sysconfdir}/gconf/schemas/panel-object.schemas | |
248 | %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas | |
249 | %{_sysconfdir}/gconf/schemas/window-list.schemas | |
250 | %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas | |
92ca1d3b | 251 | |
642a3f1f JB |
252 | %files libs |
253 | %defattr(644,root,root,755) | |
254 | %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.* | |
45cb17b7 | 255 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet-2.so.0 |
642a3f1f | 256 | |
92ca1d3b | 257 | %files devel |
258 | %defattr(644,root,root,755) | |
fa173a83 MB |
259 | %attr(755,root,root) %{_libdir}/libpanel-applet-2.so |
260 | %{_libdir}/libpanel-applet-2.la | |
92ca1d3b | 261 | %{_includedir}/panel-2.0 |
fa173a83 | 262 | %{_pkgconfigdir}/libpanelapplet-2.0.pc |
92ca1d3b | 263 | |
264 | %files static | |
265 | %defattr(644,root,root,755) | |
fa173a83 | 266 | %{_libdir}/libpanel-applet-2.a |
8648ec2a | 267 | |
9bcb8fd2 | 268 | %files apidocs |
269 | %defattr(644,root,root,755) | |
270 | %{_gtkdocdir}/panel-applet |