]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- updated Source-md5
[packages/gnome-panel.git] / gnome-panel.spec
1 # TODO:
2 # - NetworkManager bcond
3 #
4 Summary:        The core programs for the GNOME GUI desktop environment
5 Summary(pl.UTF-8):      Podstawowe programy środowiska graficznego GNOME
6 Name:           gnome-panel
7 Version:        2.24.0
8 Release:        1
9 License:        LGPL
10 Group:          X11/Applications
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.24/%{name}-%{version}.tar.bz2
12 # Source0-md5:  0d246880611a4c58fe2ff99614b96918
13 Patch0:         %{name}-no_launchers_on_panel.patch
14 # http://bugzilla.gnome.org/show_bug.cgi?id=552049
15 Patch1:         %{name}-use-sysconfig-timezone.patch
16 URL:            http://www.gnome.org/
17 BuildRequires:  GConf2-devel >= 2.24.0
18 BuildRequires:  NetworkManager-devel >= 0.6
19 BuildRequires:  ORBit2-devel >= 1:2.14.9
20 BuildRequires:  PolicyKit-gnome-devel >= 0.7
21 BuildRequires:  autoconf
22 BuildRequires:  automake > 1:1.9
23 BuildRequires:  dbus-devel >= 1.1.2
24 BuildRequires:  dbus-glib-devel >= 0.74
25 BuildRequires:  evolution-data-server-devel >= 2.24.0
26 BuildRequires:  gettext-devel
27 BuildRequires:  glib2-devel >= 1:2.18.0
28 BuildRequires:  gnome-common >= 2.20.0
29 BuildRequires:  gnome-desktop-devel >= 2.24.0
30 BuildRequires:  gnome-doc-utils >= 0.12.0
31 BuildRequires:  gnome-menus-devel >= 2.24.0
32 BuildRequires:  gtk+2-devel >= 2:2.14.0
33 BuildRequires:  gtk-doc >= 1.9
34 BuildRequires:  intltool >= 0.37.0
35 BuildRequires:  libglade2-devel >= 1:2.6.2
36 BuildRequires:  libgnomeui-devel >= 2.24.0
37 BuildRequires:  libgweather-devel >= 2.24.0
38 BuildRequires:  librsvg-devel >= 2.22.0
39 BuildRequires:  libtool
40 BuildRequires:  libwnck-devel >= 2.24.0
41 BuildRequires:  libxml2-devel >= 1:2.6.31
42 BuildRequires:  perl-base
43 BuildRequires:  pkgconfig >= 1:0.15.0
44 BuildRequires:  rpm-build >= 4.1-10
45 BuildRequires:  rpmbuild(find_lang) >= 1.23
46 BuildRequires:  rpmbuild(macros) >= 1.311
47 BuildRequires:  scrollkeeper >= 0.3.11
48 BuildRequires:  sed >= 4.0
49 BuildConflicts: GConf-devel < 1.0.9-7
50 Requires(post,postun):  gtk+2
51 Requires(post,postun):  hicolor-icon-theme
52 Requires(post,postun):  scrollkeeper
53 Requires(post,preun):   GConf2
54 Requires:       %{name}-libs = %{version}-%{release}
55 Requires:       gnome-desktop >= 2.24.0
56 Requires:       gnome-icon-theme >= 2.24.0
57 Requires:       tzdata >= 2008b-4
58 Requires:       xdg-menus
59 Suggests:       PolicyKit-gnome >= 0.7
60 Suggests:       gnome-utils-screenshot
61 Suggests:       gnome-utils-search-tool
62 # sr@Latn vs. sr@latin
63 Conflicts:      glibc-misc < 6:2.7
64 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
66 %description
67 GNOME (GNU Network Object Model Environment) is a user-friendly set of
68 applications and desktop tools to be used in conjunction with a window
69 manager for the X Window System. GNOME is similar in purpose and scope
70 to CDE and KDE, but GNOME is based completely on free software.
71
72 The gnome-panel packages provides the GNOME panel, menus and some
73 basic applets for the panel.
74
75 %description -l pl.UTF-8
76 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
77 użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
78 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
79 na wolnym oprogramowaniu.
80
81 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
82 panelu GNOME2.
83
84 %package libs
85 Summary:        GNOME panel library
86 Summary(pl.UTF-8):      Biblioteka panelu GNOME
87 Group:          X11/Libraries
88 Requires:       libgnomeui >= 2.24.0
89 Requires:       librsvg >= 1:2.22.0
90
91 %description libs
92 GNOME panel library.
93
94 %description libs -l pl.UTF-8
95 Biblioteka panelu GNOME.
96
97 %package devel
98 Summary:        GNOME panel includes, and more
99 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki panelu GNOME
100 Group:          X11/Development/Libraries
101 Requires:       %{name}-libs = %{version}-%{release}
102 Requires:       libgnomeui-devel >= 2.24.0
103
104 %description devel
105 Panel header files for creating GNOME panels.
106
107 %description devel -l pl.UTF-8
108 Pliki nagłówkowe bibliotek panelu GNOME.
109
110 %package static
111 Summary:        GNOME panel static libraries
112 Summary(pl.UTF-8):      Statyczne biblioteki panelu GNOME
113 Group:          X11/Development/Libraries
114 Requires:       %{name}-devel = %{version}-%{release}
115
116 %description static
117 Panel static libraries.
118
119 %description static -l pl.UTF-8
120 Statyczne biblioteki panelu GNOME.
121
122 %package apidocs
123 Summary:        panel-applet API documentation
124 Summary(pl.UTF-8):      Dokumentacja API panel-applet
125 Group:          Documentation
126 Requires:       gtk-doc-common
127
128 %description apidocs
129 panel-applet API documentation.
130
131 %description apidocs -l pl.UTF-8
132 Dokumentacja API panel-applet.
133
134 %prep
135 %setup -q
136 %patch0 -p1
137 %patch1 -p0
138
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
142
143 %build
144 %{__gnome_doc_prepare}
145 %{__gnome_doc_common}
146 %{__intltoolize}
147 %{__libtoolize}
148 %{__aclocal}
149 %{__autoconf}
150 %{__autoheader}
151 %{__automake}
152 %configure \
153         --disable-schemas-install \
154         --enable-eds \
155         --enable-gtk-doc \
156         --with-html-dir=%{_gtkdocdir}
157 %{__make}
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
162
163 %{__make} install \
164         DESTDIR=$RPM_BUILD_ROOT \
165         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
166
167 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
168
169 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
170
171 %find_lang %{name} --with-gnome --with-omf --all-name
172
173 %clean
174 rm -rf $RPM_BUILD_ROOT
175
176 %post
177 %scrollkeeper_update_post
178 %gconf_schema_install clock.schemas
179 %gconf_schema_install fish.schemas
180 %gconf_schema_install panel-compatibility.schemas
181 %gconf_schema_install panel-general.schemas
182 %gconf_schema_install panel-global.schemas
183 %gconf_schema_install panel-object.schemas
184 %gconf_schema_install panel-toplevel.schemas
185 %gconf_schema_install window-list.schemas
186 %gconf_schema_install workspace-switcher.schemas
187 %update_icon_cache hicolor
188
189 %{_bindir}/gconftool-2 --direct \
190         --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
191         --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
192 %{_bindir}/gconftool-2 --direct \
193         --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
194         --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null
195
196 %preun
197 %gconf_schema_uninstall clock.schemas
198 %gconf_schema_uninstall fish.schemas
199 %gconf_schema_uninstall panel-compatibility.schemas
200 %gconf_schema_uninstall panel-general.schemas
201 %gconf_schema_uninstall panel-global.schemas
202 %gconf_schema_uninstall panel-object.schemas
203 %gconf_schema_uninstall panel-toplevel.schemas
204 %gconf_schema_uninstall window-list.schemas
205 %gconf_schema_uninstall workspace-switcher.schemas
206
207 %postun
208 %scrollkeeper_update_postun
209 %update_icon_cache hicolor
210
211 %post   libs -p /sbin/ldconfig
212 %postun libs -p /sbin/ldconfig
213
214 %files -f %{name}.lang
215 %defattr(644,root,root,755)
216 %doc AUTHORS MAINTAINERS NEWS README *ChangeLog
217 %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
218 %attr(755,root,root) %{_bindir}/gnome-panel
219 %attr(755,root,root) %{_bindir}/panel-test-applets
220 %attr(755,root,root) %{_libdir}/clock-applet
221 %attr(755,root,root) %{_libdir}/fish-applet-2
222 %attr(755,root,root) %{_libdir}/gnome-clock-applet-mechanism
223 %attr(755,root,root) %{_libdir}/notification-area-applet
224 %attr(755,root,root) %{_libdir}/wnck-applet
225 %{_datadir}/PolicyKit/policy/org.gnome.clockapplet.mechanism.policy
226 %{_datadir}/dbus-1/system-services/org.gnome.ClockApplet.Mechanism.service
227 %{_datadir}/gnome-2.0/ui/*.xml
228 %{_datadir}/gnome-panel
229 %{_datadir}/gnome-panelrc
230 %{_datadir}/idl/gnome-panel-2.0
231 %{_desktopdir}/gnome-panel.desktop
232 %{_iconsdir}/hicolor/*/apps/*
233 %{_libdir}/bonobo/servers/*.server
234 %{_mandir}/man1/*.1*
235 %{_sysconfdir}/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf
236 %{_sysconfdir}/gconf/schemas/clock.schemas
237 %{_sysconfdir}/gconf/schemas/fish.schemas
238 %{_sysconfdir}/gconf/schemas/panel-compatibility.schemas
239 %{_sysconfdir}/gconf/schemas/panel-general.schemas
240 %{_sysconfdir}/gconf/schemas/panel-global.schemas
241 %{_sysconfdir}/gconf/schemas/panel-object.schemas
242 %{_sysconfdir}/gconf/schemas/panel-toplevel.schemas
243 %{_sysconfdir}/gconf/schemas/window-list.schemas
244 %{_sysconfdir}/gconf/schemas/workspace-switcher.schemas
245
246 %files libs
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so.*.*.*
249 %attr(755,root,root) %ghost %{_libdir}/libpanel-applet-2.so.0
250
251 %files devel
252 %defattr(644,root,root,755)
253 %attr(755,root,root) %{_libdir}/libpanel-applet-2.so
254 %{_libdir}/libpanel-applet-2.la
255 %{_includedir}/panel-2.0
256 %{_pkgconfigdir}/libpanelapplet-2.0.pc
257
258 %files static
259 %defattr(644,root,root,755)
260 %{_libdir}/libpanel-applet-2.a
261
262 %files apidocs
263 %defattr(644,root,root,755)
264 %{_gtkdocdir}/panel-applet
This page took 0.084328 seconds and 4 git commands to generate.