]>
Commit | Line | Data |
---|---|---|
6475fdf9 | 1 | Summary: The core programs for the GNOME GUI desktop environment |
9b8f7eb6 | 2 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME |
92ca1d3b | 3 | Name: gnome-panel |
eff30964 | 4 | Version: 3.6.2 |
ddc251c2 | 5 | Release: 2 |
faf39e38 | 6 | License: LGPL v2+ (library), GPL v2+ (the rest) |
92ca1d3b | 7 | Group: X11/Applications |
8ce1e3f2 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.6/%{name}-%{version}.tar.xz |
eff30964 | 9 | # Source0-md5: f394ad73babbce95fd0bb65ec6fd3519 |
92ca1d3b | 10 | URL: http://www.gnome.org/ |
53bd91de | 11 | BuildRequires: GConf2-devel >= 2.26.0 |
d9df2219 | 12 | BuildRequires: NetworkManager-devel >= 0.6 |
faf39e38 | 13 | BuildRequires: autoconf >= 2.50 |
96f6ce92 | 14 | BuildRequires: automake >= 1:1.11 |
faf39e38 | 15 | BuildRequires: cairo-devel >= 1.0.0 |
45cb17b7 | 16 | BuildRequires: dbus-devel >= 1.1.2 |
a1c81207 | 17 | BuildRequires: dbus-glib-devel >= 0.80 |
8ce1e3f2 | 18 | BuildRequires: dconf-devel >= 0.14.0 |
03fab395 | 19 | BuildRequires: docbook-dtd412-xml |
8ce1e3f2 | 20 | BuildRequires: evolution-data-server-devel >= 3.6.0 |
35b315c5 | 21 | BuildRequires: gdk-pixbuf2-devel >= 2.26.0 |
faf39e38 | 22 | BuildRequires: gettext-devel >= 0.12 |
35b315c5 | 23 | BuildRequires: glib2-devel >= 1:2.32.0 |
485cb2fc | 24 | BuildRequires: gnome-common >= 2.24.0 |
35b315c5 | 25 | BuildRequires: gnome-desktop-devel >= 3.4.0 |
0c7a0a94 | 26 | BuildRequires: gnome-menus-devel >= 3.2.0 |
48303c43 | 27 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
35b315c5 | 28 | BuildRequires: gtk+3-devel >= 3.4.0 |
45cb17b7 | 29 | BuildRequires: gtk-doc >= 1.9 |
faf39e38 | 30 | BuildRequires: intltool >= 0.40.6 |
8ce1e3f2 | 31 | BuildRequires: libgweather-devel >= 3.6.0 |
f51b9b99 | 32 | BuildRequires: librsvg-devel >= 2.22.0 |
faf39e38 | 33 | BuildRequires: libtool >= 2:2.2.6 |
2e66a3b5 | 34 | BuildRequires: libwnck-devel >= 3.0.0 |
faf39e38 | 35 | BuildRequires: pango-devel >= 1:1.15.4 |
0e65d7c1 | 36 | BuildRequires: perl-base |
26effa38 | 37 | BuildRequires: pkgconfig >= 1:0.15.0 |
96f6ce92 | 38 | BuildRequires: polkit-devel |
80d31359 | 39 | BuildRequires: rpm-build >= 4.1-10 |
03fab395 | 40 | BuildRequires: rpm-pythonprov |
531f9312 | 41 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
ff126c01 | 42 | BuildRequires: rpmbuild(macros) >= 1.311 |
7041cb03 | 43 | BuildRequires: tar >= 1:1.22 |
48303c43 | 44 | BuildRequires: telepathy-glib-devel >= 0.14.0 |
faf39e38 | 45 | BuildRequires: xorg-lib-libICE-devel |
c76245ca | 46 | BuildRequires: xorg-lib-libSM-devel |
faf39e38 JB |
47 | BuildRequires: xorg-lib-libX11-devel |
48 | BuildRequires: xorg-lib-libXau-devel | |
49 | BuildRequires: xorg-lib-libXrandr-devel >= 1.2.0 | |
7041cb03 | 50 | BuildRequires: xz |
8ce1e3f2 | 51 | BuildRequires: yelp-tools |
6189f4a2 | 52 | BuildConflicts: GConf-devel < 1.0.9-7 |
086b998b | 53 | Requires(post,postun): glib2 >= 1:2.32.0 |
2b8be571 | 54 | Requires(post,postun): gtk-update-icon-cache |
8648ec2a | 55 | Requires: %{name}-libs = %{version}-%{release} |
faf39e38 | 56 | Requires: dconf >= 0.14.0 |
faf39e38 | 57 | Requires: gdk-pixbuf2 >= 2.26.0 |
35b315c5 | 58 | Requires: gnome-desktop >= 3.4.0 |
2e66a3b5 | 59 | Requires: gnome-icon-theme >= 3.0.0 |
faf39e38 | 60 | Requires: gnome-menus >= 3.2.0 |
48303c43 | 61 | Requires: hicolor-icon-theme |
faf39e38 JB |
62 | Requires: libgweather >= 3.6.0 |
63 | Requires: pango >= 1:1.15.4 | |
64 | Requires: telepathy-glib >= 0.14.0 | |
49e3f399 | 65 | Requires: tzdata >= 2008b-4 |
2da232f6 | 66 | Requires: xdg-menus |
faf39e38 | 67 | Requires: xorg-lib-libXrandr >= 1.2.0 |
80258c8f | 68 | Suggests: evolution-data-server >= 3.6.0 |
87a23697 MB |
69 | Suggests: gnome-screenshot |
70 | Suggests: gnome-search-tool | |
2b1cc58a | 71 | Suggests: polkit-gnome >= 0.93 |
6b414668 | 72 | # sr@Latn vs. sr@latin |
73 | Conflicts: glibc-misc < 6:2.7 | |
6475fdf9 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 75 | |
92ca1d3b | 76 | %description |
77 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
78 | applications and desktop tools to be used in conjunction with a window | |
79 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 80 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 81 | |
6c1adb18 | 82 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 83 | basic applets for the panel. |
84 | ||
874f0170 | 85 | %description -l pl.UTF-8 |
d5b99877 | 86 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
87 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
88 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 89 | na wolnym oprogramowaniu. |
6475fdf9 JB |
90 | |
91 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
92 | panelu GNOME2. | |
93 | ||
642a3f1f JB |
94 | %package libs |
95 | Summary: GNOME panel library | |
96 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
97 | Group: X11/Libraries | |
faf39e38 JB |
98 | Requires: GConf2-libs >= 2.26.0 |
99 | Requires: cairo >= 1.0.0 | |
100 | Requires: glib2 >= 1:2.32.0 | |
101 | Requires: gtk+3 >= 3.4.0 | |
f51b9b99 | 102 | Requires: librsvg >= 1:2.22.0 |
642a3f1f JB |
103 | |
104 | %description libs | |
105 | GNOME panel library. | |
106 | ||
107 | %description libs -l pl.UTF-8 | |
108 | Biblioteka panelu GNOME. | |
109 | ||
92ca1d3b | 110 | %package devel |
6475fdf9 | 111 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 112 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 113 | Group: X11/Development/Libraries |
8648ec2a | 114 | Requires: %{name}-libs = %{version}-%{release} |
c76245ca | 115 | Requires: GConf2-devel >= 2.26.0 |
35b315c5 MB |
116 | Requires: glib2-devel >= 1:2.32.0 |
117 | Requires: gtk+3-devel >= 3.4.0 | |
92ca1d3b | 118 | |
119 | %description devel | |
6475fdf9 JB |
120 | Panel header files for creating GNOME panels. |
121 | ||
874f0170 JR |
122 | %description devel -l pl.UTF-8 |
123 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 124 | |
9bcb8fd2 | 125 | %package apidocs |
126 | Summary: panel-applet API documentation | |
9b8f7eb6 | 127 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 128 | Group: Documentation |
129 | Requires: gtk-doc-common | |
130 | ||
131 | %description apidocs | |
132 | panel-applet API documentation. | |
133 | ||
874f0170 | 134 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 135 | Dokumentacja API panel-applet. |
136 | ||
92ca1d3b | 137 | %prep |
138 | %setup -q | |
139 | ||
45cb17b7 PZ |
140 | # short circuit stopper (fix me!) |
141 | mv ChangeLog main-ChangeLog | |
142 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
531f9312 | 143 | |
92ca1d3b | 144 | %build |
49a5ac4c | 145 | %{__gtkdocize} |
862abbe9 | 146 | %{__intltoolize} |
416c8122 | 147 | %{__libtoolize} |
1c4c7880 | 148 | %{__aclocal} -I m4 |
416c8122 | 149 | %{__autoconf} |
45cb17b7 | 150 | %{__autoheader} |
416c8122 | 151 | %{__automake} |
d5524f48 | 152 | %configure \ |
c76245ca | 153 | --disable-silent-rules \ |
0c7a0a94 | 154 | --disable-static \ |
0e65d7c1 | 155 | --enable-eds \ |
8648ec2a | 156 | --enable-gtk-doc \ |
157 | --with-html-dir=%{_gtkdocdir} | |
92ca1d3b | 158 | %{__make} |
159 | ||
92ca1d3b | 160 | %install |
161 | rm -rf $RPM_BUILD_ROOT | |
48303c43 | 162 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
92ca1d3b | 163 | |
164 | %{__make} install \ | |
8ce1e3f2 | 165 | DESTDIR=$RPM_BUILD_ROOT |
92ca1d3b | 166 | |
48303c43 | 167 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet-4.la |
b642f223 | 168 | |
80258c8f | 169 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
faf39e38 | 170 | |
8ce1e3f2 | 171 | %find_lang %{name} --with-gnome --all-name |
92ca1d3b | 172 | |
173 | %clean | |
174 | rm -rf $RPM_BUILD_ROOT | |
175 | ||
176 | %post | |
48303c43 | 177 | %glib_compile_schemas |
ff126c01 | 178 | %update_icon_cache hicolor |
179 | ||
46857caa | 180 | %postun |
48303c43 | 181 | %glib_compile_schemas |
ff126c01 | 182 | %update_icon_cache hicolor |
92ca1d3b | 183 | |
8648ec2a | 184 | %post libs -p /sbin/ldconfig |
185 | %postun libs -p /sbin/ldconfig | |
186 | ||
92ca1d3b | 187 | %files -f %{name}.lang |
188 | %defattr(644,root,root,755) | |
95ca4e66 | 189 | %doc AUTHORS MAINTAINERS NEWS README *ChangeLog |
fa173a83 MB |
190 | %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit |
191 | %attr(755,root,root) %{_bindir}/gnome-panel | |
192 | %attr(755,root,root) %{_bindir}/panel-test-applets | |
2b1cc58a | 193 | %attr(755,root,root) %{_libexecdir}/clock-applet |
a1c81207 | 194 | %attr(755,root,root) %{_libexecdir}/fish-applet |
2b1cc58a PZ |
195 | %attr(755,root,root) %{_libexecdir}/gnome-panel-add |
196 | %attr(755,root,root) %{_libexecdir}/notification-area-applet | |
197 | %attr(755,root,root) %{_libexecdir}/wnck-applet | |
a1c81207 MB |
198 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.ClockAppletFactory.service |
199 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.FishAppletFactory.service | |
200 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.NotificationAreaAppletFactory.service | |
201 | %{_datadir}/dbus-1/services/org.gnome.panel.applet.WnckletFactory.service | |
8ce1e3f2 | 202 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml |
48303c43 ŁK |
203 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml |
204 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml | |
205 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml | |
206 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml | |
207 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml | |
208 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml | |
209 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.menu-button.gschema.xml | |
210 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml | |
211 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml | |
faf39e38 JB |
212 | %{_datadir}/gnome-panel |
213 | %{_desktopdir}/gnome-panel.desktop | |
214 | %{_iconsdir}/hicolor/*/apps/gnome-panel*.* | |
215 | %{_mandir}/man1/gnome-panel.1* | |
92ca1d3b | 216 | |
642a3f1f JB |
217 | %files libs |
218 | %defattr(644,root,root,755) | |
48303c43 ŁK |
219 | %attr(755,root,root) %{_libdir}/libpanel-applet-4.so.*.*.* |
220 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet-4.so.0 | |
221 | %{_libdir}/girepository-1.0/PanelApplet-4.0.typelib | |
642a3f1f | 222 | |
92ca1d3b | 223 | %files devel |
224 | %defattr(644,root,root,755) | |
48303c43 ŁK |
225 | %attr(755,root,root) %{_libdir}/libpanel-applet-4.so |
226 | %{_includedir}/gnome-panel-4.0 | |
227 | %{_pkgconfigdir}/libpanelapplet-4.0.pc | |
228 | %{_datadir}/gir-1.0/PanelApplet-4.0.gir | |
92ca1d3b | 229 | |
9bcb8fd2 | 230 | %files apidocs |
231 | %defattr(644,root,root,755) | |
48303c43 | 232 | %{_gtkdocdir}/panel-applet-4.0 |