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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1667534 - (hide annotations) (download)
Fri Jan 1 09:03:11 2021 UTC (3 years, 2 months ago) by wally
File size: 2423 byte(s)
D'oh! BS doesn't support %%autopatch -M (SILENT)
1 daviddavid 1586951 %define major 2
2 doktor5000 995918 %define libname %mklibname fm-qt %major
3 daviddavid 1586951 %define devname %mklibname fm-qt -d
4 doktor5000 626345
5 wally 1667533 %define rel 3
6 doktor5000 995918
7 dglent 1181650 Name: pcmanfm-qt
8 daviddavid 1643192 Version: 0.16.0
9 dglent 1181650 Release: %mkrel %rel
10     Summary: File manager for the LXQt desktop
11     License: GPLv2+
12     Group: Graphical desktop/Other
13 daviddavid 1588390 URL: https://lxqt.github.io/
14 daviddavid 1235881 Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15 wally 1667533 ### 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 daviddavid 1586951 # mga#26670
21 wally 1667533 Patch500: pcmanfm-qt-0.15.0-mga-customize-default-appearance.patch
22 daviddavid 1235881
23 dglent 1181650 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 neoclust 1066082
38 daviddavid 1587009 Requires: lxqt-archiver
39    
40 doktor5000 811756 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
41     # changed to Recommends to allow parallel installation with plasma 5
42 daviddavid 1361427 Recommends: kde-cli-tools
43 doktor5000 626345
44 daviddavid 1361442 Conflicts: lxqt-l10n < 0.13.0-4
45    
46 doktor5000 626345 %description
47 daviddavid 1066283 File manager for the LXQt desktop.
48 doktor5000 626345
49     %prep
50 wally 1667533 %autosetup -p1 -N
51 wally 1667534 %patch1 -p1
52 doktor5000 793984
53 daviddavid 1361427 # 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 doktor5000 793984
56 dglent 1181650 # change gksu to lxqt-sudo as with gksu no icons are shown when running as root
57     sed -i 's|gksu %s|%{_bindir}/lxqt-sudo -s %s|g' pcmanfm/preferences.ui
58 doktor5000 811608
59 daviddavid 1066249 %build
60 daviddavid 1361427 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
61 wally 1475284 %cmake_build
62 doktor5000 626345
63     %install
64 wally 1475284 %cmake_install
65 doktor5000 626345
66 daviddavid 1586951 desktop-file-install \
67     --add-category="System;FileTools" \
68     --dir %{buildroot}%{_datadir}/applications \
69     %{buildroot}%{_datadir}/applications/%{name}.desktop
70 doktor5000 626347
71 doktor5000 626345 %files
72 doktor5000 626347 %doc %{_defaultdocdir}/%{name}
73     %{_bindir}/%{name}
74 doktor5000 626345 %{_datadir}/applications/*.desktop
75 dglent 1181650 %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
76 daviddavid 1361427 %dir %{_datadir}/pcmanfm-qt
77 daviddavid 1236013 %dir %{_datadir}/pcmanfm-qt/lxqt
78     %{_datadir}/pcmanfm-qt/lxqt/settings.conf
79 daviddavid 1361427 %{_datadir}/pcmanfm-qt/translations/
80 dglent 1181650 %{_mandir}/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.30