/[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 1066063 - (hide annotations) (download)
Wed Nov 9 10:38:52 2016 UTC (7 years, 5 months ago) by neoclust
File size: 2426 byte(s)
New version 0.11.1
1 doktor5000 995918 %define major 2
2     %define libname %mklibname fm-qt %major
3     %define devname %mklibname -d fm-qt
4 doktor5000 626345
5 neoclust 1066063 %define rel 1
6 doktor5000 995918
7 doktor5000 626345 Name: pcmanfm-qt
8 neoclust 1066063 Version: 0.11.1
9 neoclust 899947 Release: %mkrel %rel
10 doktor5000 816435 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
11 doktor5000 995918 Patch0: pcmanfm-qt-0.10.0-grep-2.23.patch
12 doktor5000 626345 Summary: File manager for the LXQt desktop
13     URL: http://lxqt.org/
14 doktor5000 790010 License: GPLv2+
15 doktor5000 626345 Group: Graphical desktop/KDE
16     BuildRequires: cmake
17 doktor5000 626347 BuildRequires: doxygen
18     BuildRequires: pkgconfig(libfm) >= 1.2.0
19 doktor5000 626345 BuildRequires: pkgconfig(libmenu-cache)
20 doktor5000 626347 BuildRequires: pkgconfig(glib-2.0)
21     BuildRequires: pkgconfig(gio-unix-2.0)
22 doktor5000 816435 BuildRequires: pkgconfig(lxqt)
23 doktor5000 626347 BuildRequires: pkgconfig(Qt5Widgets)
24     BuildRequires: pkgconfig(Qt5Xml)
25     BuildRequires: pkgconfig(Qt5Help)
26     BuildRequires: pkgconfig(Qt5Test)
27     BuildRequires: pkgconfig(Qt5DBus)
28     BuildRequires: pkgconfig(Qt5X11Extras)
29 doktor5000 811756 # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
30     # changed to Recommends to allow parallel installation with plasma 5
31     Recommends: kdebase4-runtime
32 doktor5000 626345
33     %description
34     File manager for the LXQt desktop
35    
36 doktor5000 995918 %package -n %{libname}
37     Summary: PCManFM Qt backend library
38     Group: System/Libraries
39    
40     %description -n %{libname}
41     PCManFM Qt backend library
42    
43     %package -n %{devname}
44     Summary: Development files for PCManFM
45     Group: Development/C
46     Requires: %libname = %version
47     Provides: %name-devel = %version-%release
48     Provides: lib%name-devel = %version-%release
49    
50     %description -n %{devname}
51     Development files for PCManFM
52    
53 doktor5000 626345 %prep
54 doktor5000 789996 %setup -q %{name}-%{version}
55 doktor5000 995918 %patch0 -p1
56 doktor5000 793984
57     # change desktop file name and comment to distinguish it from pcmanfm
58     sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
59    
60 doktor5000 811608 # change gksu to kdesu as with gksu no icons are shown when running as root
61     sed -i 's|gksu %s|%_libdir/kde4/libexec/kdesu %s|g' pcmanfm/preferences.ui pcmanfm/settings.cpp pcmanfm/translations/pcmanfm-qt*.ts
62    
63 neoclust 900337 %cmake_qt5 -DBUILD_DOCUMENTATION=ON
64 doktor5000 626345
65 doktor5000 816435
66 doktor5000 626345 %build
67     %make -C build
68    
69     %install
70     %makeinstall_std -C build
71    
72 doktor5000 626347 desktop-file-install --add-category="System;FileTools" \
73     --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}.desktop
74    
75 doktor5000 626345 %files
76 doktor5000 626347 %doc %{_defaultdocdir}/%{name}
77     %{_bindir}/%{name}
78 doktor5000 626345 %{_datadir}/applications/*.desktop
79 doktor5000 995918 %{_datadir}/libfm-qt/translations
80 doktor5000 789996 %_mandir/man1/pcmanfm-qt.1.*
81 doktor5000 626345
82 doktor5000 995918 %files -n %{libname}
83     %{_libdir}/libfm-qt5.so.%{major}{,.*}
84    
85     %files -n %{devname}
86     %{_libdir}/libfm-qt5.so
87     %{_libdir}/pkgconfig/libfm-qt5.pc
88     %{_includedir}/libfm-qt
89    
90    

  ViewVC Help
Powered by ViewVC 1.1.30