/[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 1675695 - (show annotations) (download)
Wed Feb 24 06:58:48 2021 UTC (2 months, 3 weeks ago) by daviddavid
File size: 2282 byte(s)
- make sure that qterminal is properly set as default instead fo xterm (mga#28407)

1 %define major 2
2 %define libname %mklibname fm-qt %major
3 %define devname %mklibname fm-qt -d
4
5 %define rel 5
6
7 Name: pcmanfm-qt
8 Version: 0.16.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.github.io/
14 Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15 ### Upstream patches (1-499)
16 # https://bugs.mageia.org/show_bug.cgi?id=27992
17 # https://github.com/lxqt/pcmanfm-qt/pull/1278
18 Patch1: 0001-Added-nullity-check-for-proxy-model-when-setting-des.patch
19 ### Mageia patches (500-)
20 # mga#26670
21 Patch500: pcmanfm-qt-0.16.0-mga-customize-default-appearance.patch
22
23 BuildRequires: cmake
24 BuildRequires: doxygen
25 BuildRequires: pkgconfig(libfm) >= 1.2.0
26 BuildRequires: pkgconfig(libmenu-cache)
27 BuildRequires: pkgconfig(glib-2.0)
28 BuildRequires: pkgconfig(gio-unix-2.0)
29 BuildRequires: pkgconfig(lxqt)
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 Conflicts: lxqt-l10n < 0.13.0-4
46
47 %description
48 File manager for the LXQt desktop.
49
50 %prep
51 %autosetup -p1
52
53 # change desktop file generic name to distinguish it from pcmanfm
54 sed -i 's/=File Manager/=QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
55
56 %build
57 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
58 %cmake_build
59
60 %install
61 %cmake_install
62
63 desktop-file-install \
64 --add-category="System;FileTools" \
65 --dir %{buildroot}%{_datadir}/applications \
66 %{buildroot}%{_datadir}/applications/%{name}.desktop
67
68 %files
69 %doc %{_defaultdocdir}/%{name}
70 %{_bindir}/%{name}
71 %{_datadir}/applications/*.desktop
72 %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
73 %dir %{_datadir}/pcmanfm-qt
74 %dir %{_datadir}/pcmanfm-qt/lxqt
75 %{_datadir}/pcmanfm-qt/lxqt/settings.conf
76 %{_datadir}/pcmanfm-qt/translations/
77 %{_mandir}/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.28