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