]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- updated to 3.0.0.1
[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:        3.0.0.1
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.0/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ed8288be1fd69ffcd1e1fde87dcdb615
10 # http://bugzilla.gnome.org/show_bug.cgi?id=552049
11 Patch0:         %{name}-use-sysconfig-timezone.patch
12 Patch1:         %{name}-link.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.26.0
15 BuildRequires:  NetworkManager-devel >= 0.6
16 BuildRequires:  autoconf
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  dbus-devel >= 1.1.2
19 BuildRequires:  dbus-glib-devel >= 0.80
20 BuildRequires:  dconf-devel
21 BuildRequires:  docbook-dtd412-xml
22 BuildRequires:  evolution-data-server-devel >= 3.0.0
23 BuildRequires:  gettext-devel
24 BuildRequires:  glib2-devel >= 1:2.28.0
25 BuildRequires:  gnome-common >= 2.24.0
26 BuildRequires:  gnome-desktop-devel >= 3.0.0
27 BuildRequires:  gnome-doc-utils >= 0.14.0
28 BuildRequires:  gnome-menus-devel >= 3.0.0
29 BuildRequires:  gobject-introspection-devel >= 0.10.0
30 BuildRequires:  gtk+3-devel >= 3.0.0
31 BuildRequires:  gtk-doc >= 1.9
32 BuildRequires:  intltool >= 0.40.0
33 BuildRequires:  libgweather-devel >= 3.0.0
34 BuildRequires:  librsvg-devel >= 2.22.0
35 BuildRequires:  libtool
36 BuildRequires:  libwnck-devel >= 3.0.0
37 BuildRequires:  perl-base
38 BuildRequires:  pkgconfig >= 1:0.15.0
39 BuildRequires:  rpm-build >= 4.1-10
40 BuildRequires:  rpm-pythonprov
41 BuildRequires:  rpmbuild(find_lang) >= 1.23
42 BuildRequires:  rpmbuild(macros) >= 1.311
43 BuildRequires:  scrollkeeper >= 0.3.11
44 BuildRequires:  telepathy-glib-devel >= 0.14.0
45 BuildRequires:  xorg-lib-libSM-devel
46 BuildConflicts: GConf-devel < 1.0.9-7
47 Requires(post,postun):  gtk-update-icon-cache
48 Requires(post,postun):  scrollkeeper
49 Requires(post,preun):   GConf2
50 Requires:       %{name}-libs = %{version}-%{release}
51 Requires:       gnome-desktop >= 3.0.0
52 Requires:       gnome-icon-theme >= 3.0.0
53 Requires:       hicolor-icon-theme
54 Requires:       tzdata >= 2008b-4
55 Requires:       xdg-menus
56 Suggests:       gnome-utils-screenshot
57 Suggests:       gnome-utils-search-tool
58 Suggests:       polkit-gnome >= 0.93
59 # sr@Latn vs. sr@latin
60 Conflicts:      glibc-misc < 6:2.7
61 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63 %description
64 GNOME (GNU Network Object Model Environment) is a user-friendly set of
65 applications and desktop tools to be used in conjunction with a window
66 manager for the X Window System. GNOME is similar in purpose and scope
67 to CDE and KDE, but GNOME is based completely on free software.
68
69 The gnome-panel packages provides the GNOME panel, menus and some
70 basic applets for the panel.
71
72 %description -l pl.UTF-8
73 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
74 użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
75 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
76 na wolnym oprogramowaniu.
77
78 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
79 panelu GNOME2.
80
81 %package libs
82 Summary:        GNOME panel library
83 Summary(pl.UTF-8):      Biblioteka panelu GNOME
84 Group:          X11/Libraries
85 Requires:       librsvg >= 1:2.22.0
86
87 %description libs
88 GNOME panel library.
89
90 %description libs -l pl.UTF-8
91 Biblioteka panelu GNOME.
92
93 %package devel
94 Summary:        GNOME panel includes, and more
95 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki panelu GNOME
96 Group:          X11/Development/Libraries
97 Requires:       %{name}-libs = %{version}-%{release}
98 Requires:       GConf2-devel >= 2.26.0
99 Requires:       glib2-devel >= 1:2.28.0
100 Requires:       gtk+3-devel >= 3.0.0
101
102 %description devel
103 Panel header files for creating GNOME panels.
104
105 %description devel -l pl.UTF-8
106 Pliki nagłówkowe bibliotek panelu GNOME.
107
108 %package static
109 Summary:        GNOME panel static libraries
110 Summary(pl.UTF-8):      Statyczne biblioteki panelu GNOME
111 Group:          X11/Development/Libraries
112 Requires:       %{name}-devel = %{version}-%{release}
113
114 %description static
115 Panel static libraries.
116
117 %description static -l pl.UTF-8
118 Statyczne biblioteki panelu GNOME.
119
120 %package apidocs
121 Summary:        panel-applet API documentation
122 Summary(pl.UTF-8):      Dokumentacja API panel-applet
123 Group:          Documentation
124 Requires:       gtk-doc-common
125
126 %description apidocs
127 panel-applet API documentation.
128
129 %description apidocs -l pl.UTF-8
130 Dokumentacja API panel-applet.
131
132 %prep
133 %setup -q
134 %patch0 -p0
135 %patch1 -p1
136
137 # short circuit stopper (fix me!)
138 mv ChangeLog main-ChangeLog
139 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
140
141 %build
142 %{__gtkdocize}
143 %{__gnome_doc_prepare}
144 %{__gnome_doc_common}
145 %{__intltoolize}
146 %{__libtoolize}
147 %{__aclocal} -I m4
148 %{__autoconf}
149 %{__autoheader}
150 %{__automake}
151 %configure \
152         --disable-schemas-install \
153         --disable-schemas-compile \
154         --disable-silent-rules \
155         --enable-eds \
156         --enable-gtk-doc \
157         --with-html-dir=%{_gtkdocdir}
158 %{__make}
159
160 %install
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
163
164 %{__make} install \
165         DESTDIR=$RPM_BUILD_ROOT \
166         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
167
168 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet-4.la
169
170 %find_lang %{name} --with-gnome --with-omf --all-name
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %post
176 %scrollkeeper_update_post
177 %gconf_schema_install clock.schemas
178 %glib_compile_schemas
179 %update_icon_cache hicolor
180
181 %preun
182 %gconf_schema_uninstall clock.schemas
183
184 %postun
185 %scrollkeeper_update_postun
186 %glib_compile_schemas
187 %update_icon_cache hicolor
188
189 %post   libs -p /sbin/ldconfig
190 %postun libs -p /sbin/ldconfig
191
192 %files -f %{name}.lang
193 %defattr(644,root,root,755)
194 %doc AUTHORS MAINTAINERS NEWS README *ChangeLog
195 %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
196 %attr(755,root,root) %{_bindir}/gnome-panel
197 %attr(755,root,root) %{_bindir}/panel-test-applets
198 %attr(755,root,root) %{_libexecdir}/clock-applet
199 %attr(755,root,root) %{_libexecdir}/fish-applet
200 %attr(755,root,root) %{_libexecdir}/gnome-panel-add
201 %attr(755,root,root) %{_libexecdir}/notification-area-applet
202 %attr(755,root,root) %{_libexecdir}/wnck-applet
203 %{_datadir}/dbus-1/services/org.gnome.panel.applet.ClockAppletFactory.service
204 %{_datadir}/dbus-1/services/org.gnome.panel.applet.FishAppletFactory.service
205 %{_datadir}/dbus-1/services/org.gnome.panel.applet.NotificationAreaAppletFactory.service
206 %{_datadir}/dbus-1/services/org.gnome.panel.applet.WnckletFactory.service
207 %{_datadir}/gnome-panel
208 %{_desktopdir}/gnome-panel.desktop
209 %{_iconsdir}/hicolor/*/apps/*
210 %{_mandir}/man1/*.1*
211 %{_sysconfdir}/gconf/schemas/clock.schemas
212 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml
213 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml
214 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml
215 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml
216 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml
217 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml
218 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.menu-button.gschema.xml
219 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml
220 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml
221
222 %files libs
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_libdir}/libpanel-applet-4.so.*.*.*
225 %attr(755,root,root) %ghost %{_libdir}/libpanel-applet-4.so.0
226 %{_libdir}/girepository-1.0/PanelApplet-4.0.typelib
227
228 %files devel
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_libdir}/libpanel-applet-4.so
231 %{_includedir}/gnome-panel-4.0
232 %{_pkgconfigdir}/libpanelapplet-4.0.pc
233 %{_datadir}/gir-1.0/PanelApplet-4.0.gir
234
235 %files static
236 %defattr(644,root,root,755)
237 %{_libdir}/libpanel-applet-4.a
238
239 %files apidocs
240 %defattr(644,root,root,755)
241 %{_gtkdocdir}/panel-applet-4.0
This page took 0.205511 seconds and 4 git commands to generate.