]>
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 |
f374d3ad JR |
8 | Version: 3.18.0 |
9 | Release: 0.1 | |
faf39e38 | 10 | License: LGPL v2+ (library), GPL v2+ (the rest) |
92ca1d3b | 11 | Group: X11/Applications |
f374d3ad JR |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.18/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 83726071255423241cda93604b44c828 | |
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 |
f4d0715a | 22 | BuildRequires: gettext-tools >= 0.12 |
954d47ce | 23 | BuildRequires: glib2-devel >= 1:2.45.3 |
485cb2fc | 24 | BuildRequires: gnome-common >= 2.24.0 |
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 |
f34d1c48 | 28 | BuildRequires: gtk+3-devel >= 3.15.2 |
954d47ce | 29 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.24.1} |
faf39e38 | 30 | BuildRequires: intltool >= 0.40.6 |
f34d1c48 ŁK |
31 | BuildRequires: libgweather-devel >= 3.10.1 |
32 | BuildRequires: librsvg-devel >= 2.36.2 | |
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 |
7041cb03 | 43 | BuildRequires: tar >= 1:1.22 |
48303c43 | 44 | BuildRequires: telepathy-glib-devel >= 0.14.0 |
faf39e38 JB |
45 | BuildRequires: xorg-lib-libX11-devel |
46 | BuildRequires: xorg-lib-libXau-devel | |
47 | BuildRequires: xorg-lib-libXrandr-devel >= 1.2.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 |
f34d1c48 | 59 | Requires: libgweather >= 3.10.1 |
7adc9603 | 60 | Requires: libwnck >= 3.4.6 |
faf39e38 JB |
61 | Requires: pango >= 1:1.15.4 |
62 | Requires: telepathy-glib >= 0.14.0 | |
49e3f399 | 63 | Requires: tzdata >= 2008b-4 |
2da232f6 | 64 | Requires: xdg-menus |
faf39e38 | 65 | Requires: xorg-lib-libXrandr >= 1.2.0 |
80258c8f | 66 | Suggests: evolution-data-server >= 3.6.0 |
87a23697 MB |
67 | Suggests: gnome-screenshot |
68 | Suggests: gnome-search-tool | |
2b1cc58a | 69 | Suggests: polkit-gnome >= 0.93 |
6b414668 | 70 | # sr@Latn vs. sr@latin |
71 | Conflicts: glibc-misc < 6:2.7 | |
6475fdf9 | 72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 73 | |
92ca1d3b | 74 | %description |
75 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
76 | applications and desktop tools to be used in conjunction with a window | |
77 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 78 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 79 | |
6c1adb18 | 80 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 81 | basic applets for the panel. |
82 | ||
874f0170 | 83 | %description -l pl.UTF-8 |
d5b99877 | 84 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
85 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
86 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 87 | na wolnym oprogramowaniu. |
6475fdf9 JB |
88 | |
89 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
90 | panelu GNOME2. | |
91 | ||
642a3f1f JB |
92 | %package libs |
93 | Summary: GNOME panel library | |
94 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
95 | Group: X11/Libraries | |
faf39e38 | 96 | Requires: cairo >= 1.0.0 |
954d47ce | 97 | Requires: glib2 >= 1:2.45.3 |
f34d1c48 ŁK |
98 | Requires: gtk+3 >= 3.15.2 |
99 | Requires: librsvg >= 1:2.36.2 | |
642a3f1f JB |
100 | |
101 | %description libs | |
102 | GNOME panel library. | |
103 | ||
104 | %description libs -l pl.UTF-8 | |
105 | Biblioteka panelu GNOME. | |
106 | ||
92ca1d3b | 107 | %package devel |
6475fdf9 | 108 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 109 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 110 | Group: X11/Development/Libraries |
8648ec2a | 111 | Requires: %{name}-libs = %{version}-%{release} |
954d47ce | 112 | Requires: glib2-devel >= 1:2.45.3 |
f34d1c48 | 113 | Requires: gtk+3-devel >= 3.15.2 |
92ca1d3b | 114 | |
115 | %description devel | |
6475fdf9 JB |
116 | Panel header files for creating GNOME panels. |
117 | ||
874f0170 JR |
118 | %description devel -l pl.UTF-8 |
119 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 120 | |
9bcb8fd2 | 121 | %package apidocs |
122 | Summary: panel-applet API documentation | |
9b8f7eb6 | 123 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 124 | Group: Documentation |
125 | Requires: gtk-doc-common | |
58ce417b ER |
126 | %if "%{_rpmversion}" >= "5" |
127 | BuildArch: noarch | |
128 | %endif | |
9bcb8fd2 | 129 | |
130 | %description apidocs | |
131 | panel-applet API documentation. | |
132 | ||
874f0170 | 133 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 134 | Dokumentacja API panel-applet. |
135 | ||
92ca1d3b | 136 | %prep |
137 | %setup -q | |
138 | ||
45cb17b7 PZ |
139 | # short circuit stopper (fix me!) |
140 | mv ChangeLog main-ChangeLog | |
141 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
531f9312 | 142 | |
92ca1d3b | 143 | %build |
49a5ac4c | 144 | %{__gtkdocize} |
862abbe9 | 145 | %{__intltoolize} |
416c8122 | 146 | %{__libtoolize} |
1c4c7880 | 147 | %{__aclocal} -I m4 |
416c8122 | 148 | %{__autoconf} |
45cb17b7 | 149 | %{__autoheader} |
416c8122 | 150 | %{__automake} |
d5524f48 | 151 | %configure \ |
c76245ca | 152 | --disable-silent-rules \ |
0c7a0a94 | 153 | --disable-static \ |
0e65d7c1 | 154 | --enable-eds \ |
954d47ce | 155 | %{?with_apidocs:--enable-gtk-doc} \ |
8648ec2a | 156 | --with-html-dir=%{_gtkdocdir} |
92ca1d3b | 157 | %{__make} |
158 | ||
92ca1d3b | 159 | %install |
160 | rm -rf $RPM_BUILD_ROOT | |
48303c43 | 161 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
92ca1d3b | 162 | |
163 | %{__make} install \ | |
8ce1e3f2 | 164 | DESTDIR=$RPM_BUILD_ROOT |
92ca1d3b | 165 | |
f34d1c48 ŁK |
166 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet.la \ |
167 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/5.0/*.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) | |
f34d1c48 | 189 | %doc AUTHORS 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 | |
f34d1c48 ŁK |
193 | %dir %{_libdir}/%{name} |
194 | %dir %{_libdir}/%{name}/5.0 | |
195 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libclock-applet.so | |
196 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libfish-applet.so | |
197 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libnotification-area-applet.so | |
198 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libwnck-applet.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 ŁK |
216 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* |
217 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.0 | |
218 | %{_libdir}/girepository-1.0/PanelApplet-5.0.typelib | |
642a3f1f | 219 | |
92ca1d3b | 220 | %files devel |
221 | %defattr(644,root,root,755) | |
f34d1c48 ŁK |
222 | %attr(755,root,root) %{_libdir}/libpanel-applet.so |
223 | %{_includedir}/gnome-panel | |
224 | %{_pkgconfigdir}/libpanel-applet.pc | |
225 | %{_datadir}/gir-1.0/PanelApplet-5.0.gir | |
92ca1d3b | 226 | |
9bcb8fd2 | 227 | %files apidocs |
228 | %defattr(644,root,root,755) | |
954d47ce | 229 | %{_gtkdocdir}/libpanel-applet |