2014-11-04 17:28:30 +01:00
|
|
|
#
|
|
|
|
# spec file for package pcmanfm-qt
|
|
|
|
#
|
2024-02-10 08:06:00 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-11-04 17:28:30 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-05-17 09:08:24 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-04 17:28:30 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: pcmanfm-qt
|
2024-05-16 16:50:38 +02:00
|
|
|
Version: 2.0.0
|
2014-11-04 17:28:30 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: File manager and desktop icon manager
|
2018-05-22 17:23:31 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-09-25 00:17:28 +02:00
|
|
|
Group: System/GUI/LXQt
|
2024-05-16 16:50:38 +02:00
|
|
|
URL: https://github.com/lxqt/pcmanfm-qt
|
|
|
|
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
2016-09-25 00:17:28 +02:00
|
|
|
Source2: %{name}.keyring
|
2019-03-05 14:33:16 +01:00
|
|
|
#bsc#1100208 - mvetter@suse.de - set default openSUSE wallpaper
|
2024-05-16 16:50:38 +02:00
|
|
|
Patch0: %{name}-default-wallpaper.patch
|
|
|
|
BuildRequires: cmake >= 3.18.0
|
2015-02-16 21:09:56 +01:00
|
|
|
BuildRequires: fdupes
|
2014-11-04 17:28:30 +01:00
|
|
|
BuildRequires: gcc-c++
|
2024-05-16 16:50:38 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: libQt6Svg6
|
2016-09-25 00:17:28 +02:00
|
|
|
BuildRequires: pkgconfig
|
2024-05-16 16:50:38 +02:00
|
|
|
BuildRequires: cmake(LayerShellQt) >= 6.0.0
|
|
|
|
BuildRequires: cmake(Qt6DBus) >= 6.6.0
|
|
|
|
BuildRequires: cmake(Qt6LinguistTools)
|
|
|
|
BuildRequires: cmake(Qt6Widgets)
|
|
|
|
BuildRequires: cmake(fm-qt6)
|
|
|
|
BuildRequires: cmake(lxqt2-build-tools) >= 2.0.0
|
2017-10-23 14:03:11 +02:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2024-05-16 16:50:38 +02:00
|
|
|
BuildRequires: pkgconfig(libmenu-cache) >= 1.1.0
|
|
|
|
%requires_eq libQt6Svg6
|
2019-04-30 12:10:25 +02:00
|
|
|
#bsc#1128570 - mvetter@suse.de
|
|
|
|
Requires: menu-cache
|
2023-11-06 13:51:29 +01:00
|
|
|
#bsc#1100208 - mvetter@suse.de
|
|
|
|
Requires: wallpaper-branding-openSUSE
|
2024-05-16 16:50:38 +02:00
|
|
|
Recommends: %{name}-lang = %{version}-%{release}
|
2020-04-25 15:43:29 +02:00
|
|
|
Recommends: gnome-keyring-pam
|
2014-11-04 17:28:30 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
PCManFM-Qt is the Qt port of the LXDE file manager PCManFM
|
|
|
|
|
2019-01-31 11:44:25 +01:00
|
|
|
%lang_package
|
|
|
|
|
2014-11-04 17:28:30 +01:00
|
|
|
%prep
|
2024-02-21 08:12:49 +01:00
|
|
|
%autosetup -p1
|
2014-11-04 17:28:30 +01:00
|
|
|
|
|
|
|
%build
|
2024-05-16 16:50:38 +02:00
|
|
|
%cmake_qt6
|
|
|
|
%qt6_build
|
2014-11-04 17:28:30 +01:00
|
|
|
|
|
|
|
%install
|
2024-05-16 16:50:38 +02:00
|
|
|
%qt6_install
|
2015-02-16 21:09:56 +01:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2015-02-25 02:17:15 +01:00
|
|
|
|
2019-01-31 11:44:25 +01:00
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
2014-11-04 17:28:30 +01:00
|
|
|
%files
|
2024-05-16 16:50:38 +02:00
|
|
|
%doc AUTHORS CHANGELOG README.md
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/lxqt
|
2015-11-13 23:35:44 +01:00
|
|
|
%{_bindir}/%{name}
|
2024-05-16 16:50:38 +02:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/applications/%{name}-desktop-pref.desktop
|
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2022-09-15 08:58:05 +02:00
|
|
|
%config %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
|
2024-05-16 16:50:38 +02:00
|
|
|
%{_datadir}/%{name}/lxqt/settings.conf
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
|
|
|
%license LICENSE
|
2014-11-04 17:28:30 +01:00
|
|
|
|
2019-01-31 11:44:25 +01:00
|
|
|
%files lang -f %{name}.lang
|
2024-05-16 16:50:38 +02:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/translations
|
|
|
|
%if 0%{?sle_version}
|
|
|
|
%{_datadir}/%{name}/translations/%{name}_???.qm
|
|
|
|
%endif
|
2019-01-31 11:44:25 +01:00
|
|
|
|
2014-11-04 17:28:30 +01:00
|
|
|
%changelog
|