/[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 979749 - (hide annotations) (download)
Fri Feb 26 22:58:05 2016 UTC (8 years, 1 month ago) by luigiwalser
File size: 2459 byte(s)
add patch to fix build with grep 2.23
1 doktor5000 816435 %define major 2
2 doktor5000 789996 %define libname %mklibname fm-qt %major
3 doktor5000 626345 %define devname %mklibname -d fm-qt
4    
5 luigiwalser 979749 %define rel 5
6 neoclust 899947
7 doktor5000 626345 Name: pcmanfm-qt
8 neoclust 899970 Version: 0.10.0
9 neoclust 899947 Release: %mkrel %rel
10 doktor5000 816435 Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
11 luigiwalser 979749 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     %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 doktor5000 626347 Requires: %libname = %version
47     Provides: %name-devel = %version-%release
48     Provides: lib%name-devel = %version-%release
49 doktor5000 626345
50     %description -n %{devname}
51     Development files for PCManFM
52    
53     %prep
54 doktor5000 789996 %setup -q %{name}-%{version}
55 luigiwalser 979749 %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 789996 %{_datadir}/libfm-qt/translations
80     %{_datadir}/%{name}/translations
81     %_mandir/man1/pcmanfm-qt.1.*
82 doktor5000 626345
83     %files -n %{libname}
84 ovitters 877946 %{_libdir}/libfm-qt5.so.%{major}{,.*}
85 doktor5000 626345
86     %files -n %{devname}
87 doktor5000 789996 %{_libdir}/libfm-qt5.so
88     %{_libdir}/pkgconfig/libfm-qt5.pc
89 doktor5000 626345 %{_includedir}/libfm-qt
90    
91 doktor5000 789996

  ViewVC Help
Powered by ViewVC 1.1.30