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