/[packages]/cauldron/pcmanfm-qt/current/SPECS/pcmanfm-qt.spec
ViewVC logotype

Contents of /cauldron/pcmanfm-qt/current/SPECS/pcmanfm-qt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1953693 - (show annotations) (download)
Thu Apr 20 16:29:42 2023 UTC (10 months, 1 week ago) by papoteur
File size: 2139 byte(s)
- fix updating background cache when the referenced file is changed (pcmanfm-qt#1765)
1 %define major 2
2 %define libname %mklibname fm-qt %major
3 %define devname %mklibname fm-qt -d
4
5 %define rel 2
6
7 Name: pcmanfm-qt
8 Version: 1.3.0
9 Release: %mkrel %rel
10 Summary: File manager for the LXQt desktop
11 License: GPLv2+
12 Group: Graphical desktop/Other
13 URL: https://lxqt-project.org/
14 Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15 ### Upstream patches (1-499)
16 Patch0: 1765.patch
17
18 ### Mageia patches (500-)
19 # mga#26670
20 Patch500: pcmanfm-qt-1.2.0-mga-customize-default-appearance.patch
21
22 BuildRequires: cmake
23 BuildRequires: doxygen
24 BuildRequires: pkgconfig(libfm) >= 1.2.0
25 BuildRequires: pkgconfig(libmenu-cache)
26 BuildRequires: pkgconfig(glib-2.0)
27 BuildRequires: pkgconfig(gio-unix-2.0)
28 BuildRequires: pkgconfig(lxqt)
29 BuildRequires: pkgconfig(Qt5Core)
30 BuildRequires: pkgconfig(Qt5Widgets)
31 BuildRequires: pkgconfig(Qt5Xml)
32 BuildRequires: pkgconfig(Qt5Help)
33 BuildRequires: pkgconfig(Qt5Test)
34 BuildRequires: pkgconfig(Qt5DBus)
35 BuildRequires: pkgconfig(Qt5X11Extras)
36 BuildRequires: cmake(fm-qt)
37
38 Requires: lxqt-archiver
39 Requires: qterminal
40
41 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
42 # changed to Recommends to allow parallel installation with plasma 5
43 Recommends: kde-cli-tools
44
45 %description
46 File manager for the LXQt desktop.
47
48 %prep
49 %autosetup -p1
50
51 # change desktop file generic name to distinguish it from pcmanfm
52 sed -i 's/=File Manager/=QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
53
54 %build
55 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
56 %cmake_build
57
58 %install
59 %cmake_install
60
61 desktop-file-install \
62 --add-category="System;FileTools" \
63 --dir %{buildroot}%{_datadir}/applications \
64 %{buildroot}%{_datadir}/applications/%{name}.desktop
65
66 %files
67 %doc %{_defaultdocdir}/%{name}
68 %{_bindir}/%{name}
69 %{_datadir}/applications/*.desktop
70 %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
71 %dir %{_datadir}/pcmanfm-qt
72 %dir %{_datadir}/pcmanfm-qt/lxqt
73 %{_datadir}/pcmanfm-qt/lxqt/settings.conf
74 %{_datadir}/pcmanfm-qt/translations/
75 %{_mandir}/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.30