27 |
BuildRequires: pkgconfig(Qt5DBus) |
BuildRequires: pkgconfig(Qt5DBus) |
28 |
BuildRequires: pkgconfig(Qt5X11Extras) |
BuildRequires: pkgconfig(Qt5X11Extras) |
29 |
BuildRequires: cmake(fm-qt) |
BuildRequires: cmake(fm-qt) |
|
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 |
33 |
Recommends: kde-cli-tools |
Recommends: kde-cli-tools |
34 |
|
|
35 |
%description |
%description |
36 |
File manager for the LXQt desktop. |
File manager for the LXQt desktop. |
38 |
%prep |
%prep |
39 |
%setup -q %{name}-%{version} |
%setup -q %{name}-%{version} |
40 |
|
|
41 |
# change desktop file name and comment to distinguish it from pcmanfm |
# change desktop file generic name 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 lxqt-sudo 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|%{_bindir}/lxqt-sudo -s %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 |
49 |
%make_build |
%make_build |
50 |
|
|
51 |
%install |
%install |
59 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
60 |
%{_datadir}/applications/*.desktop |
%{_datadir}/applications/*.desktop |
61 |
%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop |
%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop |
62 |
|
%dir %{_datadir}/pcmanfm-qt |
63 |
%dir %{_datadir}/pcmanfm-qt/lxqt |
%dir %{_datadir}/pcmanfm-qt/lxqt |
64 |
%{_datadir}/pcmanfm-qt/lxqt/settings.conf |
%{_datadir}/pcmanfm-qt/lxqt/settings.conf |
65 |
|
%{_datadir}/pcmanfm-qt/translations/ |
66 |
%{_mandir}/man1/pcmanfm-qt.1.* |
%{_mandir}/man1/pcmanfm-qt.1.* |