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