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