]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without apidocs # gtk-doc documentation rebuild | |
4 | # | |
5 | Summary: The core programs for the GNOME GUI desktop environment | |
6 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME | |
7 | Name: gnome-panel | |
8 | Version: 3.36.1 | |
9 | Release: 1 | |
10 | License: LGPL v2+ (library), GPL v2+ (the rest) | |
11 | Group: X11/Applications | |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.36/%{name}-%{version}.tar.xz | |
13 | # Source0-md5: b6bb185ce1724f4b19699042d90282a6 | |
14 | URL: https://wiki.gnome.org/Projects/GnomePanel | |
15 | BuildRequires: autoconf >= 2.50 | |
16 | BuildRequires: automake >= 1:1.13 | |
17 | BuildRequires: cairo-devel >= 1.0.0 | |
18 | BuildRequires: dconf-devel >= 0.14.0 | |
19 | BuildRequires: docbook-dtd412-xml | |
20 | BuildRequires: evolution-data-server-devel >= 3.33.2 | |
21 | BuildRequires: gdk-pixbuf2-devel >= 2.26.0 | |
22 | BuildRequires: gdm-devel >= 3 | |
23 | BuildRequires: gettext-tools >= 0.19.8 | |
24 | BuildRequires: glib2-devel >= 1:2.45.3 | |
25 | BuildRequires: gnome-desktop-devel >= 3.4.0 | |
26 | BuildRequires: gnome-menus-devel >= 3.8.0 | |
27 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
28 | BuildRequires: gtk+3-devel >= 3.22.0 | |
29 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.25} | |
30 | BuildRequires: libgweather-devel >= 3.28.0 | |
31 | BuildRequires: libtool >= 2:2.2.6 | |
32 | BuildRequires: libwnck-devel >= 3.4.6 | |
33 | BuildRequires: pango-devel >= 1:1.15.4 | |
34 | BuildRequires: perl-base | |
35 | BuildRequires: pkgconfig >= 1:0.15.0 | |
36 | BuildRequires: polkit-devel | |
37 | BuildRequires: rpm-build >= 4.1-10 | |
38 | BuildRequires: rpm-pythonprov | |
39 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
40 | BuildRequires: rpmbuild(macros) >= 1.311 | |
41 | BuildRequires: systemd-devel >= 1:230 | |
42 | BuildRequires: tar >= 1:1.22 | |
43 | BuildRequires: xorg-lib-libX11-devel | |
44 | BuildRequires: xorg-lib-libXau-devel | |
45 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 | |
46 | BuildRequires: xz | |
47 | BuildRequires: yelp-tools | |
48 | Requires(post,postun): glib2 >= 1:2.45.3 | |
49 | Requires(post,postun): gtk-update-icon-cache | |
50 | Requires: %{name}-libs = %{version}-%{release} | |
51 | Requires: dconf >= 0.14.0 | |
52 | Requires: gdk-pixbuf2 >= 2.26.0 | |
53 | Requires: gnome-desktop >= 3.4.0 | |
54 | Requires: gnome-icon-theme >= 3.0.0 | |
55 | Requires: gnome-menus >= 3.8.0 | |
56 | Requires: hicolor-icon-theme | |
57 | Requires: libgweather >= 3.28.0 | |
58 | Requires: libwnck >= 3.4.6 | |
59 | Requires: pango >= 1:1.15.4 | |
60 | Requires: systemd-libs >= 1:230 | |
61 | Requires: tzdata >= 2008b-4 | |
62 | Requires: xdg-menus | |
63 | Requires: xorg-lib-libXrandr >= 1.3.0 | |
64 | Suggests: evolution-data-server >= 3.33.2 | |
65 | Suggests: gnome-screenshot | |
66 | Suggests: gnome-search-tool | |
67 | Suggests: polkit-gnome >= 0.93 | |
68 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
69 | ||
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 | |
74 | to CDE and KDE, but GNOME is based completely on free software. | |
75 | ||
76 | The gnome-panel packages provides the GNOME panel, menus and some | |
77 | basic applets for the panel. | |
78 | ||
79 | %description -l pl.UTF-8 | |
80 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla | |
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 | |
83 | na wolnym oprogramowaniu. | |
84 | ||
85 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
86 | panelu GNOME2. | |
87 | ||
88 | %package libs | |
89 | Summary: GNOME panel library | |
90 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
91 | Group: X11/Libraries | |
92 | Requires: cairo >= 1.0.0 | |
93 | Requires: glib2 >= 1:2.45.3 | |
94 | Requires: gtk+3 >= 3.22.0 | |
95 | ||
96 | %description libs | |
97 | GNOME panel library. | |
98 | ||
99 | %description libs -l pl.UTF-8 | |
100 | Biblioteka panelu GNOME. | |
101 | ||
102 | %package devel | |
103 | Summary: GNOME panel includes, and more | |
104 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME | |
105 | Group: X11/Development/Libraries | |
106 | Requires: %{name}-libs = %{version}-%{release} | |
107 | Requires: glib2-devel >= 1:2.45.3 | |
108 | Requires: gtk+3-devel >= 3.22.0 | |
109 | ||
110 | %description devel | |
111 | Panel header files for creating GNOME panels. | |
112 | ||
113 | %description devel -l pl.UTF-8 | |
114 | Pliki nagłówkowe bibliotek panelu GNOME. | |
115 | ||
116 | %package apidocs | |
117 | Summary: panel-applet API documentation | |
118 | Summary(pl.UTF-8): Dokumentacja API panel-applet | |
119 | Group: Documentation | |
120 | Requires: gtk-doc-common | |
121 | %if "%{_rpmversion}" >= "5" | |
122 | BuildArch: noarch | |
123 | %endif | |
124 | ||
125 | %description apidocs | |
126 | panel-applet API documentation. | |
127 | ||
128 | %description apidocs -l pl.UTF-8 | |
129 | Dokumentacja API panel-applet. | |
130 | ||
131 | %prep | |
132 | %setup -q | |
133 | ||
134 | %build | |
135 | %{__gtkdocize} | |
136 | %{__libtoolize} | |
137 | %{__aclocal} -I m4 | |
138 | %{__autoconf} | |
139 | %{__autoheader} | |
140 | %{__automake} | |
141 | %configure \ | |
142 | --disable-silent-rules \ | |
143 | --disable-static \ | |
144 | --enable-eds \ | |
145 | %{?with_apidocs:--enable-gtk-doc} \ | |
146 | --with-html-dir=%{_gtkdocdir} | |
147 | %{__make} | |
148 | ||
149 | %install | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
152 | ||
153 | %{__make} install \ | |
154 | DESTDIR=$RPM_BUILD_ROOT | |
155 | ||
156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \ | |
157 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/modules/*.la | |
158 | ||
159 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} | |
160 | ||
161 | %find_lang %{name} --with-gnome --all-name | |
162 | ||
163 | %clean | |
164 | rm -rf $RPM_BUILD_ROOT | |
165 | ||
166 | %post | |
167 | %glib_compile_schemas | |
168 | %update_icon_cache hicolor | |
169 | ||
170 | %postun | |
171 | %glib_compile_schemas | |
172 | %update_icon_cache hicolor | |
173 | ||
174 | %post libs -p /sbin/ldconfig | |
175 | %postun libs -p /sbin/ldconfig | |
176 | ||
177 | %files -f %{name}.lang | |
178 | %defattr(644,root,root,755) | |
179 | %doc AUTHORS NEWS README.md ChangeLog | |
180 | %attr(755,root,root) %{_bindir}/gnome-panel | |
181 | %dir %{_libdir}/%{name} | |
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 | |
185 | %attr(755,root,root) %{_libdir}/%{name}/modules/menu.so | |
186 | %attr(755,root,root) %{_libdir}/%{name}/modules/notification-area.so | |
187 | %attr(755,root,root) %{_libdir}/%{name}/modules/separator.so | |
188 | %attr(755,root,root) %{_libdir}/%{name}/modules/status-notifier.so | |
189 | %attr(755,root,root) %{_libdir}/%{name}/modules/wncklet.so | |
190 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml | |
191 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml | |
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 | |
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 | |
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 | |
201 | %{_datadir}/gnome-panel | |
202 | %{_desktopdir}/gnome-panel.desktop | |
203 | %{_iconsdir}/hicolor/*x*/apps/gnome-panel*.png | |
204 | %{_iconsdir}/hicolor/scalable/apps/gnome-panel*.svg | |
205 | %{_mandir}/man1/gnome-panel.1* | |
206 | ||
207 | %files libs | |
208 | %defattr(644,root,root,755) | |
209 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* | |
210 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.3 | |
211 | %attr(755,root,root) %{_libdir}/libgnome-panel.so.*.*.* | |
212 | %attr(755,root,root) %ghost %{_libdir}/libgnome-panel.so.0 | |
213 | ||
214 | %files devel | |
215 | %defattr(644,root,root,755) | |
216 | %attr(755,root,root) %{_libdir}/libpanel-applet.so | |
217 | %attr(755,root,root) %{_libdir}/libgnome-panel.so | |
218 | %{_includedir}/gnome-panel | |
219 | %{_pkgconfigdir}/libpanel-applet.pc | |
220 | %{_pkgconfigdir}/libgnome-panel.pc | |
221 | ||
222 | %files apidocs | |
223 | %defattr(644,root,root,755) | |
224 | %{_gtkdocdir}/libpanel-applet | |
225 | %{_gtkdocdir}/libgnome-panel |