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