]>
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 |
0b93b993 | 4 | Version: 3.16.1 |
f34d1c48 | 5 | Release: 1 |
faf39e38 | 6 | License: LGPL v2+ (library), GPL v2+ (the rest) |
92ca1d3b | 7 | Group: X11/Applications |
f34d1c48 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.16/%{name}-%{version}.tar.xz |
0b93b993 | 9 | # Source0-md5: 88ffde25491185e482bc204c4398e03a |
92ca1d3b | 10 | URL: http://www.gnome.org/ |
faf39e38 | 11 | BuildRequires: autoconf >= 2.50 |
96f6ce92 | 12 | BuildRequires: automake >= 1:1.11 |
faf39e38 | 13 | BuildRequires: cairo-devel >= 1.0.0 |
8ce1e3f2 | 14 | BuildRequires: dconf-devel >= 0.14.0 |
03fab395 | 15 | BuildRequires: docbook-dtd412-xml |
8ce1e3f2 | 16 | BuildRequires: evolution-data-server-devel >= 3.6.0 |
35b315c5 | 17 | BuildRequires: gdk-pixbuf2-devel >= 2.26.0 |
f4d0715a | 18 | BuildRequires: gettext-tools >= 0.12 |
f34d1c48 | 19 | BuildRequires: glib2-devel >= 1:2.35.0 |
485cb2fc | 20 | BuildRequires: gnome-common >= 2.24.0 |
35b315c5 | 21 | BuildRequires: gnome-desktop-devel >= 3.4.0 |
f34d1c48 | 22 | BuildRequires: gnome-menus-devel >= 3.8.0 |
48303c43 | 23 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
f34d1c48 | 24 | BuildRequires: gtk+3-devel >= 3.15.2 |
45cb17b7 | 25 | BuildRequires: gtk-doc >= 1.9 |
faf39e38 | 26 | BuildRequires: intltool >= 0.40.6 |
f34d1c48 ŁK |
27 | BuildRequires: libgweather-devel >= 3.10.1 |
28 | BuildRequires: librsvg-devel >= 2.36.2 | |
faf39e38 | 29 | BuildRequires: libtool >= 2:2.2.6 |
f34d1c48 | 30 | BuildRequires: libwnck-devel >= 3.4.6 |
faf39e38 | 31 | BuildRequires: pango-devel >= 1:1.15.4 |
0e65d7c1 | 32 | BuildRequires: perl-base |
26effa38 | 33 | BuildRequires: pkgconfig >= 1:0.15.0 |
96f6ce92 | 34 | BuildRequires: polkit-devel |
80d31359 | 35 | BuildRequires: rpm-build >= 4.1-10 |
03fab395 | 36 | BuildRequires: rpm-pythonprov |
531f9312 | 37 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
ff126c01 | 38 | BuildRequires: rpmbuild(macros) >= 1.311 |
7041cb03 | 39 | BuildRequires: tar >= 1:1.22 |
48303c43 | 40 | BuildRequires: telepathy-glib-devel >= 0.14.0 |
faf39e38 JB |
41 | BuildRequires: xorg-lib-libX11-devel |
42 | BuildRequires: xorg-lib-libXau-devel | |
43 | BuildRequires: xorg-lib-libXrandr-devel >= 1.2.0 | |
7041cb03 | 44 | BuildRequires: xz |
8ce1e3f2 | 45 | BuildRequires: yelp-tools |
f34d1c48 | 46 | Requires(post,postun): glib2 >= 1:2.35.0 |
2b8be571 | 47 | Requires(post,postun): gtk-update-icon-cache |
8648ec2a | 48 | Requires: %{name}-libs = %{version}-%{release} |
faf39e38 | 49 | Requires: dconf >= 0.14.0 |
faf39e38 | 50 | Requires: gdk-pixbuf2 >= 2.26.0 |
35b315c5 | 51 | Requires: gnome-desktop >= 3.4.0 |
2e66a3b5 | 52 | Requires: gnome-icon-theme >= 3.0.0 |
f34d1c48 | 53 | Requires: gnome-menus >= 3.8.0 |
48303c43 | 54 | Requires: hicolor-icon-theme |
f34d1c48 | 55 | Requires: libgweather >= 3.10.1 |
7adc9603 | 56 | Requires: libwnck >= 3.4.6 |
faf39e38 JB |
57 | Requires: pango >= 1:1.15.4 |
58 | Requires: telepathy-glib >= 0.14.0 | |
49e3f399 | 59 | Requires: tzdata >= 2008b-4 |
2da232f6 | 60 | Requires: xdg-menus |
faf39e38 | 61 | Requires: xorg-lib-libXrandr >= 1.2.0 |
80258c8f | 62 | Suggests: evolution-data-server >= 3.6.0 |
87a23697 MB |
63 | Suggests: gnome-screenshot |
64 | Suggests: gnome-search-tool | |
2b1cc58a | 65 | Suggests: polkit-gnome >= 0.93 |
6b414668 | 66 | # sr@Latn vs. sr@latin |
67 | Conflicts: glibc-misc < 6:2.7 | |
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 |
f34d1c48 ŁK |
93 | Requires: glib2 >= 1:2.35.0 |
94 | Requires: gtk+3 >= 3.15.2 | |
95 | Requires: librsvg >= 1:2.36.2 | |
642a3f1f JB |
96 | |
97 | %description libs | |
98 | GNOME panel library. | |
99 | ||
100 | %description libs -l pl.UTF-8 | |
101 | Biblioteka panelu GNOME. | |
102 | ||
92ca1d3b | 103 | %package devel |
6475fdf9 | 104 | Summary: GNOME panel includes, and more |
9b8f7eb6 | 105 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME |
df4e27aa | 106 | Group: X11/Development/Libraries |
8648ec2a | 107 | Requires: %{name}-libs = %{version}-%{release} |
f34d1c48 ŁK |
108 | Requires: glib2-devel >= 1:2.35.0 |
109 | Requires: gtk+3-devel >= 3.15.2 | |
92ca1d3b | 110 | |
111 | %description devel | |
6475fdf9 JB |
112 | Panel header files for creating GNOME panels. |
113 | ||
874f0170 JR |
114 | %description devel -l pl.UTF-8 |
115 | Pliki nagłówkowe bibliotek panelu GNOME. | |
92ca1d3b | 116 | |
9bcb8fd2 | 117 | %package apidocs |
118 | Summary: panel-applet API documentation | |
9b8f7eb6 | 119 | Summary(pl.UTF-8): Dokumentacja API panel-applet |
9bcb8fd2 | 120 | Group: Documentation |
121 | Requires: gtk-doc-common | |
58ce417b ER |
122 | %if "%{_rpmversion}" >= "5" |
123 | BuildArch: noarch | |
124 | %endif | |
9bcb8fd2 | 125 | |
126 | %description apidocs | |
127 | panel-applet API documentation. | |
128 | ||
874f0170 | 129 | %description apidocs -l pl.UTF-8 |
9bcb8fd2 | 130 | Dokumentacja API panel-applet. |
131 | ||
92ca1d3b | 132 | %prep |
133 | %setup -q | |
134 | ||
45cb17b7 PZ |
135 | # short circuit stopper (fix me!) |
136 | mv ChangeLog main-ChangeLog | |
137 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
531f9312 | 138 | |
92ca1d3b | 139 | %build |
49a5ac4c | 140 | %{__gtkdocize} |
862abbe9 | 141 | %{__intltoolize} |
416c8122 | 142 | %{__libtoolize} |
1c4c7880 | 143 | %{__aclocal} -I m4 |
416c8122 | 144 | %{__autoconf} |
45cb17b7 | 145 | %{__autoheader} |
416c8122 | 146 | %{__automake} |
d5524f48 | 147 | %configure \ |
c76245ca | 148 | --disable-silent-rules \ |
0c7a0a94 | 149 | --disable-static \ |
0e65d7c1 | 150 | --enable-eds \ |
8648ec2a | 151 | --enable-gtk-doc \ |
152 | --with-html-dir=%{_gtkdocdir} | |
92ca1d3b | 153 | %{__make} |
154 | ||
92ca1d3b | 155 | %install |
156 | rm -rf $RPM_BUILD_ROOT | |
48303c43 | 157 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
92ca1d3b | 158 | |
159 | %{__make} install \ | |
8ce1e3f2 | 160 | DESTDIR=$RPM_BUILD_ROOT |
92ca1d3b | 161 | |
f34d1c48 ŁK |
162 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet.la \ |
163 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/5.0/*.la | |
b642f223 | 164 | |
80258c8f | 165 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
faf39e38 | 166 | |
8ce1e3f2 | 167 | %find_lang %{name} --with-gnome --all-name |
92ca1d3b | 168 | |
169 | %clean | |
170 | rm -rf $RPM_BUILD_ROOT | |
171 | ||
172 | %post | |
48303c43 | 173 | %glib_compile_schemas |
ff126c01 | 174 | %update_icon_cache hicolor |
175 | ||
46857caa | 176 | %postun |
48303c43 | 177 | %glib_compile_schemas |
ff126c01 | 178 | %update_icon_cache hicolor |
92ca1d3b | 179 | |
8648ec2a | 180 | %post libs -p /sbin/ldconfig |
181 | %postun libs -p /sbin/ldconfig | |
182 | ||
92ca1d3b | 183 | %files -f %{name}.lang |
184 | %defattr(644,root,root,755) | |
f34d1c48 | 185 | %doc AUTHORS NEWS README *ChangeLog |
fa173a83 MB |
186 | %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit |
187 | %attr(755,root,root) %{_bindir}/gnome-panel | |
188 | %attr(755,root,root) %{_bindir}/panel-test-applets | |
f34d1c48 ŁK |
189 | %dir %{_libdir}/%{name} |
190 | %dir %{_libdir}/%{name}/5.0 | |
191 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libclock-applet.so | |
192 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libfish-applet.so | |
193 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libnotification-area-applet.so | |
194 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libwnck-applet.so | |
8ce1e3f2 | 195 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml |
48303c43 ŁK |
196 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml |
197 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml | |
198 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml | |
199 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml | |
200 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml | |
201 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml | |
202 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.menu-button.gschema.xml | |
203 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml | |
204 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml | |
faf39e38 JB |
205 | %{_datadir}/gnome-panel |
206 | %{_desktopdir}/gnome-panel.desktop | |
207 | %{_iconsdir}/hicolor/*/apps/gnome-panel*.* | |
208 | %{_mandir}/man1/gnome-panel.1* | |
92ca1d3b | 209 | |
642a3f1f JB |
210 | %files libs |
211 | %defattr(644,root,root,755) | |
f34d1c48 ŁK |
212 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* |
213 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.0 | |
214 | %{_libdir}/girepository-1.0/PanelApplet-5.0.typelib | |
642a3f1f | 215 | |
92ca1d3b | 216 | %files devel |
217 | %defattr(644,root,root,755) | |
f34d1c48 ŁK |
218 | %attr(755,root,root) %{_libdir}/libpanel-applet.so |
219 | %{_includedir}/gnome-panel | |
220 | %{_pkgconfigdir}/libpanel-applet.pc | |
221 | %{_datadir}/gir-1.0/PanelApplet-5.0.gir | |
92ca1d3b | 222 | |
9bcb8fd2 | 223 | %files apidocs |
224 | %defattr(644,root,root,755) | |
f34d1c48 | 225 | %{_gtkdocdir}/panel-applet-5.0 |