2 |
%define libname %mklibname fm-qt %major |
%define libname %mklibname fm-qt %major |
3 |
%define devname %mklibname -d fm-qt |
%define devname %mklibname -d fm-qt |
4 |
|
|
5 |
%define rel 3 |
%define rel 1 |
6 |
|
|
7 |
Name: pcmanfm-qt |
Name: pcmanfm-qt |
8 |
Version: 0.11.1 |
Version: 0.12.0 |
9 |
Release: %mkrel %rel |
Release: %mkrel %rel |
10 |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
11 |
Summary: File manager for the LXQt desktop |
Summary: File manager for the LXQt desktop |
12 |
URL: http://lxqt.org/ |
URL: http://lxqt.org/ |
13 |
License: GPLv2+ |
License: GPLv2+ |
14 |
Group: Graphical desktop/KDE |
Group: Graphical desktop/Other |
15 |
BuildRequires: cmake |
BuildRequires: cmake |
16 |
BuildRequires: doxygen |
BuildRequires: doxygen |
17 |
BuildRequires: pkgconfig(libfm) >= 1.2.0 |
BuildRequires: pkgconfig(libfm) >= 1.2.0 |
18 |
BuildRequires: pkgconfig(libmenu-cache) |
BuildRequires: pkgconfig(libmenu-cache) |
19 |
BuildRequires: pkgconfig(glib-2.0) |
BuildRequires: pkgconfig(glib-2.0) |
20 |
BuildRequires: pkgconfig(gio-unix-2.0) |
BuildRequires: pkgconfig(gio-unix-2.0) |
21 |
BuildRequires: pkgconfig(lxqt) |
BuildRequires: pkgconfig(lxqt) |
22 |
BuildRequires: pkgconfig(Qt5Widgets) |
BuildRequires: pkgconfig(Qt5Widgets) |
23 |
BuildRequires: pkgconfig(Qt5Xml) |
BuildRequires: pkgconfig(Qt5Xml) |
24 |
BuildRequires: pkgconfig(Qt5Help) |
BuildRequires: pkgconfig(Qt5Help) |
25 |
BuildRequires: pkgconfig(Qt5Test) |
BuildRequires: pkgconfig(Qt5Test) |
26 |
BuildRequires: pkgconfig(Qt5DBus) |
BuildRequires: pkgconfig(Qt5DBus) |
27 |
BuildRequires: pkgconfig(Qt5X11Extras) |
BuildRequires: pkgconfig(Qt5X11Extras) |
28 |
|
BuildRequires: cmake(fm-qt) |
29 |
BuildRequires: cmake(fm-qt) |
Requires: lxqt-l10n |
|
|
|
|
Requires: lxqt-l10n |
|
30 |
|
|
31 |
# recommended for kwin and kdesu for "run as root" functionality (mga#15088) |
# recommended for kwin and kdesu for "run as root" functionality (mga#15088) |
32 |
# changed to Recommends to allow parallel installation with plasma 5 |
# changed to Recommends to allow parallel installation with plasma 5 |
41 |
# change desktop file name and comment to distinguish it from pcmanfm |
# 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 |
sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in |
43 |
|
|
44 |
# change gksu to kdesu as with gksu no icons are shown when running as root |
# change gksu to lxqt-sudo as with gksu no icons are shown when running as root |
45 |
sed -i 's|gksu %s|%_prefix/libexec/kf5/kdesu %s|g' pcmanfm/preferences.ui |
sed -i 's|gksu %s|%{_bindir}/lxqt-sudo -s %s|g' pcmanfm/preferences.ui |
46 |
|
|
47 |
%build |
%build |
48 |
%cmake_qt5 -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO |
%cmake_qt5 -DBUILD_DOCUMENTATION=ON -DPULL_TRANSLATIONS=NO |
58 |
%doc %{_defaultdocdir}/%{name} |
%doc %{_defaultdocdir}/%{name} |
59 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
60 |
%{_datadir}/applications/*.desktop |
%{_datadir}/applications/*.desktop |
61 |
%_mandir/man1/pcmanfm-qt.1.* |
%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop |
62 |
|
%{_sysconfdir}/xdg/pcmanfm-qt/lxqt/settings.conf |
63 |
|
%{_mandir}/man1/pcmanfm-qt.1.* |