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