]>
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 |
f34d1c48 ŁK |
4 | Version: 3.16.0 |
5 | Release: 1 | |
faf39e38 | 6 | License: LGPL v2+ (library), GPL v2+ (the rest) |
92ca1d3b | 7 | Group: X11/Applications |
f34d1c48 ŁK |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.16/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 98f6da1fc6b55b6849c36845879e88fe | |
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 |
faf39e38 JB |
56 | Requires: pango >= 1:1.15.4 |
57 | Requires: telepathy-glib >= 0.14.0 | |
49e3f399 | 58 | Requires: tzdata >= 2008b-4 |
2da232f6 | 59 | Requires: xdg-menus |
faf39e38 | 60 | Requires: xorg-lib-libXrandr >= 1.2.0 |
80258c8f | 61 | Suggests: evolution-data-server >= 3.6.0 |
87a23697 MB |
62 | Suggests: gnome-screenshot |
63 | Suggests: gnome-search-tool | |
2b1cc58a | 64 | Suggests: polkit-gnome >= 0.93 |
6b414668 | 65 | # sr@Latn vs. sr@latin |
66 | Conflicts: glibc-misc < 6:2.7 | |
6475fdf9 | 67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
92ca1d3b | 68 | |
92ca1d3b | 69 | %description |
70 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
71 | applications and desktop tools to be used in conjunction with a window | |
72 | manager for the X Window System. GNOME is similar in purpose and scope | |
6475fdf9 | 73 | to CDE and KDE, but GNOME is based completely on free software. |
92ca1d3b | 74 | |
6c1adb18 | 75 | The gnome-panel packages provides the GNOME panel, menus and some |
92ca1d3b | 76 | basic applets for the panel. |
77 | ||
874f0170 | 78 | %description -l pl.UTF-8 |
d5b99877 | 79 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla |
874f0170 JR |
80 | użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą |
81 | okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie | |
d5b99877 | 82 | na wolnym oprogramowaniu. |
6475fdf9 JB |
83 | |
84 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
85 | panelu GNOME2. | |
86 | ||
642a3f1f JB |
87 | %package libs |
88 | Summary: GNOME panel library | |
89 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
90 | Group: X11/Libraries | |
faf39e38 | 91 | Requires: cairo >= 1.0.0 |
f34d1c48 ŁK |
92 | Requires: glib2 >= 1:2.35.0 |
93 | Requires: gtk+3 >= 3.15.2 | |
94 | Requires: librsvg >= 1:2.36.2 | |
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} |
f34d1c48 ŁK |
107 | Requires: glib2-devel >= 1:2.35.0 |
108 | Requires: gtk+3-devel >= 3.15.2 | |
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 | ||
45cb17b7 PZ |
134 | # short circuit stopper (fix me!) |
135 | mv ChangeLog main-ChangeLog | |
136 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
531f9312 | 137 | |
92ca1d3b | 138 | %build |
49a5ac4c | 139 | %{__gtkdocize} |
862abbe9 | 140 | %{__intltoolize} |
416c8122 | 141 | %{__libtoolize} |
1c4c7880 | 142 | %{__aclocal} -I m4 |
416c8122 | 143 | %{__autoconf} |
45cb17b7 | 144 | %{__autoheader} |
416c8122 | 145 | %{__automake} |
d5524f48 | 146 | %configure \ |
c76245ca | 147 | --disable-silent-rules \ |
0c7a0a94 | 148 | --disable-static \ |
0e65d7c1 | 149 | --enable-eds \ |
8648ec2a | 150 | --enable-gtk-doc \ |
151 | --with-html-dir=%{_gtkdocdir} | |
92ca1d3b | 152 | %{__make} |
153 | ||
92ca1d3b | 154 | %install |
155 | rm -rf $RPM_BUILD_ROOT | |
48303c43 | 156 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
92ca1d3b | 157 | |
158 | %{__make} install \ | |
8ce1e3f2 | 159 | DESTDIR=$RPM_BUILD_ROOT |
92ca1d3b | 160 | |
f34d1c48 ŁK |
161 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet.la \ |
162 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/5.0/*.la | |
b642f223 | 163 | |
80258c8f | 164 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} |
faf39e38 | 165 | |
8ce1e3f2 | 166 | %find_lang %{name} --with-gnome --all-name |
92ca1d3b | 167 | |
168 | %clean | |
169 | rm -rf $RPM_BUILD_ROOT | |
170 | ||
171 | %post | |
48303c43 | 172 | %glib_compile_schemas |
ff126c01 | 173 | %update_icon_cache hicolor |
174 | ||
46857caa | 175 | %postun |
48303c43 | 176 | %glib_compile_schemas |
ff126c01 | 177 | %update_icon_cache hicolor |
92ca1d3b | 178 | |
8648ec2a | 179 | %post libs -p /sbin/ldconfig |
180 | %postun libs -p /sbin/ldconfig | |
181 | ||
92ca1d3b | 182 | %files -f %{name}.lang |
183 | %defattr(644,root,root,755) | |
f34d1c48 | 184 | %doc AUTHORS NEWS README *ChangeLog |
fa173a83 MB |
185 | %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit |
186 | %attr(755,root,root) %{_bindir}/gnome-panel | |
187 | %attr(755,root,root) %{_bindir}/panel-test-applets | |
f34d1c48 ŁK |
188 | %dir %{_libdir}/%{name} |
189 | %dir %{_libdir}/%{name}/5.0 | |
190 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libclock-applet.so | |
191 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libfish-applet.so | |
192 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libnotification-area-applet.so | |
193 | %attr(755,root,root) %{_libdir}/%{name}/5.0/libwnck-applet.so | |
8ce1e3f2 | 194 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml |
48303c43 ŁK |
195 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml |
196 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml | |
197 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml | |
198 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml | |
199 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml | |
200 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml | |
201 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.menu-button.gschema.xml | |
202 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml | |
203 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml | |
faf39e38 JB |
204 | %{_datadir}/gnome-panel |
205 | %{_desktopdir}/gnome-panel.desktop | |
206 | %{_iconsdir}/hicolor/*/apps/gnome-panel*.* | |
207 | %{_mandir}/man1/gnome-panel.1* | |
92ca1d3b | 208 | |
642a3f1f JB |
209 | %files libs |
210 | %defattr(644,root,root,755) | |
f34d1c48 ŁK |
211 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* |
212 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.0 | |
213 | %{_libdir}/girepository-1.0/PanelApplet-5.0.typelib | |
642a3f1f | 214 | |
92ca1d3b | 215 | %files devel |
216 | %defattr(644,root,root,755) | |
f34d1c48 ŁK |
217 | %attr(755,root,root) %{_libdir}/libpanel-applet.so |
218 | %{_includedir}/gnome-panel | |
219 | %{_pkgconfigdir}/libpanel-applet.pc | |
220 | %{_datadir}/gir-1.0/PanelApplet-5.0.gir | |
92ca1d3b | 221 | |
9bcb8fd2 | 222 | %files apidocs |
223 | %defattr(644,root,root,755) | |
f34d1c48 | 224 | %{_gtkdocdir}/panel-applet-5.0 |