## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: pcmanfm-qt Version: 2.0.0 Release: %autorelease Summary: LxQt file manager PCManFM License: GPL-2.0-or-later URL: https://lxqt-project.org Source0: https://github.com/lxde/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: doxygen BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(LayerShellQt) BuildRequires: lxqt-build-tools BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libfm) BuildRequires: pkgconfig(libfm-qt6) BuildRequires: pkgconfig(libmenu-cache) BuildRequires: pkgconfig(lxqt) >= 1.0.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) BuildRequires: lxqt-menu-data %if 0%{?el7} BuildRequires: devtoolset-7-gcc-c++ %endif Requires: lxqt-sudo %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 Requires: qterminal %endif %description PCManFM-Qt is a Qt-based file manager which uses GLib for file management. It was started as the Qt port of PCManFM, the file manager of LXDE. PCManFM-Qt is used by LXQt for handling the desktop. Nevertheless, it can also be used independently of LXQt and under any desktop environment. %package l10n Summary: Translations for pcmanfm-qt BuildArch: noarch Requires: pcmanfm-qt = %{?epoch:%{epoch}:}%{version}-%{release} %description l10n This package provides translations for the pcmanfm-qt package. %prep %autosetup -p1 sed '/Wallpaper=/c\Wallpaper=\%{datadir}\/backgrounds\/default.png' config/pcmanfm-qt/lxqt/settings.conf.in %build %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif %cmake %cmake_build %if 0%{?el7} EOF %endif %install %cmake_install 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 %{name} --with-qt %if 0%{?el7} %post /usr/bin/update-desktop-database &> /dev/null || : %postun /usr/bin/update-desktop-database &> /dev/null || : %endif %files %doc AUTHORS CHANGELOG README.md %license LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}-desktop-pref.desktop %{_mandir}/man1/%{name}.* %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop %{_datadir}/%{name} %{_datadir}/icons/hicolor/scalable/apps/pcmanfm-qt.svg %files l10n -f %{name}.lang %doc AUTHORS CHANGELOG README.md %dir %{_datadir}/%{name}/translations %changelog ## START: Generated by rpmautospec * Tue Jul 16 2024 Steve Cossette - 2.0.0-1 - Uncommitted changes * Mon Jun 17 2024 Robert-André Mauchin - 1.4.1-2 - Rebuilt for exiv2 0.28.2 * Sat Feb 10 2024 Steve Cossette - 1.4.1-1 - Updated to 1.4.1: Fixed regression in setting wallpaper with commandline * Thu Jan 25 2024 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 04 2024 Zamir SUN - 1.4.0-1 - Update to 1.4.0 * Sun Nov 12 2023 Robert-André Mauchin - 1.3.0-4 - Convert to SPDX licensing * Sun Nov 12 2023 Robert-André Mauchin - 1.3.0-3 - Cleanup - Reformat * Fri Jul 28 2023 Zamir SUN - 1.3.0-1 - Update version to 1.3.0 * Thu Jul 20 2023 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Zamir SUN - 1.2.0-1 - Update version to 1.2.0 * Fri Jul 22 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Zamir SUN - 1.1.0-1 - new version * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 25 2021 zsun - 1.0.0-1 - Update to 1.0.0 * Sat Aug 07 2021 Zamir SUN - 0.17.0-1 - Update to 0.17.0 * Fri Jul 23 2021 Mamoru TASAKA - 0.16.0-4 - Fix confusing %%cmake usage for now * Thu Jul 22 2021 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 23 2020 Zamir SUN - 0.16.0-1 - Update to 0.16.0 * Tue Jul 28 2020 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 03 2020 Zamir SUN - 0.15.0-1 - Update to 0.15.0 * Wed Jan 29 2020 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * 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 ## END: Generated by rpmautospec