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