1 Summary: The core programs for the GNOME GUI desktop environment
2 Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-panel/2.18/%{name}-%{version}.tar.bz2
9 # Source0-md5: 67ab5a4df1817fe14572d9e366664665
10 Patch0: %{name}-finalize-memleak.patch
11 Patch1: %{name}-no_launchers_on_panel.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.18.0.1
14 BuildRequires: ORBit2-devel >= 1:2.14.7
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: evolution-data-server-devel >= 1.9.92
18 BuildRequires: gnome-common >= 2.12.0
19 BuildRequires: gnome-desktop-devel >= 2.18.0
20 BuildRequires: gnome-doc-utils >= 0.10.0
21 BuildRequires: gnome-menus-devel >= 2.17.92
22 BuildRequires: gnome-vfs2-devel >= 2.18.0
23 BuildRequires: gtk+2-devel >= 2:2.10.10
24 BuildRequires: gtk-doc >= 1.8
25 BuildRequires: intltool >= 0.35.5
26 BuildRequires: libart_lgpl-devel >= 2.3.19
27 BuildRequires: libglade2-devel >= 1:2.6.0
28 BuildRequires: libgnomeui-devel >= 2.18.0
29 BuildRequires: libtool
30 BuildRequires: libwnck-devel >= 2.17.92
31 BuildRequires: pango-devel >= 1:1.16.0
32 BuildRequires: perl-base
33 BuildRequires: pkgconfig >= 1:0.15.0
34 BuildRequires: python-libxml2 >= 1:2.6.27
35 BuildRequires: rpm-build >= 4.1-10
36 BuildRequires: rpmbuild(macros) >= 1.311
37 BuildRequires: scrollkeeper >= 0.3.11
38 BuildConflicts: GConf-devel < 1.0.9-7
39 Requires(post,postun): hicolor-icon-theme
40 Requires(post,postun): scrollkeeper
41 Requires(post,preun): GConf2
42 Requires: %{name}-libs = %{version}-%{release}
43 Requires: gnome-desktop >= 2.18.0
44 Requires: gnome-icon-theme >= 2.17.91
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 GNOME (GNU Network Object Model Environment) is a user-friendly set of
50 applications and desktop tools to be used in conjunction with a window
51 manager for the X Window System. GNOME is similar in purpose and scope
52 to CDE and KDE, but GNOME is based completely on free software.
54 The gnome-panel packages provides the GNOME panel, menus and some
55 basic applets for the panel.
57 %description -l pl.UTF-8
58 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
59 użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
60 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
61 na wolnym oprogramowaniu.
63 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
67 Summary: GNOME panel includes, and more
68 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME
69 Group: X11/Development/Libraries
70 Requires: %{name}-libs = %{version}-%{release}
71 Requires: libgnomeui-devel >= 2.18.0
74 Panel header files for creating GNOME panels.
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe bibliotek panelu GNOME.
80 Summary: GNOME panel static libraries
81 Summary(pl.UTF-8): Statyczne biblioteki panelu GNOME
82 Group: X11/Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
86 Panel static libraries.
88 %description static -l pl.UTF-8
89 Statyczne biblioteki panelu GNOME.
92 Summary: GNOME panel library
93 Summary(pl.UTF-8): Biblioteka panelu GNOME
95 Requires: libgnomeui >= 2.18.0
96 Requires: librsvg >= 1:2.16.1
101 %description libs -l pl.UTF-8
102 Biblioteka panelu GNOME.
105 Summary: panel-applet API documentation
106 Summary(pl.UTF-8): Dokumentacja API panel-applet
108 Requires: gtk-doc-common
111 panel-applet API documentation.
113 %description apidocs -l pl.UTF-8
114 Dokumentacja API panel-applet.
122 %{__gnome_doc_prepare}
123 %{__gnome_doc_common}
131 --disable-schemas-install \
134 --with-html-dir=%{_gtkdocdir}
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
142 DESTDIR=$RPM_BUILD_ROOT \
143 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
145 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
147 # short circuit stopper (fix me!)
148 mv ChangeLog main-ChangeLog
149 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
151 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
153 %find_lang %{name} --with-gnome --all-name
156 rm -rf $RPM_BUILD_ROOT
159 %scrollkeeper_update_post
160 %gconf_schema_install clock.schemas
161 %gconf_schema_install fish.schemas
162 %gconf_schema_install panel-compatibility.schemas
163 %gconf_schema_install panel-general.schemas
164 %gconf_schema_install panel-global.schemas
165 %gconf_schema_install panel-object.schemas
166 %gconf_schema_install panel-toplevel.schemas
167 %gconf_schema_install window-list.schemas
168 %gconf_schema_install workspace-switcher.schemas
169 %update_icon_cache hicolor
171 %{_bindir}/gconftool-2 --direct \
172 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
173 --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
174 %{_bindir}/gconftool-2 --direct \
175 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
176 --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null
178 %banner %{name} -e << EOF
179 For full functionality, you need to install
180 gnome-utils-screenshot and gnome-utils-search-tool.
184 %gconf_schema_uninstall clock.schemas
185 %gconf_schema_uninstall fish.schemas
186 %gconf_schema_uninstall panel-compatibility.schemas
187 %gconf_schema_uninstall panel-general.schemas
188 %gconf_schema_uninstall panel-global.schemas
189 %gconf_schema_uninstall panel-object.schemas
190 %gconf_schema_uninstall panel-toplevel.schemas
191 %gconf_schema_uninstall window-list.schemas
192 %gconf_schema_uninstall workspace-switcher.schemas
195 %scrollkeeper_update_postun
196 %update_icon_cache hicolor
198 %post libs -p /sbin/ldconfig
199 %postun libs -p /sbin/ldconfig
201 %files -f %{name}.lang
202 %defattr(644,root,root,755)
203 %doc AUTHORS MAINTAINERS NEWS README *ChangeLog
204 %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
205 %attr(755,root,root) %{_bindir}/gnome-panel
206 %attr(755,root,root) %{_bindir}/panel-test-applets
207 %attr(755,root,root) %{_libdir}/clock-applet
208 %attr(755,root,root) %{_libdir}/fish-applet-2
209 %attr(755,root,root) %{_libdir}/notification-area-applet
210 %attr(755,root,root) %{_libdir}/wnck-applet
211 %{_datadir}/gnome-2.0/ui/*
212 %{_datadir}/gnome-panel
213 %{_datadir}/gnome/panel
214 %{_datadir}/gnome-panelrc
215 %{_datadir}/idl/gnome-panel-2.0
216 %{_desktopdir}/gnome-panel.desktop
217 %{_iconsdir}/hicolor/*/apps/*
218 %{_libdir}/bonobo/servers/*
220 %{_omf_dest_dir}/clock
221 %{_omf_dest_dir}/fish
222 %{_omf_dest_dir}/gnome-panel
223 %{_omf_dest_dir}/window-list
224 %{_omf_dest_dir}/workspace-switcher
225 %{_sysconfdir}/gconf/schemas/clock.schemas
226 %{_sysconfdir}/gconf/schemas/fish.schemas
227 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
228 %{_sysconfdir}/gconf/schemas/panel-general.schemas
229 %{_sysconfdir}/gconf/schemas/panel-global.schemas
230 %{_sysconfdir}/gconf/schemas/panel-object.schemas
231 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
232 %{_sysconfdir}/gconf/schemas/window-list.schemas
233 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so
238 %{_libdir}/libpanel-applet-2.la
239 %{_includedir}/panel-2.0
240 %{_pkgconfigdir}/libpanelapplet-2.0.pc
243 %defattr(644,root,root,755)
244 %{_libdir}/libpanel-applet-2.a
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.*
251 %defattr(644,root,root,755)
252 %{_gtkdocdir}/panel-applet