]>
Commit | Line | Data |
---|---|---|
228058be | 1 | %define xfce_version 4.16.0 |
43868316 | 2 | Summary: Next generation panel for Xfce |
4e64a1c3 | 3 | Summary(pl.UTF-8): Panel nowej generacji dla Xfce |
65aec616 | 4 | Name: xfce4-panel |
1a577412 | 5 | Version: 4.16.5 |
c2025b8e | 6 | Release: 1 |
47bfbd26 | 7 | License: GPL v2, LGPL v2 |
65aec616 | 8 | Group: X11/Applications |
228058be | 9 | Source0: http://archive.xfce.org/src/xfce/xfce4-panel/4.16/%{name}-%{version}.tar.bz2 |
1a577412 | 10 | # Source0-md5: d55c4f8f6c31616361e75ef6953e023f |
6c1a2f74 | 11 | Patch0: fallback-icons.patch |
8c464e23 MB |
12 | URL: http://www.xfce.org/projects/xfce4-panel |
13 | BuildRequires: dbus-glib-devel >= 0.73 | |
c06c38aa KK |
14 | BuildRequires: docbook-dtd412-xml |
15 | BuildRequires: docbook-style-xsl | |
f0da0a72 | 16 | BuildRequires: exo-devel >= 0.12.0 |
933ced22 | 17 | BuildRequires: garcon-devel >= 0.4.0 |
bf959639 | 18 | BuildRequires: garcon-gtk3-devel >= 0.6.1 |
01bde748 | 19 | BuildRequires: gettext-tools |
228058be | 20 | BuildRequires: glib2-devel >= 1:2.50.0 |
bf959639 | 21 | BuildRequires: gobject-introspection-devel |
dfa8cf74 | 22 | BuildRequires: gtk+3-devel |
8c464e23 | 23 | BuildRequires: gtk-doc >= 1.9 |
47bfbd26 | 24 | BuildRequires: gtk-doc-automake |
773c5e24 | 25 | BuildRequires: intltool >= 0.35.0 |
f0da0a72 | 26 | BuildRequires: libwnck-devel |
8c464e23 | 27 | BuildRequires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 28 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
8264768a | 29 | BuildRequires: libxslt-progs |
67aca298 | 30 | BuildRequires: pkgconfig >= 1:0.9.0 |
8c464e23 | 31 | BuildRequires: rpmbuild(macros) >= 1.601 |
c8af9e63 | 32 | BuildRequires: vala |
ab5df2e0 | 33 | BuildRequires: vala-libxfce4util >= %{xfce_version} |
bf959639 | 34 | BuildRequires: xfce4-dev-tools >= 4.12.0 |
933ced22 | 35 | BuildRequires: xfconf-devel >= %{xfce_version} |
57b7c321 | 36 | Requires: %{name}-libs = %{version}-%{release} |
8c464e23 MB |
37 | Requires: gtk-update-icon-cache |
38 | Requires: hicolor-icon-theme | |
39 | # NOTE: xfce4-icon-theme doesn't match XDG specification. | |
40 | # Use Tango as a default icon theme. | |
6b1a7397 | 41 | Requires: tango-icon-theme |
b93f7cae | 42 | Requires: xfce4-dirs >= 4.6 |
8c464e23 | 43 | Suggests: xfce-preferred-applications |
ff5d279e KM |
44 | Obsoletes: xfce4-iconbox < 4.3 |
45 | Obsoletes: xfce4-showdesktop-plugin < 0.5 | |
46 | Obsoletes: xfce4-systray < 4.3 | |
47 | Obsoletes: xfce4-themes < 4.1 | |
48 | Obsoletes: xfce4-windowlist-plugin < 0.2 | |
76984d46 | 49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
50 | ||
51 | %description | |
43868316 | 52 | xfce4-panel is the panel for the Xfce desktop environment. |
56b6c781 | 53 | |
d0bd5559 JR |
54 | %description -l pl.UTF-8 |
55 | xfce4-panel to panel dla środowiska Xfce. | |
56b6c781 | 56 | |
6fdc689b MB |
57 | %package apidocs |
58 | Summary: Xfce panel API documentation | |
4e64a1c3 | 59 | Summary(pl.UTF-8): Dokumentacja API panelu Xfce |
6fdc689b MB |
60 | Group: Documentation |
61 | Requires: gtk-doc-common | |
d63c8843 | 62 | BuildArch: noarch |
6fdc689b MB |
63 | |
64 | %description apidocs | |
65 | Xfce panel API documentation. | |
66 | ||
d0bd5559 | 67 | %description apidocs -l pl.UTF-8 |
6fdc689b MB |
68 | Dokumentacja API panelu Xfce. |
69 | ||
24d83db8 | 70 | %package libs |
47bfbd26 | 71 | Summary: xfce4panel library |
4e64a1c3 | 72 | Summary(pl.UTF-8): Biblioteka xfce4panel |
0eb15afb | 73 | Group: X11/Development/Libraries |
24d83db8 | 74 | |
47bfbd26 | 75 | %description libs |
76 | This package contains xfce4panel library. | |
24d83db8 | 77 | |
d0bd5559 JR |
78 | %description libs -l pl.UTF-8 |
79 | Pakiet ten zawiera bibliotekę xfce4panel. | |
47bfbd26 | 80 | |
56b6c781 | 81 | %package devel |
43868316 | 82 | Summary: Header files for building Xfce panel plugins |
4e64a1c3 | 83 | Summary(pl.UTF-8): Pliki nagłówkowe do budowania wtyczek panelu Xfce |
0eb15afb | 84 | Group: X11/Development/Libraries |
47bfbd26 | 85 | Requires: %{name}-libs = %{version}-%{release} |
228058be KM |
86 | Requires: glib2-devel >= 1:2.50.0 |
87 | Requires: gtk+3-devel | |
8c464e23 | 88 | Requires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 89 | Requires: libxfce4util-devel >= %{xfce_version} |
56b6c781 JB |
90 | |
91 | %description devel | |
43868316 | 92 | Header files for building Xfce panel plugins. |
56b6c781 | 93 | |
d0bd5559 JR |
94 | %description devel -l pl.UTF-8 |
95 | Pliki nagłówkowe do budowania wtyczek panelu Xfce. | |
76984d46 | 96 | |
c8af9e63 | 97 | %package -n vala-xfce4-panel |
df057a88 KM |
98 | Summary: Vala API for Xfce panel |
99 | Summary(pl.UTF-8): API języka Vala do panelu Xfce | |
100 | Group: Development/Libraries | |
101 | Requires: %{name}-devel = %{version}-%{release} | |
102 | Requires: vala | |
c8af9e63 KM |
103 | |
104 | %description -n vala-xfce4-panel | |
105 | Vala API for Xfce panel. | |
106 | ||
107 | %description -n vala-xfce4-panel -l pl.UTF-8 | |
df057a88 | 108 | API języka Vala ls panelu Xfce. |
c8af9e63 | 109 | |
76984d46 | 110 | %prep |
111 | %setup -q | |
228058be | 112 | #%patch0 -p1 |
76984d46 | 113 | |
114 | %build | |
47bfbd26 | 115 | %configure \ |
8c464e23 | 116 | --disable-static \ |
2638d5f9 | 117 | --enable-gtk-doc \ |
8c464e23 | 118 | --with-html-dir=%{_gtkdocdir} \ |
ab5df2e0 | 119 | --disable-silent-rules |
56b6c781 | 120 | |
76984d46 | 121 | %{__make} |
122 | ||
123 | %install | |
124 | rm -rf $RPM_BUILD_ROOT | |
8c464e23 | 125 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir}}/xfce4/panel-plugins |
56b6c781 JB |
126 | |
127 | %{__make} install \ | |
128 | DESTDIR=$RPM_BUILD_ROOT | |
129 | ||
8c464e23 MB |
130 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
131 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
228058be | 132 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie,ur_PK} |
ef96f688 JR |
133 | # unify |
134 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
70bfe955 | 135 | |
56b6c781 | 136 | %find_lang %{name} |
76984d46 | 137 | |
138 | %clean | |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
47bfbd26 | 141 | %post |
773c5e24 | 142 | %update_icon_cache hicolor |
47bfbd26 | 143 | |
144 | %postun | |
773c5e24 | 145 | %update_icon_cache hicolor |
47bfbd26 | 146 | |
147 | %post libs -p /sbin/ldconfig | |
148 | %postun libs -p /sbin/ldconfig | |
149 | ||
56b6c781 | 150 | %files -f %{name}.lang |
76984d46 | 151 | %defattr(644,root,root,755) |
228058be | 152 | %doc AUTHORS ChangeLog NEWS |
0eb15afb | 153 | %attr(755,root,root) %{_bindir}/xfce4-panel |
8c464e23 MB |
154 | %attr(755,root,root) %{_bindir}/xfce4-popup-applicationsmenu |
155 | %attr(755,root,root) %{_bindir}/xfce4-popup-directorymenu | |
156 | %attr(755,root,root) %{_bindir}/xfce4-popup-windowmenu | |
7f6cc512 | 157 | %dir %{_sysconfdir}/xdg/xfce4/panel |
8c464e23 | 158 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/default.xml |
0eb15afb | 159 | %dir %{_libdir}/xfce4 |
8c464e23 MB |
160 | %dir %{_libdir}/xfce4/panel |
161 | %attr(755,root,root) %{_libdir}/xfce4/panel/migrate | |
dfa8cf74 | 162 | %attr(755,root,root) %{_libdir}/xfce4/panel/wrapper-2.0 |
56b6c781 | 163 | %dir %{_libdir}/xfce4/panel-plugins |
8c464e23 MB |
164 | %dir %{_libdir}/xfce4/panel/plugins |
165 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libactions.so | |
166 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libapplicationsmenu.so | |
167 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libclock.so | |
168 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdirectorymenu.so | |
169 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/liblauncher.so | |
170 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libpager.so | |
171 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libseparator.so | |
172 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libshowdesktop.so | |
173 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libsystray.so | |
174 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libtasklist.so | |
175 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowmenu.so | |
176 | %{_datadir}/xfce4/panel | |
177 | %dir %{_datadir}/xfce4/panel-plugins | |
5fe191b2 | 178 | %{_iconsdir}/hicolor/*/*/* |
47bfbd26 | 179 | %{_desktopdir}/*.desktop |
5fe191b2 | 180 | |
6fdc689b MB |
181 | %files apidocs |
182 | %defattr(644,root,root,755) | |
f0da0a72 | 183 | %{_gtkdocdir}/libxfce4panel-2.0 |
47bfbd26 | 184 | |
185 | %files libs | |
186 | %defattr(644,root,root,755) | |
dfa8cf74 | 187 | %attr(755,root,root) %{_libdir}/libxfce4panel-2.0.so.*.*.* |
759f92db | 188 | %ghost %{_libdir}/libxfce4panel-2.0.so.4 |
228058be | 189 | %{_libdir}/girepository-1.0/Libxfce4panel-2.0.typelib |
c634f874 | 190 | |
56b6c781 JB |
191 | %files devel |
192 | %defattr(644,root,root,755) | |
759f92db | 193 | %{_libdir}/libxfce4panel-2.0.so |
dfa8cf74 | 194 | %{_includedir}/xfce4/libxfce4panel-2.0 |
dfa8cf74 | 195 | %{_pkgconfigdir}/libxfce4panel-2.0.pc |
228058be | 196 | %{_datadir}/gir-1.0/Libxfce4panel-2.0.gir |
c8af9e63 KM |
197 | |
198 | %files -n vala-xfce4-panel | |
199 | %defattr(644,root,root,755) | |
200 | %{_datadir}/vala/vapi/libxfce4panel-2.0.deps | |
201 | %{_datadir}/vala/vapi/libxfce4panel-2.0.vapi |