1 |
doktor5000 |
626345 |
%define debug_package %{nil} |
2 |
|
|
%define libname %mklibname fm-qt 0.0.0 |
3 |
|
|
%define devname %mklibname -d fm-qt |
4 |
|
|
|
5 |
|
|
Name: pcmanfm-qt |
6 |
|
|
Version: 0.7.0 |
7 |
|
|
Release: 1 |
8 |
|
|
Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz |
9 |
|
|
Summary: File manager for the LXQt desktop |
10 |
|
|
URL: http://lxqt.org/ |
11 |
|
|
License: GPL |
12 |
|
|
Group: Graphical desktop/KDE |
13 |
|
|
BuildRequires: cmake |
14 |
|
|
BuildRequires: cmake(lxqt) |
15 |
|
|
BuildRequires: qt4-devel |
16 |
|
|
BuildRequires: pkgconfig(libfm) |
17 |
|
|
BuildRequires: pkgconfig(libmenu-cache) |
18 |
|
|
|
19 |
|
|
%description |
20 |
|
|
File manager for the LXQt desktop |
21 |
|
|
|
22 |
|
|
%package -n %{libname} |
23 |
|
|
Summary: PCManFM Qt backend library |
24 |
|
|
Group: System/Libraries |
25 |
|
|
|
26 |
|
|
%description -n %{libname} |
27 |
|
|
PCManFM Qt backend library |
28 |
|
|
|
29 |
|
|
%package -n %{devname} |
30 |
|
|
Summary: Development files for PCManFM |
31 |
|
|
Group: Development/C |
32 |
|
|
|
33 |
|
|
%description -n %{devname} |
34 |
|
|
Development files for PCManFM |
35 |
|
|
|
36 |
|
|
%prep |
37 |
|
|
%setup -q -c %{name}-%{version} |
38 |
|
|
%cmake |
39 |
|
|
|
40 |
|
|
%build |
41 |
|
|
%make -C build |
42 |
|
|
|
43 |
|
|
%install |
44 |
|
|
%makeinstall_std -C build |
45 |
|
|
|
46 |
|
|
%files |
47 |
|
|
%{_bindir}/pcmanfm-qt |
48 |
|
|
%{_datadir}/applications/*.desktop |
49 |
|
|
|
50 |
|
|
%files -n %{libname} |
51 |
|
|
%{_libdir}/libfm-qt.so.0.0.0 |
52 |
|
|
|
53 |
|
|
%files -n %{devname} |
54 |
|
|
%{_libdir}/libfm-qt.so |
55 |
|
|
%{_includedir}/libfm-qt |
56 |
|
|
%{_libdir}/pkgconfig/libfm-qt.pc |
57 |
|
|
|