]> git.pld-linux.org Git - packages/gnome-panel.git/blame - gnome-panel.spec
- updated to 2.30.0; merged changes from DEVEL
[packages/gnome-panel.git] / gnome-panel.spec
CommitLineData
6475fdf9 1Summary: The core programs for the GNOME GUI desktop environment
9b8f7eb6 2Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME
92ca1d3b 3Name: gnome-panel
c76245ca
MB
4Version: 2.30.0
5Release: 1
92ca1d3b 6License: LGPL
7Group: X11/Applications
c76245ca
MB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.30/%{name}-%{version}.tar.bz2
9# Source0-md5: e17f25417b2c9011ed1c3ebd75706de6
45cb17b7 10Patch0: %{name}-no_launchers_on_panel.patch
f51b9b99 11# http://bugzilla.gnome.org/show_bug.cgi?id=552049
49e3f399 12Patch1: %{name}-use-sysconfig-timezone.patch
92ca1d3b 13URL: http://www.gnome.org/
53bd91de 14BuildRequires: GConf2-devel >= 2.26.0
d9df2219 15BuildRequires: NetworkManager-devel >= 0.6
0a0d533f 16BuildRequires: ORBit2-devel >= 1:2.14.9
21fb8784 17BuildRequires: autoconf
c76245ca 18BuildRequires: automake >= 1:1.9
45cb17b7
PZ
19BuildRequires: dbus-devel >= 1.1.2
20BuildRequires: dbus-glib-devel >= 0.74
03fab395 21BuildRequires: docbook-dtd412-xml
f51b9b99 22BuildRequires: evolution-data-server-devel >= 2.24.0
45cb17b7 23BuildRequires: gettext-devel
c76245ca 24BuildRequires: glib2-devel >= 1:2.20.0
485cb2fc 25BuildRequires: gnome-common >= 2.24.0
c76245ca 26BuildRequires: gnome-desktop-devel >= 2.30.0
485cb2fc 27BuildRequires: gnome-doc-utils >= 0.14.0
c76245ca 28BuildRequires: gnome-menus-devel >= 2.30.0
4e3a6a92 29BuildRequires: gtk+2-devel >= 2:2.18.0
45cb17b7 30BuildRequires: gtk-doc >= 1.9
485cb2fc
MB
31BuildRequires: intltool >= 0.40.0
32BuildRequires: libbonoboui-devel >= 2.24.0
c76245ca
MB
33BuildRequires: libcanberra-gtk-devel
34BuildRequires: libgweather-devel >= 2.28.0
f51b9b99 35BuildRequires: librsvg-devel >= 2.22.0
21fb8784 36BuildRequires: libtool
53bd91de 37BuildRequires: libwnck-devel >= 2.26.0
0e65d7c1 38BuildRequires: perl-base
26effa38 39BuildRequires: pkgconfig >= 1:0.15.0
2b1cc58a 40BuildRequires: polkit-gnome-devel >= 0.93
80d31359 41BuildRequires: rpm-build >= 4.1-10
03fab395 42BuildRequires: rpm-pythonprov
531f9312 43BuildRequires: rpmbuild(find_lang) >= 1.23
ff126c01 44BuildRequires: rpmbuild(macros) >= 1.311
eb963559 45BuildRequires: scrollkeeper >= 0.3.11
c76245ca 46BuildRequires: xorg-lib-libSM-devel
6189f4a2 47BuildConflicts: GConf-devel < 1.0.9-7
45cb17b7 48Requires(post,postun): gtk+2
fa173a83 49Requires(post,postun): hicolor-icon-theme
862abbe9 50Requires(post,postun): scrollkeeper
95ca4e66 51Requires(post,preun): GConf2
8648ec2a 52Requires: %{name}-libs = %{version}-%{release}
c76245ca
MB
53Requires: gnome-desktop >= 2.30.0
54Requires: gnome-icon-theme >= 2.28.0
49e3f399 55Requires: tzdata >= 2008b-4
2da232f6 56Requires: xdg-menus
c55de1ba
MB
57Suggests: gnome-utils-screenshot
58Suggests: gnome-utils-search-tool
2b1cc58a 59Suggests: polkit-gnome >= 0.93
6b414668 60# sr@Latn vs. sr@latin
61Conflicts: glibc-misc < 6:2.7
6475fdf9 62BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92ca1d3b 63
92ca1d3b 64%description
65GNOME (GNU Network Object Model Environment) is a user-friendly set of
66applications and desktop tools to be used in conjunction with a window
67manager for the X Window System. GNOME is similar in purpose and scope
6475fdf9 68to CDE and KDE, but GNOME is based completely on free software.
92ca1d3b 69
6c1adb18 70The gnome-panel packages provides the GNOME panel, menus and some
92ca1d3b 71basic applets for the panel.
72
874f0170 73%description -l pl.UTF-8
d5b99877 74GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
874f0170
JR
75użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
76okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
d5b99877 77na wolnym oprogramowaniu.
6475fdf9
JB
78
79Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
80panelu GNOME2.
81
642a3f1f
JB
82%package libs
83Summary: GNOME panel library
84Summary(pl.UTF-8): Biblioteka panelu GNOME
85Group: X11/Libraries
f51b9b99 86Requires: librsvg >= 1:2.22.0
642a3f1f
JB
87
88%description libs
89GNOME panel library.
90
91%description libs -l pl.UTF-8
92Biblioteka panelu GNOME.
93
92ca1d3b 94%package devel
6475fdf9 95Summary: GNOME panel includes, and more
9b8f7eb6 96Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME
df4e27aa 97Group: X11/Development/Libraries
8648ec2a 98Requires: %{name}-libs = %{version}-%{release}
c76245ca
MB
99Requires: GConf2-devel >= 2.26.0
100Requires: gtk+2-devel >= 2:2.18.0
485cb2fc 101Requires: libbonoboui-devel >= 2.24.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
c76245ca
MB
137sed -i s#^en@shaw## po/LINGUAS
138rm po/en@shaw.po
92ca1d3b 139
45cb17b7
PZ
140# short circuit stopper (fix me!)
141mv ChangeLog main-ChangeLog
142find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
531f9312 143
92ca1d3b 144%build
49a5ac4c 145%{__gtkdocize}
ff126c01 146%{__gnome_doc_prepare}
8648ec2a 147%{__gnome_doc_common}
862abbe9 148%{__intltoolize}
416c8122 149%{__libtoolize}
1c4c7880 150%{__aclocal} -I m4
416c8122 151%{__autoconf}
45cb17b7 152%{__autoheader}
416c8122 153%{__automake}
d5524f48 154%configure \
8648ec2a 155 --disable-schemas-install \
c76245ca 156 --disable-silent-rules \
0e65d7c1 157 --enable-eds \
8648ec2a 158 --enable-gtk-doc \
159 --with-html-dir=%{_gtkdocdir}
92ca1d3b 160%{__make}
161
92ca1d3b 162%install
163rm -rf $RPM_BUILD_ROOT
9a580b5b 164install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/%{name}}
92ca1d3b 165
166%{__make} install \
0e65d7c1 167 DESTDIR=$RPM_BUILD_ROOT \
168 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
92ca1d3b 169
a97815a6 170install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
1886b570 171
8648ec2a 172rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/panel-default-setup.entries
b642f223 173
531f9312 174%find_lang %{name} --with-gnome --with-omf --all-name
92ca1d3b 175
176%clean
177rm -rf $RPM_BUILD_ROOT
178
179%post
862abbe9 180%scrollkeeper_update_post
181%gconf_schema_install clock.schemas
182%gconf_schema_install fish.schemas
183%gconf_schema_install panel-compatibility.schemas
184%gconf_schema_install panel-general.schemas
185%gconf_schema_install panel-global.schemas
186%gconf_schema_install panel-object.schemas
187%gconf_schema_install panel-toplevel.schemas
188%gconf_schema_install window-list.schemas
189%gconf_schema_install workspace-switcher.schemas
ff126c01 190%update_icon_cache hicolor
191
a97815a6 192%{_bindir}/gconftool-2 --direct \
f318c1be 193 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
194 --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
195%{_bindir}/gconftool-2 --direct \
196 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
197 --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null
ff126c01 198
91d32b68 199%preun
862abbe9 200%gconf_schema_uninstall clock.schemas
201%gconf_schema_uninstall fish.schemas
202%gconf_schema_uninstall panel-compatibility.schemas
203%gconf_schema_uninstall panel-general.schemas
204%gconf_schema_uninstall panel-global.schemas
205%gconf_schema_uninstall panel-object.schemas
206%gconf_schema_uninstall panel-toplevel.schemas
207%gconf_schema_uninstall window-list.schemas
208%gconf_schema_uninstall workspace-switcher.schemas
91d32b68 209
46857caa 210%postun
862abbe9 211%scrollkeeper_update_postun
ff126c01 212%update_icon_cache hicolor
92ca1d3b 213
8648ec2a 214%post libs -p /sbin/ldconfig
215%postun libs -p /sbin/ldconfig
216
92ca1d3b 217%files -f %{name}.lang
218%defattr(644,root,root,755)
95ca4e66 219%doc AUTHORS MAINTAINERS NEWS README *ChangeLog
fa173a83
MB
220%attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
221%attr(755,root,root) %{_bindir}/gnome-panel
222%attr(755,root,root) %{_bindir}/panel-test-applets
2b1cc58a
PZ
223%attr(755,root,root) %{_libexecdir}/clock-applet
224%attr(755,root,root) %{_libexecdir}/fish-applet-2
225%attr(755,root,root) %{_libexecdir}/gnome-clock-applet-mechanism
226%attr(755,root,root) %{_libexecdir}/gnome-panel-add
227%attr(755,root,root) %{_libexecdir}/notification-area-applet
228%attr(755,root,root) %{_libexecdir}/wnck-applet
45cb17b7
PZ
229%{_datadir}/dbus-1/system-services/org.gnome.ClockApplet.Mechanism.service
230%{_datadir}/gnome-2.0/ui/*.xml
a97815a6 231%{_datadir}/gnome-panel
1886b570 232%{_datadir}/gnome-panelrc
92ca1d3b 233%{_datadir}/idl/gnome-panel-2.0
2b1cc58a 234%{_datadir}/polkit-1/actions/org.gnome.clockapplet.mechanism.policy
95ca4e66 235%{_desktopdir}/gnome-panel.desktop
fa173a83 236%{_iconsdir}/hicolor/*/apps/*
45cb17b7
PZ
237%{_libdir}/bonobo/servers/*.server
238%{_mandir}/man1/*.1*
03fab395 239/etc/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.155312 seconds and 4 git commands to generate.