]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- up to 2.16.2, build and work.
[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
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:  gamin-static
19 BuildRequires:  gnome-common >= 2.12.0
20 BuildRequires:  gnome-doc-utils >= 0.8.0
21 BuildRequires:  gnome-desktop-devel >= 2.16.1
22 BuildRequires:  gnome-menus-devel >= 2.16.0
23 BuildRequires:  gnome-vfs2-devel >= 2.16.1
24 BuildRequires:  gtk+2-devel >= 2:2.10.5
25 BuildRequires:  gtk-doc >= 1.7
26 BuildRequires:  intltool >= 0.35
27 BuildRequires:  libart_lgpl-devel >= 2.3.17
28 BuildRequires:  libglade2-devel >= 1:2.6.0
29 BuildRequires:  libgnomeui-devel >= 2.16.0
30 BuildRequires:  libtool
31 BuildRequires:  libwnck-devel >= 2.16.1
32 BuildRequires:  pango-devel >= 1:1.14.5
33 BuildRequires:  perl-base
34 BuildRequires:  pkgconfig >= 1:0.15.0
35 BuildRequires:  python-libxml2 >= 1:2.6.26
36 BuildRequires:  rpm-build >= 4.1-10
37 BuildRequires:  rpmbuild(macros) >= 1.311
38 BuildRequires:  scrollkeeper >= 0.3.11
39 BuildRequires:  xorg-lib-libXres-devel
40 BuildConflicts: GConf-devel < 1.0.9-7
41 Requires(post,preun):   GConf2 >= 2.14.0
42 Requires(post,postun):  scrollkeeper
43 Requires:       %{name}-libs = %{version}-%{release}
44 Requires:       hicolor-icon-theme
45 Requires:       gnome-desktop >= 2.16.1
46 Requires:       gnome-icon-theme >= 2.16.0.1
47 Requires:       xdg-menus
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 GNOME (GNU Network Object Model Environment) is a user-friendly set of
52 applications and desktop tools to be used in conjunction with a window
53 manager for the X Window System. GNOME is similar in purpose and scope
54 to CDE and KDE, but GNOME is based completely on free software.
55
56 The gnome-panel packages provides the GNOME panel, menus and some
57 basic applets for the panel.
58
59 %description -l pl
60 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
61 u¿ytkownika aplikacji i narzêdzi do u¿ywania w po³±czeniu z zarz±dc±
62 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje ca³kowicie
63 na wolnym oprogramowaniu.
64
65 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
66 panelu GNOME2.
67
68 %package devel
69 Summary:        GNOME panel includes, and more
70 Summary(pl):    Pliki nag³ówkowe biblioteki panelu GNOME
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-libs = %{version}-%{release}
73 Requires:       libgnomeui-devel >= 2.16.0
74
75 %description devel
76 Panel header files for creating GNOME panels.
77
78 %description devel -l pl
79 Pliki nag³ówkowe bibliotek panelu GNOME.
80
81 %package static
82 Summary:        GNOME panel static libraries
83 Summary(pl):    Statyczne biblioteki panelu GNOME
84 Group:          X11/Development/Libraries
85 Requires:       %{name}-devel = %{version}-%{release}
86
87 %description static
88 Panel static libraries.
89
90 %description static -l pl
91 Statyczne biblioteki panelu GNOME.
92
93 %package libs
94 Summary:        GNOME panel library
95 Summary(pl):    Biblioteka panelu GNOME
96 Group:          X11/Libraries
97 Requires:       libgnomeui >= 2.16.0
98 Requires:       librsvg >= 1:2.16.0
99
100 %description libs
101 GNOME panel library.
102
103 %description libs -l pl
104 Biblioteka panelu GNOME.
105
106 %package apidocs
107 Summary:        panel-applet API documentation
108 Summary(pl):    Dokumentacja API panel-applet
109 Group:          Documentation
110 Requires:       gtk-doc-common
111
112 %description apidocs
113 panel-applet API documentation.
114
115 %description apidocs -l pl
116 Dokumentacja API panel-applet.
117
118 %prep
119 %setup -q
120 %patch0 -p1
121 %patch1 -p1
122
123 %build
124 %{__gnome_doc_prepare}
125 %{__gnome_doc_common}
126 %{__intltoolize}
127 %{__libtoolize}
128 %{__aclocal}
129 %{__autoheader}
130 %{__autoconf}
131 %{__automake}
132 %configure \
133         --disable-schemas-install \
134         --enable-eds \
135         --enable-gtk-doc \
136         --with-html-dir=%{_gtkdocdir}
137 %{__make}
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
142
143 %{__make} install \
144         DESTDIR=$RPM_BUILD_ROOT \
145         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
146
147 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
148
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
152
153 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
154
155 %find_lang %{name} --with-gnome --all-name
156
157 %clean
158 rm -rf $RPM_BUILD_ROOT
159
160 %post
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
172
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
179
180 %banner %{name} -e << EOF
181 For full functionality, you need to install
182 gnome-utils-screenshot and gnome-utils-search-tool.
183 EOF
184
185 %preun
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
195
196 %postun
197 %scrollkeeper_update_postun
198 %update_icon_cache hicolor
199
200 %post   libs -p /sbin/ldconfig
201 %postun libs -p /sbin/ldconfig
202
203 %files -f %{name}.lang
204 %defattr(644,root,root,755)
205 %doc AUTHORS NEWS README *ChangeLog
206 %attr(755,root,root) %{_bindir}/*
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/panel
214 %{_datadir}/gnome-panelrc
215 %{_datadir}/idl/gnome-panel-2.0
216 %{_iconsdir}/*/*/apps/*
217 %{_libdir}/bonobo/servers/*
218 %{_mandir}/man1/*
219 %{_omf_dest_dir}/clock
220 %{_omf_dest_dir}/fish
221 %{_omf_dest_dir}/%{name}
222 %{_omf_dest_dir}/window-list
223 %{_omf_dest_dir}/workspace-switcher
224 %{_sysconfdir}/gconf/schemas/clock.schemas
225 %{_sysconfdir}/gconf/schemas/fish.schemas
226 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
227 %{_sysconfdir}/gconf/schemas/panel-general.schemas
228 %{_sysconfdir}/gconf/schemas/panel-global.schemas
229 %{_sysconfdir}/gconf/schemas/panel-object.schemas
230 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
231 %{_sysconfdir}/gconf/schemas/window-list.schemas
232 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
233
234 %files devel
235 %defattr(644,root,root,755)
236 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
237 %{_libdir}/*.la
238 %{_includedir}/panel-2.0
239 %{_pkgconfigdir}/*.pc
240
241 %files static
242 %defattr(644,root,root,755)
243 %{_libdir}/lib*.a
244
245 %files libs
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
248
249 %files apidocs
250 %defattr(644,root,root,755)
251 %{_gtkdocdir}/panel-applet
This page took 0.074696 seconds and 4 git commands to generate.