/[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 1588390 - (hide annotations) (download)
Thu May 28 08:36:39 2020 UTC (9 months ago) by daviddavid
File size: 2219 byte(s)
- update Url

1 daviddavid 1586951 %define major 2
2 doktor5000 995918 %define libname %mklibname fm-qt %major
3 daviddavid 1586951 %define devname %mklibname fm-qt -d
4 doktor5000 626345
5 daviddavid 1588348 %define rel 1
6 doktor5000 995918
7 dglent 1181650 Name: pcmanfm-qt
8 daviddavid 1588348 Version: 0.15.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 1588390 URL: https://lxqt.github.io/
14 daviddavid 1235881 Source0: https://github.com/lxqt/pcmanfm-qt/releases/download/%{version}/%{name}-%{version}.tar.xz
15 daviddavid 1586951 ### Mageia patches (0-100)
16     # mga#26670
17     Patch0: pcmanfm-qt-0.15.0-mga-customize-default-appearance.patch
18 daviddavid 1235881
19 dglent 1181650 BuildRequires: cmake
20     BuildRequires: doxygen
21     BuildRequires: pkgconfig(libfm) >= 1.2.0
22     BuildRequires: pkgconfig(libmenu-cache)
23     BuildRequires: pkgconfig(glib-2.0)
24     BuildRequires: pkgconfig(gio-unix-2.0)
25     BuildRequires: pkgconfig(lxqt)
26     BuildRequires: pkgconfig(Qt5Widgets)
27     BuildRequires: pkgconfig(Qt5Xml)
28     BuildRequires: pkgconfig(Qt5Help)
29     BuildRequires: pkgconfig(Qt5Test)
30     BuildRequires: pkgconfig(Qt5DBus)
31     BuildRequires: pkgconfig(Qt5X11Extras)
32     BuildRequires: cmake(fm-qt)
33 neoclust 1066082
34 daviddavid 1587009 Requires: lxqt-archiver
35    
36 doktor5000 811756 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
37     # changed to Recommends to allow parallel installation with plasma 5
38 daviddavid 1361427 Recommends: kde-cli-tools
39 doktor5000 626345
40 daviddavid 1361442 Conflicts: lxqt-l10n < 0.13.0-4
41    
42 doktor5000 626345 %description
43 daviddavid 1066283 File manager for the LXQt desktop.
44 doktor5000 626345
45     %prep
46 doktor5000 789996 %setup -q %{name}-%{version}
47 doktor5000 793984
48 daviddavid 1361427 # change desktop file generic name to distinguish it from pcmanfm
49     sed -i 's/=File Manager/=QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
50 doktor5000 793984
51 dglent 1181650 # change gksu to lxqt-sudo as with gksu no icons are shown when running as root
52     sed -i 's|gksu %s|%{_bindir}/lxqt-sudo -s %s|g' pcmanfm/preferences.ui
53 doktor5000 811608
54 daviddavid 1066249 %build
55 daviddavid 1361427 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
56 wally 1475284 %cmake_build
57 doktor5000 626345
58     %install
59 wally 1475284 %cmake_install
60 doktor5000 626345
61 daviddavid 1586951 desktop-file-install \
62     --add-category="System;FileTools" \
63     --dir %{buildroot}%{_datadir}/applications \
64     %{buildroot}%{_datadir}/applications/%{name}.desktop
65 doktor5000 626347
66 doktor5000 626345 %files
67 doktor5000 626347 %doc %{_defaultdocdir}/%{name}
68     %{_bindir}/%{name}
69 doktor5000 626345 %{_datadir}/applications/*.desktop
70 dglent 1181650 %{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop
71 daviddavid 1361427 %dir %{_datadir}/pcmanfm-qt
72 daviddavid 1236013 %dir %{_datadir}/pcmanfm-qt/lxqt
73     %{_datadir}/pcmanfm-qt/lxqt/settings.conf
74 daviddavid 1361427 %{_datadir}/pcmanfm-qt/translations/
75 dglent 1181650 %{_mandir}/man1/pcmanfm-qt.1.*

  ViewVC Help
Powered by ViewVC 1.1.28