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

  ViewVC Help
Powered by ViewVC 1.1.30