Summary: Desktop manager for the XFce Desktop Environment
+Summary(pl): Zarz±dca pulpitu dla ¶rodowiska XFce
Name: xfdesktop
Version: 3.90.0
Release: 0.1
License: GPL
-URL: http://www.xfce.org/
-Source0: http://belnet.dl.sourceforge.net/sourceforge/xfce/%{name}-%{version}.tar.gz
-# Source0-md5: 89b8a261b5f0d73d88bae8d504fec783
Group: X11/Applications
-Requires: libxfce4mcs >= 0.0.4
-Requires: libxfcegui4 >= 0.0.17
+Source0: http://dl.sourceforge.net/xfce/%{name}-%{version}.tar.gz
+# Source0-md5: 89b8a261b5f0d73d88bae8d504fec783
+URL: http://www.xfce.org/
+BuildRequires: intltool
BuildRequires: libxfce4mcs-devel >= 0.0.4
BuildRequires: libxfcegui4-devel >= 0.0.17
+BuildRequires: xfce-mcs-manager-devel >= 0.2.0
+Requires: libxfce4mcs >= 0.0.4
+Requires: libxfcegui4 >= 0.0.17
+Requires: xfce-mcs-manager >= 0.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-xfdesktop contain a desktop manager for the XFce Desktop Environment
+xfdesktop contain a desktop manager for the XFce Desktop Environment.
+
+%description -l pl
+xfdesktop zawiera zarz±dcê pulpitu dla ¶rodowiska XFce.
%prep
%setup -q
glib-gettextize --copy --force
intltoolize --copy --force
%configure
+
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
+
+%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README TODO ChangeLog NEWS INSTALL COPYING AUTHORS
+%doc AUTHORS ChangeLog README TODO
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
-%{_libdir}/xfce4/mcs-plugins/*.la
-%{_libdir}/xfce4/mcs-plugins/*.a
-%{_sysconfdir}/xfce4/
-%{_datadir}/locale/
-%{_datadir}/xfce4/
+# /etc/xfce4 belongs to xfce-utils at the moment
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml
+%{_datadir}/xfce4/backdrops
+%docdir %{_datadir}/xfce4/doc
+%{_datadir}/xfce4/doc/C/*.html
+%{_datadir}/xfce4/doc/C/images/*