1 Summary: Next generation panel for Xfce
2 Summary(pl.UTF-8): Panel nowej generacji dla Xfce
6 License: GPL v2, LGPL v2
7 Group: X11/Applications
8 Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5: 8f26b32c442bf9926f98f285a3c251dd
10 Patch0: %{name}-locale-names.patch
11 URL: http://www.xfce.org/
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: docbook-dtd412-xml
15 BuildRequires: docbook-style-xsl
16 BuildRequires: gettext-devel
17 BuildRequires: gtk-doc-automake
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: libtool
20 BuildRequires: libxfce4mcs-devel >= %{version}
21 BuildRequires: libxfcegui4-devel >= %{version}
22 BuildRequires: libxml2-devel >= 1:2.6.26
23 BuildRequires: libxslt-progs
24 BuildRequires: pkgconfig >= 1:0.9.0
25 BuildRequires: rpmbuild(macros) >= 1.311
26 BuildRequires: xfce-mcs-manager-devel >= %{version}
27 BuildRequires: xfce4-dev-tools >= 4.4.0.1
28 Requires(post,postun): gtk+2
29 Requires(post,postun): hicolor-icon-theme
30 Requires: %{name}-libs = %{version}-%{release}
31 Requires: xfce-mcs-manager >= %{version}
32 Requires: xfce4-icon-theme
33 Obsoletes: xfce4-iconbox
34 Obsoletes: xfce4-showdesktop-plugin
35 Obsoletes: xfce4-systray
36 Obsoletes: xfce4-taskbar-plugin
37 Obsoletes: xfce4-themes
38 Obsoletes: xfce4-windowlist-plugin
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 xfce4-panel is the panel for the Xfce desktop environment.
44 %description -l pl.UTF-8
45 xfce4-panel to panel dla środowiska Xfce.
48 Summary: Xfce panel API documentation
49 Summary(pl.UTF-8): Dokumentacja API panelu Xfce
51 Requires: gtk-doc-common
54 Xfce panel API documentation.
56 %description apidocs -l pl.UTF-8
57 Dokumentacja API panelu Xfce.
60 Summary: xfce4panel library
61 Summary(pl.UTF-8): Biblioteka xfce4panel
62 Group: Development/Libraries
65 This package contains xfce4panel library.
67 %description libs -l pl.UTF-8
68 Pakiet ten zawiera bibliotekę xfce4panel.
71 Summary: Header files for building Xfce panel plugins
72 Summary(pl.UTF-8): Pliki nagłówkowe do budowania wtyczek panelu Xfce
73 Group: Development/Libraries
74 Requires: %{name}-libs = %{version}-%{release}
75 Requires: libxfcegui4-devel >= %{version}
76 Requires: libxml2-devel >= 1:2.6.26
79 Header files for building Xfce panel plugins.
81 %description devel -l pl.UTF-8
82 Pliki nagłówkowe do budowania wtyczek panelu Xfce.
88 mv -f po/{nb_NO,nb}.po
89 mv -f po/{pt_PT,pt}.po
101 --enable-startup-notification \
102 --with-html-dir=%{_gtkdocdir}
107 rm -rf $RPM_BUILD_ROOT
110 DESTDIR=$RPM_BUILD_ROOT
112 rm -f $RPM_BUILD_ROOT%{_libdir}/{,xfce4/{mcs-plugins,panel-plugins}}/*.la
117 rm -rf $RPM_BUILD_ROOT
120 %update_icon_cache hicolor
123 %update_icon_cache hicolor
125 %post libs -p /sbin/ldconfig
126 %postun libs -p /sbin/ldconfig
128 %files -f %{name}.lang
129 %defattr(644,root,root,755)
130 %doc AUTHORS ChangeLog HACKING NEWS README README.Kiosk README.Plugins
131 %attr(755,root,root) %{_bindir}/*
133 %dir %{_sysconfdir}/xdg/xfce4/panel
134 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/clock-14.rc
135 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-7.rc
136 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-8.rc
137 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-9.rc
138 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/launcher-10.rc
139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/panels.xml
140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/systray-4.rc
141 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/xfce4-menu-5.rc
142 %dir %{_libdir}/xfce4/panel-plugins
143 %attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
144 %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/*.so
145 %{_datadir}/xfce4/panel-plugins
146 %{_iconsdir}/hicolor/*/*/*
147 %{_desktopdir}/*.desktop
149 %{_datadir}/xfce4/doc/C/*
150 %docdir %{_datadir}/xfce4/doc
153 %defattr(644,root,root,755)
154 %{_gtkdocdir}/libxfce4panel
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/libxfce4panel.so.*.*.*
161 %defattr(644,root,root,755)
162 %attr(755,root,root) %{_libdir}/libxfce4panel.so
163 %{_includedir}/xfce4/libxfce4panel
164 %{_pkgconfigdir}/*.pc