]>
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.34.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.34/%{name}-%{version}.tar.xz | |
13 | # Source0-md5: cfd5d3fd548a2afdd8bd3bbdf9646bbd | |
14 | URL: http://www.gnome.org/ | |
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.6.0 | |
21 | BuildRequires: gdk-pixbuf2-devel >= 2.26.0 | |
22 | BuildRequires: gdm-devel >= 3 | |
23 | BuildRequires: gettext-tools >= 0.19.4 | |
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.17.1 | |
31 | BuildRequires: librsvg-devel >= 1:2.36.2 | |
32 | #BuildRequires: libstatus-notifier-devel (repo no longer available?) | |
33 | BuildRequires: libtool >= 2:2.2.6 | |
34 | BuildRequires: libwnck-devel >= 3.4.6 | |
35 | BuildRequires: pango-devel >= 1:1.15.4 | |
36 | BuildRequires: perl-base | |
37 | BuildRequires: pkgconfig >= 1:0.15.0 | |
38 | BuildRequires: polkit-devel | |
39 | BuildRequires: rpm-build >= 4.1-10 | |
40 | BuildRequires: rpm-pythonprov | |
41 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
42 | BuildRequires: rpmbuild(macros) >= 1.311 | |
43 | BuildRequires: systemd-devel >= 230 | |
44 | BuildRequires: tar >= 1:1.22 | |
45 | BuildRequires: xorg-lib-libX11-devel | |
46 | BuildRequires: xorg-lib-libXau-devel | |
47 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0 | |
48 | BuildRequires: xz | |
49 | BuildRequires: yelp-tools | |
50 | Requires(post,postun): glib2 >= 1:2.45.3 | |
51 | Requires(post,postun): gtk-update-icon-cache | |
52 | Requires: %{name}-libs = %{version}-%{release} | |
53 | Requires: dconf >= 0.14.0 | |
54 | Requires: gdk-pixbuf2 >= 2.26.0 | |
55 | Requires: gnome-desktop >= 3.4.0 | |
56 | Requires: gnome-icon-theme >= 3.0.0 | |
57 | Requires: gnome-menus >= 3.8.0 | |
58 | Requires: hicolor-icon-theme | |
59 | Requires: libgweather >= 3.17.1 | |
60 | Requires: libwnck >= 3.4.6 | |
61 | Requires: pango >= 1:1.15.4 | |
62 | Requires: tzdata >= 2008b-4 | |
63 | Requires: xdg-menus | |
64 | Requires: xorg-lib-libXrandr >= 1.3.0 | |
65 | Suggests: evolution-data-server >= 3.6.0 | |
66 | Suggests: gnome-screenshot | |
67 | Suggests: gnome-search-tool | |
68 | Suggests: polkit-gnome >= 0.93 | |
69 | # sr@Latn vs. sr@latin | |
70 | Conflicts: glibc-misc < 6:2.7 | |
71 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
72 | ||
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 | |
77 | to CDE and KDE, but GNOME is based completely on free software. | |
78 | ||
79 | The gnome-panel packages provides the GNOME panel, menus and some | |
80 | basic applets for the panel. | |
81 | ||
82 | %description -l pl.UTF-8 | |
83 | GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla | |
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 | |
86 | na wolnym oprogramowaniu. | |
87 | ||
88 | Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla | |
89 | panelu GNOME2. | |
90 | ||
91 | %package libs | |
92 | Summary: GNOME panel library | |
93 | Summary(pl.UTF-8): Biblioteka panelu GNOME | |
94 | Group: X11/Libraries | |
95 | Requires: cairo >= 1.0.0 | |
96 | Requires: glib2 >= 1:2.45.3 | |
97 | Requires: gtk+3 >= 3.22.0 | |
98 | Requires: librsvg >= 1:2.36.2 | |
99 | ||
100 | %description libs | |
101 | GNOME panel library. | |
102 | ||
103 | %description libs -l pl.UTF-8 | |
104 | Biblioteka panelu GNOME. | |
105 | ||
106 | %package devel | |
107 | Summary: GNOME panel includes, and more | |
108 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki panelu GNOME | |
109 | Group: X11/Development/Libraries | |
110 | Requires: %{name}-libs = %{version}-%{release} | |
111 | Requires: glib2-devel >= 1:2.45.3 | |
112 | Requires: gtk+3-devel >= 3.22.0 | |
113 | ||
114 | %description devel | |
115 | Panel header files for creating GNOME panels. | |
116 | ||
117 | %description devel -l pl.UTF-8 | |
118 | Pliki nagłówkowe bibliotek panelu GNOME. | |
119 | ||
120 | %package apidocs | |
121 | Summary: panel-applet API documentation | |
122 | Summary(pl.UTF-8): Dokumentacja API panel-applet | |
123 | Group: Documentation | |
124 | Requires: gtk-doc-common | |
125 | %if "%{_rpmversion}" >= "5" | |
126 | BuildArch: noarch | |
127 | %endif | |
128 | ||
129 | %description apidocs | |
130 | panel-applet API documentation. | |
131 | ||
132 | %description apidocs -l pl.UTF-8 | |
133 | Dokumentacja API panel-applet. | |
134 | ||
135 | %prep | |
136 | %setup -q | |
137 | ||
138 | # short circuit stopper (fix me!) | |
139 | %{__mv} ChangeLog main-ChangeLog | |
140 | find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh | |
141 | ||
142 | %build | |
143 | %{__gtkdocize} | |
144 | %{__libtoolize} | |
145 | %{__aclocal} -I m4 | |
146 | %{__autoconf} | |
147 | %{__autoheader} | |
148 | %{__automake} | |
149 | %configure \ | |
150 | --disable-silent-rules \ | |
151 | --disable-static \ | |
152 | --enable-eds \ | |
153 | %{?with_apidocs:--enable-gtk-doc} \ | |
154 | --with-html-dir=%{_gtkdocdir} | |
155 | %{__make} | |
156 | ||
157 | %install | |
158 | rm -rf $RPM_BUILD_ROOT | |
159 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
160 | ||
161 | %{__make} install \ | |
162 | DESTDIR=$RPM_BUILD_ROOT | |
163 | ||
164 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet.la \ | |
165 | $RPM_BUILD_ROOT%{_libdir}/gnome-panel/modules/*.la | |
166 | ||
167 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian} | |
168 | ||
169 | %find_lang %{name} --with-gnome --all-name | |
170 | ||
171 | %clean | |
172 | rm -rf $RPM_BUILD_ROOT | |
173 | ||
174 | %post | |
175 | %glib_compile_schemas | |
176 | %update_icon_cache hicolor | |
177 | ||
178 | %postun | |
179 | %glib_compile_schemas | |
180 | %update_icon_cache hicolor | |
181 | ||
182 | %post libs -p /sbin/ldconfig | |
183 | %postun libs -p /sbin/ldconfig | |
184 | ||
185 | %files -f %{name}.lang | |
186 | %defattr(644,root,root,755) | |
187 | %doc AUTHORS NEWS README *ChangeLog | |
188 | %attr(755,root,root) %{_bindir}/gnome-panel | |
189 | %dir %{_libdir}/%{name} | |
190 | %dir %{_libdir}/%{name}/modules | |
191 | %attr(755,root,root) %{_libdir}/%{name}/modules/clock.so | |
192 | %attr(755,root,root) %{_libdir}/%{name}/modules/fish.so | |
193 | %attr(755,root,root) %{_libdir}/%{name}/modules/menu.so | |
194 | %attr(755,root,root) %{_libdir}/%{name}/modules/notification-area.so | |
195 | %attr(755,root,root) %{_libdir}/%{name}/modules/separator.so | |
196 | %attr(755,root,root) %{_libdir}/%{name}/modules/status-notifier.so | |
197 | %attr(755,root,root) %{_libdir}/%{name}/modules/wncklet.so | |
198 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml | |
199 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml | |
200 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.initial-settings.gschema.xml | |
201 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.menu-button.gschema.xml | |
202 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml | |
203 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml | |
204 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml | |
205 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml | |
206 | %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.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 | |
209 | %{_datadir}/gnome-panel | |
210 | %{_desktopdir}/gnome-panel.desktop | |
211 | %{_iconsdir}/hicolor/*/apps/gnome-panel*.* | |
212 | %{_mandir}/man1/gnome-panel.1* | |
213 | ||
214 | %files libs | |
215 | %defattr(644,root,root,755) | |
216 | %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.* | |
217 | %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.3 | |
218 | ||
219 | %files devel | |
220 | %defattr(644,root,root,755) | |
221 | %attr(755,root,root) %{_libdir}/libpanel-applet.so | |
222 | %{_includedir}/gnome-panel | |
223 | %{_pkgconfigdir}/libpanel-applet.pc | |
224 | ||
225 | %files apidocs | |
226 | %defattr(644,root,root,755) | |
227 | %{_gtkdocdir}/libpanel-applet |