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