/[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 1588348 - (show annotations) (download)
Thu May 28 06:20:14 2020 UTC (9 months, 1 week ago) by daviddavid
File size: 2213 byte(s)
- new version: 0.15.1

1 %define major 2
2 %define libname %mklibname fm-qt %major
3 %define devname %mklibname fm-qt -d
4
5 %define rel 1
6
7 Name: pcmanfm-qt
8 Version: 0.15.1
9 Release: %mkrel %rel
10 Summary: File manager for the LXQt desktop
11 License: GPLv2+
12 Group: Graphical desktop/Other
13 URL: https://lxqt.org/
14 Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15 ### Mageia patches (0-100)
16 # mga#26670
17 Patch0: pcmanfm-qt-0.15.0-mga-customize-default-appearance.patch
18
19 BuildRequires: cmake
20 BuildRequires: doxygen
21 BuildRequires: pkgconfig(libfm) >= 1.2.0
22 BuildRequires: pkgconfig(libmenu-cache)
23 BuildRequires: pkgconfig(glib-2.0)
24 BuildRequires: pkgconfig(gio-unix-2.0)
25 BuildRequires: pkgconfig(lxqt)
26 BuildRequires: pkgconfig(Qt5Widgets)
27 BuildRequires: pkgconfig(Qt5Xml)
28 BuildRequires: pkgconfig(Qt5Help)
29 BuildRequires: pkgconfig(Qt5Test)
30 BuildRequires: pkgconfig(Qt5DBus)
31 BuildRequires: pkgconfig(Qt5X11Extras)
32 BuildRequires: cmake(fm-qt)
33
34 Requires: lxqt-archiver
35
36 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
37 # changed to Recommends to allow parallel installation with plasma 5
38 Recommends: kde-cli-tools
39
40 Conflicts: lxqt-l10n < 0.13.0-4
41
42 %description
43 File manager for the LXQt desktop.
44
45 %prep
46 %setup -q %{name}-%{version}
47
48 # change desktop file generic name to distinguish it from pcmanfm
49 sed -i 's/=File Manager/=QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
50
51 # change gksu to lxqt-sudo as with gksu no icons are shown when running as root
52 sed -i 's|gksu %s|%{_bindir}/lxqt-sudo -s %s|g' pcmanfm/preferences.ui
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.28