Name: spacefm Version: 1.0.5 Release: 7%{?dist} Summary: Multi-panel tabbed file and desktop manager License: GPLv3+ URL: http://ignorantguru.github.io/spacefm/ Source0: https://github.com/IgnorantGuru/spacefm/archive/%{version}/%{name}-%{version}.tar.gz # Force x11 as gdk backend (bug 1438277) Patch0: spacefm-1.0.5-force-x11-backend.patch # FIXME # Workaround for fix crash at drag-and-drop on treeview (bug 1439162) # https://github.com/IgnorantGuru/spacefm/issues/670 # https://github.com/Teklad/spacefm-ng/commit/7308bb6ca02293332a4d229305a6212d45d25282 # This workaround is dirty, as it touches GdkRragContext internal directly Patch1: spacefm-1.0.5-drag_suggested_action_internal.patch BuildRequires: libX11-devel BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: intltool BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(libudev) >= 143 %description SpaceFM is a multi-panel tabbed file manager with built-in VFS, udev-based device manager, customizable menu system, and bash integration. %package Faenza Summary: Faenza theme files for spacefm Requires: %{name} = %{version}-%{release} %if 0%{?fedora} < 20 Requires: faenza-icon-theme %endif BuildArch: noarch %description Faenza This package contains Faenza theme files for spacefm. %prep %setup -q %patch0 -p1 -b .x11 %patch1 -p1 -b .drag_struct_size find . -name \*.c -print0 | xargs --null chmod 0644 %build %configure \ --with-gtk3 \ --disable-video-thumbnails \ %{nil} make %{?_smp_mflags} %install %make_install \ INSTALL="install -p" for f in %{buildroot}%{_datadir}/applications/*desktop do desktop-file-validate $f done # Create skeleton configuration file and directory (ref: src/settings.c) mkdir -p %{buildroot}%{_sysconfdir}/%{name} touch %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf # Distro does not require this rm -f %{buildroot}%{_bindir}/spacefm-installer # save this rm -rf tmpdocdir mv %{buildroot}%{_docdir}/%{name} tmpdocdir %find_lang %{name} %post update-desktop-database &>/dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : %postun update-desktop-database &>/dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %post Faenza touch --no-create %{_datadir}/icons/Faenza &>/dev/null || : %postun Faenza if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/Faenza &>/dev/null gtk-update-icon-cache %{_datadir}/icons/Faenza &>/dev/null || : fi %posttrans Faenza gtk-update-icon-cache %{_datadir}/icons/Faenza &>/dev/null || : %files -f %{name}.lang %doc AUTHORS %doc COPYING* %doc ChangeLog %doc README %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %{_bindir}/%{name} %{_bindir}/%{name}-auth %{_datadir}/applications/%{name}*desktop # ref: src/settings.c %doc tmpdocdir/%{name}-manual-en.html %{_datadir}/icons/hicolor/*/apps/%{name}* %{_datadir}/mime/packages/%{name}-mime.xml %dir %{_datadir}/%{name} %{_datadir}/%{name}/ui/ %files Faenza %{_datadir}/icons/Faenza/apps/*/%{name}* %changelog * Thu Aug 03 2017 Fedora Release Engineering - 1.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Apr 7 2017 Mamoru TASAKA - 1.0.5-5 - Workaround for crash at drag-and-drop on treeview (bug 1439162) * Wed Apr 5 2017 Mamoru TASAKA - 1.0.5-4 - Force x11 as gdk backend (bug 1438277) * Sat Feb 11 2017 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 27 2016 Mamoru TASAKA - 1.0.5-1 - 1.0.5 * Sun Oct 18 2015 Mamoru TASAKA - 1.0.4-1 - 1.0.4 * Sat Aug 29 2015 Mamoru TASAKA - 1.0.3-1 - 1.0.3 * Fri Jun 19 2015 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 3 2015 Mamoru TASAKA - 1.0.2-1 - 1.0.2 * Wed May 6 2015 Mamoru TASAKA - 1.0.1-1 - 1.0.1 * Mon Apr 20 2015 Mamoru TASAKA - 1.0.0-1 - 1.0.0 * Thu Oct 02 2014 Rex Dieter 0.9.4-4 - update mime scriptlets * Mon Aug 18 2014 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Apr 07 2014 Mamoru TASAKA - 0.9.4-1 - 0.9.4 * Mon Jan 27 2014 Mamoru TASAKA - 0.9.3-1 - 0.9.3 * Tue Dec 10 2013 Mamoru TASAKA - 0.9.2-1 - 0.9.2 * Mon Nov 11 2013 Mamoru TASAKA - 0.9.1-1 - 0.9.1 * Thu Oct 31 2013 Mamoru TASAKA - 0.9.0-1 - 0.9.0 * Thu Sep 12 2013 Mamoru TASAKA - 0.8.7-5 - Drop faenza-icon-theme dependency on F-20+ for now * Sun Aug 04 2013 Fedora Release Engineering - 0.8.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Apr 25 2013 Mamoru TASAKA - 0.8.7-3 - Fix BR for F-17 * Tue Apr 23 2013 Mamoru TASAKA - 0.8.7-2 - Make -Faenza subpackage depend on faenza-icon-theme - Create skeleton configuration file and directory * Mon Apr 22 2013 Mamoru TASAKA - 0.8.7-1 - Written from scratch