]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- release 1.1 to rebuild.
[packages/gnome-panel.git] / gnome-panel.spec
1 Summary:        The core programs for the GNOME GUI desktop environment
2 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME
3 Name:           gnome-panel
4 Version:        2.16.2
5 Release:        1.1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-panel/2.16/%{name}-%{version}.tar.bz2
9 # Source0-md5:  82b98a9b2685cca2d381e185cae47596
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.12.0
14 BuildRequires:  ORBit2-devel >= 1:2.14.3
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  evolution-data-server-devel >= 1.8.1
18 BuildRequires:  gnome-common >= 2.12.0
19 BuildRequires:  gnome-doc-utils >= 0.8.0
20 BuildRequires:  gnome-desktop-devel >= 2.16.1
21 BuildRequires:  gnome-menus-devel >= 2.16.0
22 BuildRequires:  gnome-vfs2-devel >= 2.16.1
23 BuildRequires:  gtk+2-devel >= 2:2.10.5
24 BuildRequires:  gtk-doc >= 1.7
25 BuildRequires:  intltool >= 0.35
26 BuildRequires:  libart_lgpl-devel >= 2.3.17
27 BuildRequires:  libglade2-devel >= 1:2.6.0
28 BuildRequires:  libgnomeui-devel >= 2.16.0
29 BuildRequires:  libtool
30 BuildRequires:  libwnck-devel >= 2.16.1
31 BuildRequires:  pango-devel >= 1:1.14.5
32 BuildRequires:  perl-base
33 BuildRequires:  pkgconfig >= 1:0.15.0
34 BuildRequires:  python-libxml2 >= 1:2.6.26
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,preun):   GConf2 >= 2.14.0
40 Requires(post,postun):  scrollkeeper
41 Requires:       %{name}-libs = %{version}-%{release}
42 Requires:       hicolor-icon-theme
43 Requires:       gnome-desktop >= 2.16.1
44 Requires:       gnome-icon-theme >= 2.16.0.1
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
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 devel
67 Summary:        GNOME panel includes, and more
68 Summary(pl):    Pliki nag³ówkowe biblioteki panelu GNOME
69 Group:          X11/Development/Libraries
70 Requires:       %{name}-libs = %{version}-%{release}
71 Requires:       libgnomeui-devel >= 2.16.0
72
73 %description devel
74 Panel header files for creating GNOME panels.
75
76 %description devel -l pl
77 Pliki nag³ówkowe bibliotek panelu GNOME.
78
79 %package static
80 Summary:        GNOME panel static libraries
81 Summary(pl):    Statyczne biblioteki panelu GNOME
82 Group:          X11/Development/Libraries
83 Requires:       %{name}-devel = %{version}-%{release}
84
85 %description static
86 Panel static libraries.
87
88 %description static -l pl
89 Statyczne biblioteki panelu GNOME.
90
91 %package libs
92 Summary:        GNOME panel library
93 Summary(pl):    Biblioteka panelu GNOME
94 Group:          X11/Libraries
95 Requires:       libgnomeui >= 2.16.0
96 Requires:       librsvg >= 1:2.16.0
97
98 %description libs
99 GNOME panel library.
100
101 %description libs -l pl
102 Biblioteka panelu GNOME.
103
104 %package apidocs
105 Summary:        panel-applet API documentation
106 Summary(pl):    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
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 NEWS README *ChangeLog
204 %attr(755,root,root) %{_bindir}/*
205 %attr(755,root,root) %{_libdir}/clock-applet
206 %attr(755,root,root) %{_libdir}/fish-applet-2
207 %attr(755,root,root) %{_libdir}/notification-area-applet
208 %attr(755,root,root) %{_libdir}/wnck-applet
209 %{_datadir}/gnome-2.0/ui/*
210 %{_datadir}/gnome-panel
211 %{_datadir}/gnome/panel
212 %{_datadir}/gnome-panelrc
213 %{_datadir}/idl/gnome-panel-2.0
214 %{_iconsdir}/*/*/apps/*
215 %{_libdir}/bonobo/servers/*
216 %{_mandir}/man1/*
217 %{_omf_dest_dir}/clock
218 %{_omf_dest_dir}/fish
219 %{_omf_dest_dir}/%{name}
220 %{_omf_dest_dir}/window-list
221 %{_omf_dest_dir}/workspace-switcher
222 %{_sysconfdir}/gconf/schemas/clock.schemas
223 %{_sysconfdir}/gconf/schemas/fish.schemas
224 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
225 %{_sysconfdir}/gconf/schemas/panel-general.schemas
226 %{_sysconfdir}/gconf/schemas/panel-global.schemas
227 %{_sysconfdir}/gconf/schemas/panel-object.schemas
228 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
229 %{_sysconfdir}/gconf/schemas/window-list.schemas
230 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
231
232 %files devel
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
235 %{_libdir}/*.la
236 %{_includedir}/panel-2.0
237 %{_pkgconfigdir}/*.pc
238
239 %files static
240 %defattr(644,root,root,755)
241 %{_libdir}/lib*.a
242
243 %files libs
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
246
247 %files apidocs
248 %defattr(644,root,root,755)
249 %{_gtkdocdir}/panel-applet
This page took 0.074038 seconds and 4 git commands to generate.