]>
Commit | Line | Data |
---|---|---|
bf959639 | 1 | %define xfce_version 4.13.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 |
4d2ed5a9 | 5 | Version: 4.14.0 |
2304d04b | 6 | Release: 1 |
47bfbd26 | 7 | License: GPL v2, LGPL v2 |
65aec616 | 8 | Group: X11/Applications |
4d2ed5a9 JR |
9 | Source0: http://archive.xfce.org/src/xfce/xfce4-panel/4.14/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 940e8b430e28093a2e56e390055bcd51 | |
8c464e23 MB |
11 | URL: http://www.xfce.org/projects/xfce4-panel |
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 |
933ced22 | 16 | BuildRequires: garcon-devel >= 0.4.0 |
bf959639 JR |
17 | BuildRequires: garcon-gtk2-devel >= 0.6.1 |
18 | BuildRequires: garcon-gtk3-devel >= 0.6.1 | |
01bde748 | 19 | BuildRequires: gettext-tools |
933ced22 | 20 | BuildRequires: glib2-devel >= 1:2.30.0 |
bf959639 | 21 | BuildRequires: gobject-introspection-devel |
933ced22 | 22 | BuildRequires: gtk+2-devel >= 2:2.24.0 |
dfa8cf74 | 23 | BuildRequires: gtk+3-devel |
8c464e23 | 24 | BuildRequires: gtk-doc >= 1.9 |
47bfbd26 | 25 | BuildRequires: gtk-doc-automake |
773c5e24 | 26 | BuildRequires: intltool >= 0.35.0 |
f0da0a72 | 27 | BuildRequires: libwnck-devel |
8c464e23 | 28 | BuildRequires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 29 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
8264768a | 30 | BuildRequires: libxslt-progs |
67aca298 | 31 | BuildRequires: pkgconfig >= 1:0.9.0 |
8c464e23 | 32 | BuildRequires: rpmbuild(macros) >= 1.601 |
bf959639 | 33 | BuildRequires: xfce4-dev-tools >= 4.12.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 |
57b7c321 MB |
43 | Obsoletes: xfce4-iconbox |
44 | Obsoletes: xfce4-showdesktop-plugin | |
47bfbd26 | 45 | Obsoletes: xfce4-systray |
3a109395 | 46 | Obsoletes: xfce4-themes |
57b7c321 | 47 | Obsoletes: xfce4-windowlist-plugin |
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 ER |
61 | %if "%{_rpmversion}" >= "5" |
62 | BuildArch: noarch | |
63 | %endif | |
6fdc689b MB |
64 | |
65 | %description apidocs | |
66 | Xfce panel API documentation. | |
67 | ||
d0bd5559 | 68 | %description apidocs -l pl.UTF-8 |
6fdc689b MB |
69 | Dokumentacja API panelu Xfce. |
70 | ||
24d83db8 | 71 | %package libs |
47bfbd26 | 72 | Summary: xfce4panel library |
4e64a1c3 | 73 | Summary(pl.UTF-8): Biblioteka xfce4panel |
0eb15afb | 74 | Group: X11/Development/Libraries |
24d83db8 | 75 | |
47bfbd26 | 76 | %description libs |
77 | This package contains xfce4panel library. | |
24d83db8 | 78 | |
d0bd5559 JR |
79 | %description libs -l pl.UTF-8 |
80 | Pakiet ten zawiera bibliotekę xfce4panel. | |
47bfbd26 | 81 | |
56b6c781 | 82 | %package devel |
43868316 | 83 | Summary: Header files for building Xfce panel plugins |
4e64a1c3 | 84 | Summary(pl.UTF-8): Pliki nagłówkowe do budowania wtyczek panelu Xfce |
0eb15afb | 85 | Group: X11/Development/Libraries |
47bfbd26 | 86 | Requires: %{name}-libs = %{version}-%{release} |
933ced22 JR |
87 | Requires: glib2-devel >= 1:2.30.0 |
88 | Requires: gtk+2-devel >= 2:2.24.0 | |
8c464e23 | 89 | Requires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 90 | Requires: libxfce4util-devel >= %{xfce_version} |
56b6c781 JB |
91 | |
92 | %description devel | |
43868316 | 93 | Header files for building Xfce panel plugins. |
56b6c781 | 94 | |
d0bd5559 JR |
95 | %description devel -l pl.UTF-8 |
96 | Pliki nagłówkowe do budowania wtyczek panelu Xfce. | |
76984d46 | 97 | |
98 | %prep | |
99 | %setup -q | |
100 | ||
101 | %build | |
47bfbd26 | 102 | %configure \ |
8c464e23 | 103 | --disable-static \ |
2638d5f9 | 104 | --enable-gtk-doc \ |
8c464e23 | 105 | --with-html-dir=%{_gtkdocdir} \ |
dfa8cf74 JR |
106 | --disable-silent-rules \ |
107 | --enable-gtk3 | |
56b6c781 | 108 | |
76984d46 | 109 | %{__make} |
110 | ||
111 | %install | |
112 | rm -rf $RPM_BUILD_ROOT | |
8c464e23 | 113 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir}}/xfce4/panel-plugins |
56b6c781 JB |
114 | |
115 | %{__make} install \ | |
116 | DESTDIR=$RPM_BUILD_ROOT | |
117 | ||
8c464e23 MB |
118 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
119 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
d63c8843 | 120 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK |
2304d04b | 121 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie |
ef96f688 JR |
122 | # unify |
123 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
70bfe955 | 124 | |
56b6c781 | 125 | %find_lang %{name} |
76984d46 | 126 | |
127 | %clean | |
128 | rm -rf $RPM_BUILD_ROOT | |
129 | ||
47bfbd26 | 130 | %post |
773c5e24 | 131 | %update_icon_cache hicolor |
47bfbd26 | 132 | |
133 | %postun | |
773c5e24 | 134 | %update_icon_cache hicolor |
47bfbd26 | 135 | |
136 | %post libs -p /sbin/ldconfig | |
137 | %postun libs -p /sbin/ldconfig | |
138 | ||
56b6c781 | 139 | %files -f %{name}.lang |
76984d46 | 140 | %defattr(644,root,root,755) |
8c464e23 | 141 | %doc AUTHORS ChangeLog NEWS README |
0eb15afb | 142 | %attr(755,root,root) %{_bindir}/xfce4-panel |
8c464e23 MB |
143 | %attr(755,root,root) %{_bindir}/xfce4-popup-applicationsmenu |
144 | %attr(755,root,root) %{_bindir}/xfce4-popup-directorymenu | |
145 | %attr(755,root,root) %{_bindir}/xfce4-popup-windowmenu | |
5fe191b2 | 146 | |
7f6cc512 | 147 | %dir %{_sysconfdir}/xdg/xfce4/panel |
8c464e23 | 148 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/default.xml |
0eb15afb | 149 | %dir %{_libdir}/xfce4 |
8c464e23 MB |
150 | %dir %{_libdir}/xfce4/panel |
151 | %attr(755,root,root) %{_libdir}/xfce4/panel/migrate | |
478935a0 | 152 | %attr(755,root,root) %{_libdir}/xfce4/panel/wrapper-1.0 |
dfa8cf74 | 153 | %attr(755,root,root) %{_libdir}/xfce4/panel/wrapper-2.0 |
56b6c781 | 154 | %dir %{_libdir}/xfce4/panel-plugins |
8c464e23 MB |
155 | %dir %{_libdir}/xfce4/panel/plugins |
156 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libactions.so | |
157 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libapplicationsmenu.so | |
158 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libclock.so | |
159 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdirectorymenu.so | |
160 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/liblauncher.so | |
161 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libpager.so | |
162 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libseparator.so | |
163 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libshowdesktop.so | |
164 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libsystray.so | |
165 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libtasklist.so | |
166 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowmenu.so | |
167 | %{_datadir}/xfce4/panel | |
168 | %dir %{_datadir}/xfce4/panel-plugins | |
5fe191b2 | 169 | %{_iconsdir}/hicolor/*/*/* |
47bfbd26 | 170 | %{_desktopdir}/*.desktop |
5fe191b2 | 171 | |
6fdc689b MB |
172 | %files apidocs |
173 | %defattr(644,root,root,755) | |
f0da0a72 | 174 | %{_gtkdocdir}/libxfce4panel-2.0 |
47bfbd26 | 175 | |
176 | %files libs | |
177 | %defattr(644,root,root,755) | |
8c464e23 | 178 | %attr(755,root,root) %{_libdir}/libxfce4panel-1.0.so.*.*.* |
0f8917a7 | 179 | %attr(755,root,root) %ghost %{_libdir}/libxfce4panel-1.0.so.4 |
dfa8cf74 JR |
180 | %attr(755,root,root) %{_libdir}/libxfce4panel-2.0.so.*.*.* |
181 | %attr(755,root,root) %ghost %{_libdir}/libxfce4panel-2.0.so.4 | |
f0da0a72 | 182 | %{_libdir}/girepository-1.0/libxfce4panel-2.0.typelib |
c634f874 | 183 | |
56b6c781 JB |
184 | %files devel |
185 | %defattr(644,root,root,755) | |
8c464e23 | 186 | %attr(755,root,root) %{_libdir}/libxfce4panel-1.0.so |
dfa8cf74 | 187 | %attr(755,root,root) %{_libdir}/libxfce4panel-2.0.so |
8c464e23 | 188 | %{_includedir}/xfce4/libxfce4panel-1.0 |
dfa8cf74 | 189 | %{_includedir}/xfce4/libxfce4panel-2.0 |
0eb15afb | 190 | %{_pkgconfigdir}/libxfce4panel-1.0.pc |
dfa8cf74 | 191 | %{_pkgconfigdir}/libxfce4panel-2.0.pc |
f0da0a72 | 192 | %{_datadir}/gir-1.0/libxfce4panel-2.0.gir |