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