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