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

  ViewVC Help
Powered by ViewVC 1.1.30