File thunar.spec of Package thunar
#
# spec file for package thunar (Version 0.9.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: thunar
BuildRequires: gtk2-devel startup-notification-devel update-desktop-files
BuildRequires: dbus-1-devel hal-devel perl-XML-Parser startup-notification
BuildRequires: fam-devel gconf2-devel
BuildRequires: libxfcegui4-devel >= 4.3
BuildRequires: libxfce4mcs-devel >= 4.3
BuildRequires: exo-devel >= 0.3.4
BuildRequires: intltool xfce4-panel-devel >= 4.3
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
Summary: New modern file manager for the Xfce Desktop Environment
Version: 0.9.3
Release: 1
License: GPL v2 or later
Url: http://www.xfce.org/
Source: Thunar-%{version}.tar.bz2
Source1: rpmlintrc
Patch0: thunar-desktop.patch
Patch1: thunar-vfs-volume-hal_missing-audio-cds-for-volman.patch
Patch2: thunar-use-eject-where-necessary.patch
Group: System/GUI/XFCE
%if 0%{?suse_version} > 1000
Recommends: ivman
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Thunar is a new modern file manager for the Xfce Desktop Environment.
Thunar has been designed from the ground up to be fas t and
easy-to-use. Its user interface is clean and intuitive, and does not
include any confusing or useless options. Thunar is fast and responsive
with a good start up time and directory load time. Thunar is accessible
using Assistive Technologie s and is fully standards compliant.
Authors:
--------
Benedikt Meurer <benny@xfce.org>
Jeffs Franks <jcfranks@xfce.org>
see AUTHORS for full list of contributors
%package devel
License: GPL v2 or later
Requires: thunar = %{version}
Requires: libxfcegui4-devel >= 4.3
Requires: libxfce4mcs-devel >= 4.3
Requires: exo >= 0.3
Requires: exo-devel >= 0.3
Requires: glib2-devel gtk2-devel
Requires: hal-devel
Requires: fam-devel
Requires: gconf2-devel
Requires: startup-notification-devel
Summary: New modern file manager for the Xfce Desktop Environment
Group: System/GUI/XFCE
AutoReqProv: on
PreReq: %install_info_prereq
%description devel
Thunar is a new modern file manager for the Xfce Desktop Environment.
Thunar has been designed from the ground up to be fas t and
easy-to-use. Its user interface is clean and intuitive, and does not
include any confusing or useless options. Thunar is fast and responsive
with a good start up time and directory load time. Thunar is accessible
using Assistive Technologie s and is fully standards compliant.
Authors:
--------
Benedikt Meurer <benny@xfce.org>
Jeffs Franks <jcfranks@xfce.org>
see AUTHORS for full list of contributors
%package doc
License: GPL v2 or later
Requires: thunar = %{version}
Summary: Documentation for Thunar
Group: System/GUI/XFCE
AutoReqProv: on
PreReq: %install_info_prereq
%description doc
HTML development documentation for Thunar.
Authors:
--------
Benedikt Meurer <benny@xfce.org>
Jeffs Franks <jcfranks@xfce.org>
see AUTHORS for full list of contributors
%prep
%setup -q -n Thunar-%{version}
%patch0
%patch1
%patch2
%build
%configure \
--enable-dbus \
%if 0%{?suse_version} >= 1010
--with-volume-manager=hal \
%else
--with-volume-manager=none \
%endif
--enable-startup-notification \
--enable-pcre
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i Thunar System Utility Core GTK FileManager
%suse_update_desktop_file -i Thunar-bulk-rename System Utility Core GTK Filesystem
# distributions before 10.2 forbid translating of desktop files with NoDisplay=true set
%if 0%{?suse_version} >= 1020
%suse_update_desktop_file -i Thunar-folder-handler System Utility Core GTK FileManager
%endif
%find_lang Thunar
%if 0%{?suse_version} > 1020
%fdupes $RPM_BUILD_ROOT%{_datadir}
%endif
rm $RPM_BUILD_ROOT/%{_libdir}/thunarx-1/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f Thunar.lang
%defattr(-,root,root)
%doc README ChangeLog AUTHORS FAQ HACKING THANKS TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_libexecdir}/ThunarBulkRename
%{_libexecdir}/ThunarHelp
%{_libexecdir}/thunar-sendto-email
%{_libexecdir}/thunar-vfs-mime-cleaner-1
%{_libexecdir}/thunar-vfs-font-thumbnailer-1
%{_libexecdir}/thunar-vfs-pixbuf-thumbnailer-1
%{_libexecdir}/thunar-vfs-update-thumbnailers-cache-1
%{_libexecdir}/xfce4/panel-plugins/thunar-tpa
%{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop
%{_datadir}/applications/*desktop
%{_datadir}/doc/Thunar/*
%{_mandir}/*/Thunar*
%{_datadir}/dbus-1/services/org.xfce.*
%dir %{_datadir}/Thunar
%{_datadir}/Thunar/sendto/*desktop
%dir %{_datadir}/doc/Thunar
%dir %{_datadir}/Thunar/sendto
%dir %{_datadir}/icons/hicolor/16x16/apps
%dir %{_datadir}/icons/hicolor/16x16/stock
%dir %{_datadir}/icons/hicolor/24x24/apps
%dir %{_datadir}/icons/hicolor/scalable/apps
%{_libdir}/thunarx-1/*.so
%{_datadir}/icons/*/*/*/*
%dir %{_datadir}/pixmaps/Thunar
%{_datadir}/pixmaps/Thunar/*
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/thumbnailers
%{_datadir}/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop
%dir %{_sysconfdir}/xdg/Thunar
%{_sysconfdir}/xdg/Thunar/uca.xml
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%dir %{_libdir}/thunarx-1
%dir %{_includedir}/thunar-vfs-1
%dir %{_includedir}/thunar-vfs-1/thunar-vfs
%dir %{_includedir}/thunarx-1
%dir %{_includedir}/thunarx-1/thunarx
%{_includedir}/*/*/*
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/thunarx
%dir %{_datadir}/gtk-doc/html/thunarx
%{_datadir}/gtk-doc/html/thunar-vfs
%dir %{_datadir}/gtk-doc/html/thunar-vfs
%changelog
* Wed Oct 29 2008 bwalle@suse.de
- update to Thunar 0.9.3
o Update to latest trunk translations.
* Wed Dec 12 2007 prusnak@suse.cz
- correct eject function (use-eject-where-necessary.patch)
* Tue Dec 04 2007 prusnak@suse.cz
- fixed typo in vfs-volume-hal_missing-audio-cds-for-volman.patch
* Tue Dec 04 2007 bwalle@suse.de
- disable HAL for 10.0 because of build errors
* Mon Dec 03 2007 bwalle@suse.de
- update to Thunar 0.9.0
o Do not display volumes without mountable file systems
o Properly recognize OGG files as audio files for custom actions
o Add new date renamer
o Pass the correct $DISPLAY value to processes spawned by Thunar
and xfdesktop in multi screen environments
o Preselect the whole filename when renaming folders
o Prevent infinite recursion on JPEG files with broken EXIF data
o Fix crash on amd64
o Add support to retry job based operations.
o Display more details in the override dialog
o Add support for different date/time formats
o Fix crash on sparc64
o Properly binaries selected for custom actions
o Fix invalid invocation of thunar-volman for volumes that should
be ignored
o Reduce binary size by stripping XML comments and whitespace
o Use the correct HAL property to determine whether a given volume
or device requires eject
o Automatically disable thumbnailing if storing a thumbnail fails
because of a fatal error
o Fix crash because of unaligned memory access
o Fix compilation with the Sun Studio 11 compiler
o Updated translations
* Thu Aug 16 2007 bwalle@suse.de
- moved /usr/lib{,64}/thunarx-1 from -devel package into main
package because these files are actually plugins
* Wed Jul 18 2007 prusnak@suse.cz
- disable translating of Thunar-folder-handler desktop file
for distributions before 10.2
- replaced obsoleted %%run_ldconfig macro with /sbin/ldconfig
* Sun Jun 24 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/Xfce'
* Tue Jun 19 2007 prusnak@suse.cz
- use %%fdupes, moved some files to -devel subpackage
* Mon Jun 11 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" from spec file
(#254654).
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Tue May 22 2007 prusnak@suse.cz
- call %%suse_update_desktop_file
* Tue May 22 2007 prusnak@suse.cz
- sync with BuildService
- fixed desktop file
* Sun Jan 21 2007 bwalle@suse.de
- removed halmount patch, is no longer required
- upgraded to 0.8.0
* Thu Nov 09 2006 bwalle@suse.de
- added halmount patch, hope that it gets upstream
(Xfce Bugzilla #2556)
- Recommends ivman
* Sun Nov 05 2006 bwalle@suse.de
- updated to 4.3.99.2 (4.4 rc2)
* Wed Sep 06 2006 bwalle@suse.de
- updated to 0.4.0rc1
- added xfce4-panel-devel as BuildRequires to build panel trash applet
* Tue Sep 05 2006 pnemec@suse.cz
- updated to new version
- new files
* Sat Aug 26 2006 bernhard.walle@gmx.de
- changed 'startup-notification' to 'startup-notification-devel' as BuildRequires
- added fam-devel as BuildRequires to build with FAM support
- added gconf2-devel as BuildRequires to build with preview support
- fixed typo in the description of -devel
- added hal-devel as Requires in the -devel package
- added startup-notification as BuildRequires for SUSE 10.0
- added gconf2-devel as BuildRequires for -devel
- added fam-devel as BuildRequires for -devel
- added startup-notification-devel as BuildRequires for -devel
* Thu Aug 24 2006 pnemec@suse.cz
- added dbus-devel to build requires
- added hal support
- added startup notification
* Wed Aug 02 2006 pnemec@suse.cz
- initial comment, version is 0.3.2beta2
- package moved into BuildService
- added thunar-desktop_file.patch - small modification of desktop file