/[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 1066283 - (hide annotations) (download)
Thu Nov 10 19:15:23 2016 UTC (7 years, 5 months ago) by daviddavid
File size: 1759 byte(s)
- recommends kde-cli-tools to use kdesu from Kf5 and no more from kde4
- remove now all kde4 dependencies

1 doktor5000 995918 %define major 2
2     %define libname %mklibname fm-qt %major
3     %define devname %mklibname -d fm-qt
4 doktor5000 626345
5 daviddavid 1066283 %define rel 2
6 doktor5000 995918
7 doktor5000 626345 Name: pcmanfm-qt
8 neoclust 1066063 Version: 0.11.1
9 neoclust 899947 Release: %mkrel %rel
10 doktor5000 816435 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
11 doktor5000 626345 Summary: File manager for the LXQt desktop
12     URL: http://lxqt.org/
13 doktor5000 790010 License: GPLv2+
14 doktor5000 626345 Group: Graphical desktop/KDE
15     BuildRequires: cmake
16 doktor5000 626347 BuildRequires: doxygen
17     BuildRequires: pkgconfig(libfm) >= 1.2.0
18 doktor5000 626345 BuildRequires: pkgconfig(libmenu-cache)
19 doktor5000 626347 BuildRequires: pkgconfig(glib-2.0)
20     BuildRequires: pkgconfig(gio-unix-2.0)
21 doktor5000 816435 BuildRequires: pkgconfig(lxqt)
22 doktor5000 626347 BuildRequires: pkgconfig(Qt5Widgets)
23     BuildRequires: pkgconfig(Qt5Xml)
24     BuildRequires: pkgconfig(Qt5Help)
25     BuildRequires: pkgconfig(Qt5Test)
26     BuildRequires: pkgconfig(Qt5DBus)
27     BuildRequires: pkgconfig(Qt5X11Extras)
28 neoclust 1066082
29     BuildRequires: cmake(fm-qt)
30    
31 doktor5000 811756 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
32     # changed to Recommends to allow parallel installation with plasma 5
33 daviddavid 1066283 Recommends: kde-cli-tools
34 doktor5000 626345
35     %description
36 daviddavid 1066283 File manager for the LXQt desktop.
37 doktor5000 626345
38     %prep
39 doktor5000 789996 %setup -q %{name}-%{version}
40 doktor5000 793984
41     # change desktop file name and comment to distinguish it from pcmanfm
42     sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
43    
44 doktor5000 811608 # change gksu to kdesu as with gksu no icons are shown when running as root
45 daviddavid 1066283 sed -i 's|gksu %s|%_prefix/libexec/kf5/kdesu %s|g' pcmanfm/preferences.ui
46 doktor5000 811608
47 daviddavid 1066249 %build
48 neoclust 1066066 %cmake_qt5 -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO
49 daviddavid 1066249 %make_build
50 doktor5000 626345
51     %install
52 daviddavid 1066249 %make_install -C build
53 doktor5000 626345
54 doktor5000 626347 desktop-file-install --add-category="System;FileTools" \
55     --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}.desktop
56    
57 doktor5000 626345 %files
58 doktor5000 626347 %doc %{_defaultdocdir}/%{name}
59     %{_bindir}/%{name}
60 doktor5000 626345 %{_datadir}/applications/*.desktop
61 doktor5000 789996 %_mandir/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.30