]>
Commit | Line | Data |
---|---|---|
954d47ce JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # gtk-doc documentation rebuild | |
4 | # | |
6475fdf9 | 5 | Summary: The core programs for the GNOME GUI desktop environment |
9b8f7eb6 | 6 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME |
92ca1d3b | 7 | Name: gnome-panel |
4b02d556 JR |
8 | Version: 3.36.1 |
9 | Release: 1 | |
faf39e38 | 10 | License: LGPL v2+ (library), GPL v2+ (the rest) |
92ca1d3b | 11 | Group: X11/Applications |
4b02d556 JR |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.36/%{name}-%{version}.tar.xz |
13 | # Source0-md5: b6bb185ce1724f4b19699042d90282a6 | |
046b34bc | 14 | URL: https://wiki.gnome.org/Projects/GnomePanel |
faf39e38 | 15 | BuildRequires: autoconf >= 2.50 |
954d47ce | 16 | BuildRequires: automake >= 1:1.13 |
faf39e38 | 17 | BuildRequires: cairo-devel >= 1.0.0 |
8ce1e3f2 | 18 | BuildRequires: dconf-devel >= 0.14.0 |
03fab395 | 19 | BuildRequires: docbook-dtd412-xml |
046b34bc | 20 | BuildRequires: evolution-data-server-devel >= 3.33.2 |
35b315c5 | 21 | BuildRequires: gdk-pixbuf2-devel >= 2.26.0 |
fb746a6b | 22 | BuildRequires: gdm-devel >= 3 |
046b34bc | 23 | BuildRequires: gettext-tools >= 0.19.8 |
954d47ce | 24 | BuildRequires: glib2-devel >= 1:2.45.3 |
35b315c5 | 25 | BuildRequires: gnome-desktop-devel >= 3.4.0 |
f34d1c48 | 26 | BuildRequires: gnome-menus-devel >= 3.8.0 |
48303c43 | 27 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
36af5fdf | 28 | BuildRequires: gtk+3-devel >= 3.22.0 |
fb746a6b | 29 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.25} |
046b34bc | 30 | BuildRequires: libgweather-devel >= 3.28.0 |
faf39e38 | 31 | BuildRequires: libtool >= 2:2.2.6 |
f34d1c48 | 32 | BuildRequires: libwnck-devel >= 3.4.6 |
faf39e38 | 33 | BuildRequires: pango-devel >= 1:1.15.4 |
0e65d7c1 | 34 | BuildRequires: perl-base |
26effa38 | 35 | BuildRequires: pkgconfig >= 1:0.15.0 |
96f6ce92 | 36 | BuildRequires: polkit-devel |
80d31359 | 37 | BuildRequires: rpm-build >= 4.1-10 |
03fab395 | 38 | BuildRequires: rpm-pythonprov |
531f9312 | 39 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
ff126c01 | 40 | BuildRequires: rpmbuild(macros) >= 1.311 |
046b34bc | 41 | BuildRequires: systemd-devel >= 1:230 |
7041cb03 | 42 | BuildRequires: tar >= 1:1.22 |
faf39e38 JB |
43 | BuildRequires: xorg-lib-libX11-devel |
44 | BuildRequires: xorg-lib-libXau-devel | |
fb746a6b | 45 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 |
7041cb03 | 46 | BuildRequires: xz |
8ce1e3f2 | 47 | BuildRequires: yelp-tools |
954d47ce | 48 | Requires(post,postun): glib2 >= 1:2.45.3 |
2b8be571 | 49 | Requires(post,postun): gtk-update-icon-cache |
8648ec2a | 50 | Requires: %{name}-libs = %{version}-%{release} |
faf39e38 | 51 | Requires: dconf >= 0.14.0 |
faf39e38 | 52 | Requires: gdk-pixbuf2 >= 2.26.0 |
35b315c5 | 53 | Requires: gnome-desktop >= 3.4.0 |
2e66a3b5 | 54 | Requires: gnome-icon-theme >= 3.0.0 |
f34d1c48 | 55 | Requires: gnome-menus >= 3.8.0 |
48303c43 | 56 | Requires: hicolor-icon-theme |
046b34bc | 57 | Requires: libgweather >= 3.28.0 |
7adc9603 | 58 | Requires: libwnck >= 3.4.6 |
faf39e38 | 59 | Requires: pango >= 1:1.15.4 |
046b34bc | 60 | Requires: systemd-libs >= 1:230 |
49e3f399 | 61 | Requires: tzdata >= 2008b-4 |
2da232f6 | 62 | Requires: xdg-menus |
fb746a6b | 63 | Requires: xorg-lib-libXrandr >= 1.3.0 |
046b34bc | 64 | Suggests: evolution-data-server >= 3.33.2 |
87a23697 MB |
65 | Suggests: gnome-screenshot |
66 | Suggests: gnome-search-tool | |
2b1cc58a | 67 | Suggests: polkit-gnome >= 0.93 |
6475fdf9 | 68 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 69 | |
92ca1d3b | 70 | %description |
71 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
72 | applications and desktop tools to be used in conjunction with a window | |
73 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 74 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 75 | |
6c1adb18 | 76 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 77 | basic applets for the panel. |
78 | ||
874f0170 | 79 | %description -l pl.UTF-8 |
d5b99877 | 80 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
81 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
82 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 83 | na wolnym oprogramowaniu. |
6475fdf9 JB |
84 | |
85 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
86 | panelu GNOME2. | |
87 | ||
642a3f1f JB |
88 | %package libs |
89 | Summary: GNOME panel library | |
90 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
91 | Group: X11/Libraries | |
faf39e38 | 92 | Requires: cairo >= 1.0.0 |
954d47ce | 93 | Requires: glib2 >= 1:2.45.3 |
36af5fdf | 94 | Requires: gtk+3 >= 3.22.0 |
642a3f1f JB |
95 | |
96 | %description libs | |
97 | GNOME panel library. | |
98 | ||
99 | %description libs -l pl.UTF-8 | |
100 | Biblioteka panelu GNOME. | |
101 | ||
92ca1d3b | 102 | %package devel |
6475fdf9 | 103 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 104 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 105 | Group: X11/Development/Libraries |
8648ec2a | 106 | Requires: %{name}-libs = %{version}-%{release} |
954d47ce | 107 | Requires: glib2-devel >= 1:2.45.3 |
36af5fdf | 108 | Requires: gtk+3-devel >= 3.22.0 |
92ca1d3b | 109 | |
110 | %description devel | |
6475fdf9 JB |
111 | Panel header files for creating GNOME panels. |
112 | ||
874f0170 JR |
113 | %description devel -l pl.UTF-8 |
114 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 115 | |
9bcb8fd2 | 116 | %package apidocs |
117 | Summary: panel-applet API documentation | |
9b8f7eb6 | 118 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 119 | Group: Documentation |
120 | Requires: gtk-doc-common | |
58ce417b ER |
121 | %if "%{_rpmversion}" >= "5" |
122 | BuildArch: noarch | |
123 | %endif | |
9bcb8fd2 | 124 | |
125 | %description apidocs | |
126 | panel-applet API documentation. | |
127 | ||
874f0170 | 128 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 129 | Dokumentacja API panel-applet. |
130 | ||
92ca1d3b | 131 | %prep |
132 | %setup -q | |
133 | ||
134 | %build | |
49a5ac4c | 135 | %{__gtkdocize} |
416c8122 | 136 | %{__libtoolize} |
1c4c7880 | 137 | %{__aclocal} -I m4 |
416c8122 | 138 | %{__autoconf} |
45cb17b7 | 139 | %{__autoheader} |
416c8122 | 140 | %{__automake} |
d5524f48 | 141 | %configure \ |
c76245ca | 142 | --disable-silent-rules \ |
0c7a0a94 | 143 | --disable-static \ |
0e65d7c1 | 144 | --enable-eds \ |
954d47ce | 145 | %{?with_apidocs:--enable-gtk-doc} \ |
8648ec2a | 146 | --with-html-dir=%{_gtkdocdir} |
92ca1d3b | 147 | %{__make} |
148 | ||
92ca1d3b | 149 | %install |
150 | rm -rf $RPM_BUILD_ROOT | |
48303c43 | 151 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
92ca1d3b | 152 | |
153 | %{__make} install \ | |
8ce1e3f2 | 154 | DESTDIR=$RPM_BUILD_ROOT |
92ca1d3b | 155 | |
4b02d556 | 156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ |
36af5fdf | 157 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/modules/*.la |
b642f223 | 158 | |
80258c8f | 159 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
faf39e38 | 160 | |
8ce1e3f2 | 161 | %find_lang %{name} --with-gnome --all-name |
92ca1d3b | 162 | |
163 | %clean | |
164 | rm -rf $RPM_BUILD_ROOT | |
165 | ||
166 | %post | |
48303c43 | 167 | %glib_compile_schemas |
ff126c01 | 168 | %update_icon_cache hicolor |
169 | ||
46857caa | 170 | %postun |
48303c43 | 171 | %glib_compile_schemas |
ff126c01 | 172 | %update_icon_cache hicolor |
92ca1d3b | 173 | |
8648ec2a | 174 | %post libs -p /sbin/ldconfig |
175 | %postun libs -p /sbin/ldconfig | |
176 | ||
92ca1d3b | 177 | %files -f %{name}.lang |
178 | %defattr(644,root,root,755) | |
046b34bc | 179 | %doc AUTHORS NEWS README.md ChangeLog |
fa173a83 | 180 | %attr(755,root,root) %{_bindir}/gnome-panel |
f34d1c48 | 181 | %dir %{_libdir}/%{name} |
36af5fdf MB |
182 | %dir %{_libdir}/%{name}/modules |
183 | %attr(755,root,root) %{_libdir}/%{name}/modules/clock.so | |
184 | %attr(755,root,root) %{_libdir}/%{name}/modules/fish.so | |
46c7d802 | 185 | %attr(755,root,root) %{_libdir}/%{name}/modules/menu.so |
36af5fdf | 186 | %attr(755,root,root) %{_libdir}/%{name}/modules/notification-area.so |
e02a531f | 187 | %attr(755,root,root) %{_libdir}/%{name}/modules/separator.so |
36af5fdf MB |
188 | %attr(755,root,root) %{_libdir}/%{name}/modules/status-notifier.so |
189 | %attr(755,root,root) %{_libdir}/%{name}/modules/wncklet.so | |
8ce1e3f2 | 190 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml |
48303c43 | 191 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml |
2703b540 JR |
192 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.initial-settings.gschema.xml |
193 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.menu-button.gschema.xml | |
48303c43 ŁK |
194 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml |
195 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml | |
196 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml | |
197 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml | |
198 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml | |
48303c43 ŁK |
199 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml |
200 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml | |
faf39e38 JB |
201 | %{_datadir}/gnome-panel |
202 | %{_desktopdir}/gnome-panel.desktop | |
046b34bc JB |
203 | %{_iconsdir}/hicolor/*x*/apps/gnome-panel*.png |
204 | %{_iconsdir}/hicolor/scalable/apps/gnome-panel*.svg | |
faf39e38 | 205 | %{_mandir}/man1/gnome-panel.1* |
92ca1d3b | 206 | |
642a3f1f JB |
207 | %files libs |
208 | %defattr(644,root,root,755) | |
f34d1c48 | 209 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* |
36af5fdf | 210 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.3 |
4b02d556 JR |
211 | %attr(755,root,root) %{_libdir}/libgnome-panel.so.*.*.* |
212 | %attr(755,root,root) %ghost %{_libdir}/libgnome-panel.so.0 | |
642a3f1f | 213 | |
92ca1d3b | 214 | %files devel |
215 | %defattr(644,root,root,755) | |
f34d1c48 | 216 | %attr(755,root,root) %{_libdir}/libpanel-applet.so |
4b02d556 | 217 | %attr(755,root,root) %{_libdir}/libgnome-panel.so |
f34d1c48 ŁK |
218 | %{_includedir}/gnome-panel |
219 | %{_pkgconfigdir}/libpanel-applet.pc | |
4b02d556 | 220 | %{_pkgconfigdir}/libgnome-panel.pc |
92ca1d3b | 221 | |
9bcb8fd2 | 222 | %files apidocs |
223 | %defattr(644,root,root,755) | |
954d47ce | 224 | %{_gtkdocdir}/libpanel-applet |
4b02d556 | 225 | %{_gtkdocdir}/libgnome-panel |