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