/[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 1475284 - (hide annotations) (download)
Wed Jan 1 17:02:15 2020 UTC (4 years, 3 months ago) by wally
File size: 2059 byte(s)
- build with new cmake macros
1 doktor5000 995918 %define major 2
2     %define libname %mklibname fm-qt %major
3     %define devname %mklibname -d fm-qt
4 doktor5000 626345
5 umeabot 1383865 %define rel 2
6 doktor5000 995918
7 dglent 1181650 Name: pcmanfm-qt
8 daviddavid 1380841 Version: 0.14.1
9 dglent 1181650 Release: %mkrel %rel
10     Summary: File manager for the LXQt desktop
11     License: GPLv2+
12     Group: Graphical desktop/Other
13 daviddavid 1235881 URL: https://lxqt.org/
14     Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15    
16 dglent 1181650 BuildRequires: cmake
17     BuildRequires: doxygen
18     BuildRequires: pkgconfig(libfm) >= 1.2.0
19     BuildRequires: pkgconfig(libmenu-cache)
20     BuildRequires: pkgconfig(glib-2.0)
21     BuildRequires: pkgconfig(gio-unix-2.0)
22     BuildRequires: pkgconfig(lxqt)
23     BuildRequires: pkgconfig(Qt5Widgets)
24     BuildRequires: pkgconfig(Qt5Xml)
25     BuildRequires: pkgconfig(Qt5Help)
26     BuildRequires: pkgconfig(Qt5Test)
27     BuildRequires: pkgconfig(Qt5DBus)
28     BuildRequires: pkgconfig(Qt5X11Extras)
29     BuildRequires: cmake(fm-qt)
30 neoclust 1066082
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 1361427 Recommends: kde-cli-tools
34 doktor5000 626345
35 daviddavid 1361442 Conflicts: lxqt-l10n < 0.13.0-4
36    
37 doktor5000 626345 %description
38 daviddavid 1066283 File manager for the LXQt desktop.
39 doktor5000 626345
40     %prep
41 doktor5000 789996 %setup -q %{name}-%{version}
42 doktor5000 793984
43 daviddavid 1361427 # change desktop file generic name to distinguish it from pcmanfm
44     sed -i 's/=File Manager/=QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
45 doktor5000 793984
46 dglent 1181650 # change gksu to lxqt-sudo as with gksu no icons are shown when running as root
47     sed -i 's|gksu %s|%{_bindir}/lxqt-sudo -s %s|g' pcmanfm/preferences.ui
48 doktor5000 811608
49 daviddavid 1066249 %build
50 daviddavid 1361427 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
51 wally 1475284 %cmake_build
52 doktor5000 626345
53     %install
54 wally 1475284 %cmake_install
55 doktor5000 626345
56 doktor5000 626347 desktop-file-install --add-category="System;FileTools" \
57     --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}.desktop
58    
59 doktor5000 626345 %files
60 doktor5000 626347 %doc %{_defaultdocdir}/%{name}
61     %{_bindir}/%{name}
62 doktor5000 626345 %{_datadir}/applications/*.desktop
63 dglent 1181650 %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
64 daviddavid 1361427 %dir %{_datadir}/pcmanfm-qt
65 daviddavid 1236013 %dir %{_datadir}/pcmanfm-qt/lxqt
66     %{_datadir}/pcmanfm-qt/lxqt/settings.conf
67 daviddavid 1361427 %{_datadir}/pcmanfm-qt/translations/
68 dglent 1181650 %{_mandir}/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.30