Name: pcmanfm-qt Version: 0.14.1 Release: 1%{?dist} Summary: LxQt file manager PCManFM License: GPLv2+ URL: http://lxqt.org Source0: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz Patch1: 0001-Customize-default-appearance.patch BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0 BuildRequires: pkgconfig(lxqt) >= 0.14.0 BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(libfm) BuildRequires: pkgconfig(libmenu-cache) BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(libfm-qt) BuildRequires: desktop-file-utils BuildRequires: kf5-kwindowsystem-devel BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libexif-devel %if 0%{?el7} BuildRequires: devtoolset-7-gcc-c++ %endif %if 0%{?fedora} Requires: desktop-backgrounds-compat %endif Obsoletes: pcmanfm-qt5 < 0.9.0 Provides: pcmanfm-qt5 = %{version}-%{release} Obsoletes: pcmanfm-qt4 <= 0.9.0 Obsoletes: pcmanfm-qt-common <= 0.9.0 %if 0%{?fedora} # gvfs is optional depencency at runtime, so we add a weak dependency here Recommends: gvfs # configuration patched to use qterminal instead as the default terminal emulator but allow to use others Recommends: qterminal %endif %description %{summary} %post /usr/bin/update-desktop-database &> /dev/null || : %postun /usr/bin/update-desktop-database &> /dev/null || : %package l10n Summary: Translations for pcmanfm-qt Requires: pcmanfm-qt %description l10n This package provides translations for the pcmanfm-qt package. %prep %setup -q %patch1 -p1 %build %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_lxqt} -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO .. popd make %{?_smp_mflags} -C %{_target_platform} %if 0%{?el7} EOF %endif %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} for dfile in pcmanfm-qt-desktop-pref pcmanfm-qt; do desktop-file-edit \ --remove-category=LXQt --add-category=X-LXQt \ --remove-category=Help --add-category=X-Help \ --remove-only-show-in=LXQt \ %{buildroot}/%{_datadir}/applications/${dfile}.desktop done %find_lang pcmanfm-qt --with-qt %files %doc AUTHORS CHANGELOG README.md %license LICENSE %{_bindir}/pcmanfm-qt %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}-desktop-pref.desktop %{_docdir}/pcmanfm-qt %{_mandir}/man1/pcmanfm-qt.* %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop %{_datadir}/pcmanfm-qt/lxqt/settings.conf %{_datadir}/%{name} %files l10n -f pcmanfm-qt.lang %license LICENSE %doc AUTHORS CHANGELOG README.md %dir %{_datadir}/%{name}/translations %changelog * Mon Apr 15 2019 Zamir SUN - 0.14.1-1 - Update to version 0.14.1 * Wed Feb 13 2019 Zamir SUN - 0.14.0-1 - Prepare for LXQt 0.14.0 * Fri Feb 01 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Sep 01 2018 Raphael Groner - 0.13.0-3 - allow alternative terminal emulator by weak dependency * Sun Aug 26 2018 Zamir SUN - 0.13.0-2 - Customize default appearance * Fri Aug 03 2018 Zamir SUN - 0.13.0-1 - Update to version 0.13.0 * Fri Jul 13 2018 Fedora Release Engineering - 0.11.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.11.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.11.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.11.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat May 20 2017 Christian Dersch - 0.11.3-5 - recommend gvfs * Sat Feb 11 2017 Fedora Release Engineering - 0.11.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 19 2017 Christian Dersch - 0.11.3-3 - rebuilt * Wed Jan 18 2017 Christian Dersch - 0.11.3-2 - moved translations to lxqt-l10n * Mon Jan 16 2017 Christian Dersch - 0.11.3-1 - new version * Mon Sep 26 2016 Helio Chissini de Castro - 0.11.1-1 - new upstream version. - pcmanfm-qt not provides linfm anymore, comes from an external package * Tue Jul 26 2016 Helio Chissini de Castro - 0.10.0-4 - Make it available for other desktops - Reference https://bugzilla.redhat.com/show_bug.cgi?id=1347905 * Thu Feb 04 2016 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Dec 13 2015 Helio Chissini de Castro - 0.10.0-2 - Prepare to use new cmake infra for epel * Mon Nov 02 2015 Helio Chissini de Castro - 0.10.0-1 - New upstream version * Wed Jun 24 2015 Rex Dieter - 0.9.0-10 - rebuild (exiv2) * Thu Jun 18 2015 Fedora Release Engineering - 0.9.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.9.0-8 - Rebuilt for GCC 5 C++11 ABI change * Wed Mar 04 2015 Helio Chissini de Castro - 0.9.0-7 - Add provides for pcmanfm-qt5 to avoid older comps lxqt break * Wed Feb 25 2015 Mamoru TASAKA - 0.9.0-6 - Fix directory ownership * Wed Feb 18 2015 Helio Chissini de Castro - 0.9.0-5 - Fix duplicated files caused for qm template * Fri Feb 13 2015 Helio Chissini de Castro - 0.9.0-4 - Ownership of share/pcmanfm-qt directories - libfm-qt5 alnguage files added - Obsoletes libfm-qt4-devel - Moved COPYING to the new tag license * Mon Feb 09 2015 Helio Chissini de Castro - 0.9.0-2 - Fixed download dir * Sun Feb 08 2015 Helio Chissini de Castro - 0.9.0-1 - New upstream release 0.9.0 * Tue Feb 03 2015 Helio Chissini de Castro - 0.9.0-0.1 - Preparing for 0.9.0 release - Obsoletes pcmanfm-qt5 and pcmanfm-qt-common packages as no more qt4 versions will be done * Tue Nov 4 2014 Mamoru TASAKA - 0.8.0-2 - Support both Qt4 and Qt5, default to Qt5 for F-22 * Tue Nov 4 2014 Mamoru TASAKA - 0.8.0-1 - 0.8.0 * Sun Aug 17 2014 Fedora Release Engineering - 0.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 0.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 11 2014 Mamoru TASAKA - 0.1.0-5 - Apply git patch for libfm API change * Sat Aug 03 2013 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Apr 8 2013 Mamoru TASAKA - 0.1.0-3 - Use -DCMAKE_BUILD_TYPE=Release option for cmake * Mon Apr 1 2013 Mamoru TASAKA - 0.1.0-2 - Call update-desktop-database %find_lang pcmanfm-qt --with-qt - Use make soversion specific in %%files * Mon Apr 1 2013 Mamoru TASAKA - 0.1.0-1 - Initial packaging