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 Patch2: %{name}-desktop.patch
13 URL: http://www.gnome.org/
14 BuildRequires: GConf2-devel >= 2.18.0.1
15 BuildRequires: ORBit2-devel >= 1:2.14.7
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: evolution-data-server-devel >= 1.9.92
19 BuildRequires: gnome-common >= 2.12.0
20 BuildRequires: gnome-desktop-devel >= 2.18.0
21 BuildRequires: gnome-doc-utils >= 0.10.0
22 BuildRequires: gnome-menus-devel >= 2.17.92
23 BuildRequires: gnome-vfs2-devel >= 2.18.0
24 BuildRequires: gtk+2-devel >= 2:2.10.10
25 BuildRequires: gtk-doc >= 1.8
26 BuildRequires: intltool >= 0.35.5
27 BuildRequires: libart_lgpl-devel >= 2.3.19
28 BuildRequires: libglade2-devel >= 1:2.6.0
29 BuildRequires: libgnomeui-devel >= 2.18.0
30 BuildRequires: libtool
31 BuildRequires: libwnck-devel >= 2.17.92
32 BuildRequires: pango-devel >= 1:1.16.0
33 BuildRequires: perl-base
34 BuildRequires: pkgconfig >= 1:0.15.0
35 BuildRequires: python-libxml2 >= 1:2.6.27
36 BuildRequires: rpm-build >= 4.1-10
37 BuildRequires: rpmbuild(macros) >= 1.311
38 BuildRequires: scrollkeeper >= 0.3.11
39 BuildConflicts: GConf-devel < 1.0.9-7
40 Requires(post,postun): hicolor-icon-theme
41 Requires(post,postun): scrollkeeper
42 Requires(post,preun): GConf2
43 Requires: %{name}-libs = %{version}-%{release}
44 Requires: gnome-desktop >= 2.18.0
45 Requires: gnome-icon-theme >= 2.17.91
47 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 GNOME (GNU Network Object Model Environment) is a user-friendly set of
51 applications and desktop tools to be used in conjunction with a window
52 manager for the X Window System. GNOME is similar in purpose and scope
53 to CDE and KDE, but GNOME is based completely on free software.
55 The gnome-panel packages provides the GNOME panel, menus and some
56 basic applets for the panel.
58 %description -l pl.UTF-8
59 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
60 użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
61 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
62 na wolnym oprogramowaniu.
64 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
68 Summary: GNOME panel includes, and more
69 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME
70 Group: X11/Development/Libraries
71 Requires: %{name}-libs = %{version}-%{release}
72 Requires: libgnomeui-devel >= 2.18.0
75 Panel header files for creating GNOME panels.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe bibliotek panelu GNOME.
81 Summary: GNOME panel static libraries
82 Summary(pl.UTF-8): Statyczne biblioteki panelu GNOME
83 Group: X11/Development/Libraries
84 Requires: %{name}-devel = %{version}-%{release}
87 Panel static libraries.
89 %description static -l pl.UTF-8
90 Statyczne biblioteki panelu GNOME.
93 Summary: GNOME panel library
94 Summary(pl.UTF-8): Biblioteka panelu GNOME
96 Requires: libgnomeui >= 2.18.0
97 Requires: librsvg >= 1:2.16.1
102 %description libs -l pl.UTF-8
103 Biblioteka panelu GNOME.
106 Summary: panel-applet API documentation
107 Summary(pl.UTF-8): Dokumentacja API panel-applet
109 Requires: gtk-doc-common
112 panel-applet API documentation.
114 %description apidocs -l pl.UTF-8
115 Dokumentacja API panel-applet.
124 %{__gnome_doc_prepare}
125 %{__gnome_doc_common}
133 --disable-schemas-install \
136 --with-html-dir=%{_gtkdocdir}
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
144 DESTDIR=$RPM_BUILD_ROOT \
145 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
147 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
149 # short circuit stopper (fix me!)
150 mv ChangeLog main-ChangeLog
151 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
153 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
155 %find_lang %{name} --with-gnome --all-name
158 rm -rf $RPM_BUILD_ROOT
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
171 %update_icon_cache hicolor
173 %{_bindir}/gconftool-2 --direct \
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
180 %banner %{name} -e << EOF
181 For full functionality, you need to install
182 gnome-utils-screenshot and gnome-utils-search-tool.
186 %gconf_schema_uninstall clock.schemas
187 %gconf_schema_uninstall fish.schemas
188 %gconf_schema_uninstall panel-compatibility.schemas
189 %gconf_schema_uninstall panel-general.schemas
190 %gconf_schema_uninstall panel-global.schemas
191 %gconf_schema_uninstall panel-object.schemas
192 %gconf_schema_uninstall panel-toplevel.schemas
193 %gconf_schema_uninstall window-list.schemas
194 %gconf_schema_uninstall workspace-switcher.schemas
197 %scrollkeeper_update_postun
198 %update_icon_cache hicolor
200 %post libs -p /sbin/ldconfig
201 %postun libs -p /sbin/ldconfig
203 %files -f %{name}.lang
204 %defattr(644,root,root,755)
205 %doc AUTHORS MAINTAINERS NEWS README *ChangeLog
206 %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
207 %attr(755,root,root) %{_bindir}/gnome-panel
208 %attr(755,root,root) %{_bindir}/panel-test-applets
209 %attr(755,root,root) %{_libdir}/clock-applet
210 %attr(755,root,root) %{_libdir}/fish-applet-2
211 %attr(755,root,root) %{_libdir}/notification-area-applet
212 %attr(755,root,root) %{_libdir}/wnck-applet
213 %{_datadir}/gnome-2.0/ui/*
214 %{_datadir}/gnome-panel
215 %{_datadir}/gnome/panel
216 %{_datadir}/gnome-panelrc
217 %{_datadir}/idl/gnome-panel-2.0
218 %{_desktopdir}/gnome-panel.desktop
219 %{_iconsdir}/hicolor/*/apps/*
220 %{_libdir}/bonobo/servers/*
222 %{_omf_dest_dir}/clock
223 %{_omf_dest_dir}/fish
224 %{_omf_dest_dir}/gnome-panel
225 %{_omf_dest_dir}/window-list
226 %{_omf_dest_dir}/workspace-switcher
227 %{_sysconfdir}/gconf/schemas/clock.schemas
228 %{_sysconfdir}/gconf/schemas/fish.schemas
229 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
230 %{_sysconfdir}/gconf/schemas/panel-general.schemas
231 %{_sysconfdir}/gconf/schemas/panel-global.schemas
232 %{_sysconfdir}/gconf/schemas/panel-object.schemas
233 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
234 %{_sysconfdir}/gconf/schemas/window-list.schemas
235 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so
240 %{_libdir}/libpanel-applet-2.la
241 %{_includedir}/panel-2.0
242 %{_pkgconfigdir}/libpanelapplet-2.0.pc
245 %defattr(644,root,root,755)
246 %{_libdir}/libpanel-applet-2.a
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.*
253 %defattr(644,root,root,755)
254 %{_gtkdocdir}/panel-applet