/[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 1066080 - (show annotations) (download)
Wed Nov 9 13:32:22 2016 UTC (7 years, 4 months ago) by neoclust
File size: 1761 byte(s)
SILENT: Fix file list
1 %define major 2
2 %define libname %mklibname fm-qt %major
3 %define devname %mklibname -d fm-qt
4
5 %define rel 1
6
7 Name: pcmanfm-qt
8 Version: 0.11.1
9 Release: %mkrel %rel
10 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
11 Summary: File manager for the LXQt desktop
12 URL: http://lxqt.org/
13 License: GPLv2+
14 Group: Graphical desktop/KDE
15 BuildRequires: cmake
16 BuildRequires: doxygen
17 BuildRequires: pkgconfig(libfm) >= 1.2.0
18 BuildRequires: pkgconfig(libmenu-cache)
19 BuildRequires: pkgconfig(glib-2.0)
20 BuildRequires: pkgconfig(gio-unix-2.0)
21 BuildRequires: pkgconfig(lxqt)
22 BuildRequires: pkgconfig(Qt5Widgets)
23 BuildRequires: pkgconfig(Qt5Xml)
24 BuildRequires: pkgconfig(Qt5Help)
25 BuildRequires: pkgconfig(Qt5Test)
26 BuildRequires: pkgconfig(Qt5DBus)
27 BuildRequires: pkgconfig(Qt5X11Extras)
28 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
29 # changed to Recommends to allow parallel installation with plasma 5
30 Recommends: kdebase4-runtime
31
32 %description
33 File manager for the LXQt desktop
34
35 %prep
36 %setup -q %{name}-%{version}
37
38 # change desktop file name and comment to distinguish it from pcmanfm
39 sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
40
41 # change gksu to kdesu as with gksu no icons are shown when running as root
42 sed -i 's|gksu %s|%_libdir/kde4/libexec/kdesu %s|g' pcmanfm/preferences.ui pcmanfm/settings.cpp
43
44 %cmake_qt5 -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO
45
46
47 %build
48 %make -C build
49
50 %install
51 %makeinstall_std -C build
52
53 desktop-file-install --add-category="System;FileTools" \
54 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}.desktop
55
56 %files
57 %doc %{_defaultdocdir}/%{name}
58 %{_bindir}/%{name}
59 %{_datadir}/applications/*.desktop
60 %_mandir/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.30