]> git.pld-linux.org Git - packages/xfdesktop.git/blobdiff - xfdesktop.spec
- updated to 4.6.1
[packages/xfdesktop.git] / xfdesktop.spec
index eab2179d6fd414e285c1120769c4ce9bf3781013..5507abc18eb7f56bc027fe49f9ac725d22265db9 100644 (file)
@@ -1,40 +1,58 @@
-Summary:       Desktop manager for the XFce Desktop Environment
-Summary(pl):   Zarz±dca pulpitu dla ¶rodowiska XFce
+Summary:       Desktop manager for the Xfce Desktop Environment
+Summary(pl.UTF-8):     Zarządca pulpitu dla środowiska Xfce
 Name:          xfdesktop
-Version:       4.0.5
+Version:       4.6.1
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
-#Source0:      ftp://ftp.berlios.de/pub/xfce-goodies/%{version}/%{name}-%{version}.tar.gz
-Source0:       http://hannelore.f1.fhtw-berlin.de/mirrors/xfce4/xfce-%{version}/src/%{name}-%{version}.tar.gz
-# Source0-md5: eef02de6de0ac2b8343f4ce2c2f8cf12
-URL:           http://www.xfce.org/
+Source0:       http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
+# Source0-md5: ae15cacc3e3834cca7238a8e1035c50d
+URL:           http://www.xfce.org/projects/xfdesktop/
+BuildRequires: Thunar-devel >= 1.0.0
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
-BuildRequires: intltool
-BuildRequires: libxfce4mcs-devel >= %{version}
+BuildRequires: exo-devel >= 0.3.100
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libglade2-devel
+BuildRequires: libtool
+BuildRequires: libwnck-devel >= 2.12.0
+BuildRequires: libxfce4menu-devel >= %{version}
 BuildRequires: libxfcegui4-devel >= %{version}
-BuildRequires: pkgconfig >= 0.9.0
-BuildRequires: xfce-mcs-manager-devel >= %{version}
-Requires:      libxfce4mcs >= %{version}
-Requires:      libxfcegui4 >= %{version}
-Requires:      xfce-mcs-manager >= %{version}
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: xfce4-dev-tools >= 4.6.0
+BuildRequires: xfce4-panel-devel >= %{version}
+BuildRequires: xfconf-devel >= %{version}
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires:      xfce4-panel >= %{version}
 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.
+%description -l pl.UTF-8
+xfdesktop zawiera zarządcę pulpitu dla środowiska Xfce.
 
 %prep
 %setup -q
 
 %build
-#rm -f missing
-glib-gettextize --copy --force
-intltoolize --copy --force
-cp -f /usr/share/automake/config.sub .
-%configure
+%{__glib_gettextize}
+%{__aclocal}
+%{__intltoolize}
+%{__autoheader}
+%{__automake}
+%{__aclocal}
+%configure \
+       --enable-desktop-icons \
+       --enable-desktop-menu \
+       --enable-exo \
+       --enable-file-icons \
+       --enable-panel-plugin \
+       --enable-thunarx
 
 %{__make}
 
@@ -44,31 +62,41 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/{panel-plugins,modules}/*.{la,a}
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/xfce4/mcs-plugins/*.so
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml
-%lang(az) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.az
-%lang(ca) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ca
-%lang(de) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.de
-%lang(fr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.fr
-%lang(hu) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.hu
-%lang(nl) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.nl
-%lang(ta) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.ta
-%lang(tr) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.tr
-%lang(vi) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.vi
-%lang(zh_CN) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_CN
-%lang(zh_TW) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/xfce4/menu.xml.zh_TW
-%{_datadir}/xfce4/backdrops
+%attr(755,root,root) %{_bindir}/xfce4-popup-menu
+%attr(755,root,root) %{_bindir}/xfdesktop
+%attr(755,root,root) %{_bindir}/xfdesktop-settings
+%dir %{_libdir}/xfce4/modules
+%attr(755,root,root) %{_libdir}/xfce4/modules/xfce4_desktop_menu.so
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-menu-plugin
+
 %docdir %{_datadir}/xfce4/doc
-%{_datadir}/xfce4/doc/C/*.html
-%{_datadir}/xfce4/doc/C/images/*
+%{_datadir}/xfce4/doc/C/*
+%lang(da) %{_datadir}/xfce4/doc/da/*
+%lang(fr) %{_datadir}/xfce4/doc/fr/*
+%lang(it) %{_datadir}/xfce4/doc/it/*
+%lang(ja) %{_datadir}/xfce4/doc/ja/*
+%{_mandir}/man1/*.1*
+
+%{_sysconfdir}/xdg/menus
+%{_desktopdir}/*.desktop
+%{_datadir}/desktop-directories/*
+%{_datadir}/xfce4/backdrops
+%{_datadir}/xfce4/panel-plugins/*
+%{_pixmapsdir}/*
+%{_iconsdir}/hicolor/*/apps/*
This page took 0.083811 seconds and 4 git commands to generate.