]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- updated to 2.20.0.1; merged from DEVEL
[packages/gnome-panel.git] / gnome-panel.spec
1 Summary:        The core programs for the GNOME GUI desktop environment
2 Summary(pl.UTF-8):      Podstawowe programy środowiska graficznego GNOME
3 Name:           gnome-panel
4 Version:        2.20.0.1
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bead455015de6bd86bb7259e6276af9e
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.19.1
14 BuildRequires:  ORBit2-devel >= 1:2.14.9
15 BuildRequires:  autoconf
16 BuildRequires:  automake
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
24 BuildRequires:  gtk-doc >= 1.8
25 BuildRequires:  intltool >= 0.36.2
26 BuildRequires:  libart_lgpl-devel >= 2.3.19
27 BuildRequires:  libglade2-devel >= 1:2.6.2
28 BuildRequires:  libgnomeui-devel >= 2.19.1
29 BuildRequires:  libtool
30 BuildRequires:  libwnck-devel >= 2.20.0
31 BuildRequires:  pango-devel >= 1:1.18.2
32 BuildRequires:  perl-base
33 BuildRequires:  pkgconfig >= 1:0.15.0
34 BuildRequires:  python-libxml2 >= 1:2.6.30
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.20.0
44 Requires:       gnome-icon-theme >= 2.20.0
45 Requires:       xdg-menus
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
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.
53
54 The gnome-panel packages provides the GNOME panel, menus and some
55 basic applets for the panel.
56
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.
62
63 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
64 panelu GNOME2.
65
66 %package libs
67 Summary:        GNOME panel library
68 Summary(pl.UTF-8):      Biblioteka panelu GNOME
69 Group:          X11/Libraries
70 Requires:       libgnomeui >= 2.19.1
71 Requires:       librsvg >= 1:2.18.1
72
73 %description libs
74 GNOME panel library.
75
76 %description libs -l pl.UTF-8
77 Biblioteka panelu GNOME.
78
79 %package devel
80 Summary:        GNOME panel includes, and more
81 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki panelu GNOME
82 Group:          X11/Development/Libraries
83 Requires:       %{name}-libs = %{version}-%{release}
84 Requires:       libgnomeui-devel >= 2.19.1
85
86 %description devel
87 Panel header files for creating GNOME panels.
88
89 %description devel -l pl.UTF-8
90 Pliki nagłówkowe bibliotek panelu GNOME.
91
92 %package static
93 Summary:        GNOME panel static libraries
94 Summary(pl.UTF-8):      Statyczne biblioteki panelu GNOME
95 Group:          X11/Development/Libraries
96 Requires:       %{name}-devel = %{version}-%{release}
97
98 %description static
99 Panel static libraries.
100
101 %description static -l pl.UTF-8
102 Statyczne biblioteki panelu GNOME.
103
104 %package apidocs
105 Summary:        panel-applet API documentation
106 Summary(pl.UTF-8):      Dokumentacja API panel-applet
107 Group:          Documentation
108 Requires:       gtk-doc-common
109
110 %description apidocs
111 panel-applet API documentation.
112
113 %description apidocs -l pl.UTF-8
114 Dokumentacja API panel-applet.
115
116 %prep
117 %setup -q
118 %patch0 -p1
119 %patch1 -p1
120
121 %build
122 %{__gnome_doc_prepare}
123 %{__gnome_doc_common}
124 %{__intltoolize}
125 %{__libtoolize}
126 %{__aclocal}
127 %{__autoheader}
128 %{__autoconf}
129 %{__automake}
130 %configure \
131         --disable-schemas-install \
132         --enable-eds \
133         --enable-gtk-doc \
134         --with-html-dir=%{_gtkdocdir}
135 %{__make}
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
140
141 %{__make} install \
142         DESTDIR=$RPM_BUILD_ROOT \
143         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
144
145 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
146
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
150
151 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
152
153 %find_lang %{name} --with-gnome --all-name
154
155 %clean
156 rm -rf $RPM_BUILD_ROOT
157
158 %post
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
170
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
177
178 %banner %{name} -e << EOF
179 For full functionality, you need to install
180 gnome-utils-screenshot and gnome-utils-search-tool.
181 EOF
182
183 %preun
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
193
194 %postun
195 %scrollkeeper_update_postun
196 %update_icon_cache hicolor
197
198 %post   libs -p /sbin/ldconfig
199 %postun libs -p /sbin/ldconfig
200
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-panelrc
214 %{_datadir}/idl/gnome-panel-2.0
215 %{_desktopdir}/gnome-panel.desktop
216 %{_iconsdir}/hicolor/*/apps/*
217 %{_libdir}/bonobo/servers/*
218 %{_mandir}/man1/*
219 %{_sysconfdir}/gconf/schemas/clock.schemas
220 %{_sysconfdir}/gconf/schemas/fish.schemas
221 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
222 %{_sysconfdir}/gconf/schemas/panel-general.schemas
223 %{_sysconfdir}/gconf/schemas/panel-global.schemas
224 %{_sysconfdir}/gconf/schemas/panel-object.schemas
225 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
226 %{_sysconfdir}/gconf/schemas/window-list.schemas
227 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
228 %dir %{_omf_dest_dir}/clock
229 %{_omf_dest_dir}/clock/clock-C.omf
230 %lang(ca) %{_omf_dest_dir}/clock/clock-ca.omf
231 %lang(de) %{_omf_dest_dir}/clock/clock-de.omf
232 %lang(el) %{_omf_dest_dir}/clock/clock-el.omf
233 %lang(es) %{_omf_dest_dir}/clock/clock-es.omf
234 %lang(fr) %{_omf_dest_dir}/clock/clock-fr.omf
235 %lang(it) %{_omf_dest_dir}/clock/clock-it.omf
236 %lang(ja) %{_omf_dest_dir}/clock/clock-ja.omf
237 %lang(ko) %{_omf_dest_dir}/clock/clock-ko.omf
238 %lang(nl) %{_omf_dest_dir}/clock/clock-nl.omf
239 %lang(oc) %{_omf_dest_dir}/clock/clock-oc.omf
240 %lang(pa) %{_omf_dest_dir}/clock/clock-pa.omf
241 %lang(ru) %{_omf_dest_dir}/clock/clock-ru.omf
242 %lang(sr) %{_omf_dest_dir}/clock/clock-sr.omf
243 %lang(sv) %{_omf_dest_dir}/clock/clock-sv.omf
244 %lang(uk) %{_omf_dest_dir}/clock/clock-uk.omf
245 %lang(zh_CN) %{_omf_dest_dir}/clock/clock-zh_CN.omf
246 %lang(zh_TW) %{_omf_dest_dir}/clock/clock-zh_TW.omf
247 %dir %{_omf_dest_dir}/fish
248 %{_omf_dest_dir}/fish/fish-C.omf
249 %lang(ca) %{_omf_dest_dir}/fish/fish-ca.omf
250 %lang(el) %{_omf_dest_dir}/fish/fish-el.omf
251 %lang(es) %{_omf_dest_dir}/fish/fish-es.omf
252 %lang(fr) %{_omf_dest_dir}/fish/fish-fr.omf
253 %lang(it) %{_omf_dest_dir}/fish/fish-it.omf
254 %lang(ko) %{_omf_dest_dir}/fish/fish-ko.omf
255 %lang(oc) %{_omf_dest_dir}/fish/fish-oc.omf
256 %lang(sv) %{_omf_dest_dir}/fish/fish-sv.omf
257 %lang(uk) %{_omf_dest_dir}/fish/fish-uk.omf
258 %dir %{_omf_dest_dir}/gnome-panel
259 %lang(de) %{_omf_dest_dir}/gnome-panel/fish-applet-2-de.omf
260 %lang(ja) %{_omf_dest_dir}/gnome-panel/fish-applet-2-ja.omf
261 %lang(zh_CN) %{_omf_dest_dir}/gnome-panel/fish-applet-2-zh_CN.omf
262 %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/fish-applet-2-zh_TW.omf
263 %lang(de) %{_omf_dest_dir}/gnome-panel/window-list-de.omf
264 %lang(ja) %{_omf_dest_dir}/gnome-panel/window-list-ja.omf
265 %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/window-list-zh_TW.omf
266 %lang(de) %{_omf_dest_dir}/gnome-panel/workspace-switcher-de.omf
267 %lang(ja) %{_omf_dest_dir}/gnome-panel/workspace-switcher-ja.omf
268 %lang(zh_CN) %{_omf_dest_dir}/gnome-panel/workspace-switcher-zh_CN.omf
269 %lang(zh_TW) %{_omf_dest_dir}/gnome-panel/workspace-switcher-zh_TW.omf
270 %dir %{_omf_dest_dir}/window-list
271 %{_omf_dest_dir}/window-list/window-list-C.omf
272 %lang(ca) %{_omf_dest_dir}/window-list/window-list-ca.omf
273 %lang(el) %{_omf_dest_dir}/window-list/window-list-el.omf
274 %lang(es) %{_omf_dest_dir}/window-list/window-list-es.omf
275 %lang(fr) %{_omf_dest_dir}/window-list/window-list-fr.omf
276 %lang(it) %{_omf_dest_dir}/window-list/window-list-it.omf
277 %lang(ko) %{_omf_dest_dir}/window-list/window-list-ko.omf
278 %lang(oc) %{_omf_dest_dir}/window-list/window-list-oc.omf
279 %lang(pa) %{_omf_dest_dir}/window-list/window-list-pa.omf
280 %lang(ru) %{_omf_dest_dir}/window-list/window-list-ru.omf
281 %lang(sv) %{_omf_dest_dir}/window-list/window-list-sv.omf
282 %lang(uk) %{_omf_dest_dir}/window-list/window-list-uk.omf
283 %lang(zh_CN) %{_omf_dest_dir}/window-list/window-list-zh_CN.omf
284 %dir %{_omf_dest_dir}/workspace-switcher
285 %{_omf_dest_dir}/workspace-switcher/workspace-switcher-C.omf
286 %lang(ca) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ca.omf
287 %lang(el) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-el.omf
288 %lang(es) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-es.omf
289 %lang(fr) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-fr.omf
290 %lang(it) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-it.omf
291 %lang(ko) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ko.omf
292 %lang(nl) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-nl.omf
293 %lang(oc) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-oc.omf
294 %lang(pa) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-pa.omf
295 %lang(ru) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-ru.omf
296 %lang(sv) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-sv.omf
297 %lang(uk) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-uk.omf
298 %lang(vi) %{_omf_dest_dir}/workspace-switcher/workspace-switcher-vi.omf
299
300 %files libs
301 %defattr(644,root,root,755)
302 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.*
303
304 %files devel
305 %defattr(644,root,root,755)
306 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so
307 %{_libdir}/libpanel-applet-2.la
308 %{_includedir}/panel-2.0
309 %{_pkgconfigdir}/libpanelapplet-2.0.pc
310
311 %files static
312 %defattr(644,root,root,755)
313 %{_libdir}/libpanel-applet-2.a
314
315 %files apidocs
316 %defattr(644,root,root,755)
317 %{_gtkdocdir}/panel-applet
This page took 0.047039 seconds and 4 git commands to generate.