1 |
%define major 2 |
%define rel 2 |
|
%define libname %mklibname fm-qt %major |
|
|
%define devname %mklibname -d fm-qt |
|
|
|
|
|
%define rel 5 |
|
2 |
|
|
3 |
Name: pcmanfm-qt |
Name: pcmanfm-qt |
4 |
Version: 0.10.0 |
Version: 0.10.0 |
5 |
Release: %mkrel %rel |
Release: %mkrel %rel |
6 |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz |
|
Patch0: pcmanfm-qt-0.10.0-grep-2.23.patch |
|
7 |
Summary: File manager for the LXQt desktop |
Summary: File manager for the LXQt desktop |
8 |
URL: http://lxqt.org/ |
URL: http://lxqt.org/ |
9 |
License: GPLv2+ |
License: GPLv2+ |
21 |
BuildRequires: pkgconfig(Qt5Test) |
BuildRequires: pkgconfig(Qt5Test) |
22 |
BuildRequires: pkgconfig(Qt5DBus) |
BuildRequires: pkgconfig(Qt5DBus) |
23 |
BuildRequires: pkgconfig(Qt5X11Extras) |
BuildRequires: pkgconfig(Qt5X11Extras) |
24 |
|
Patch0: pcmanfm-qt-0.10-mga-fix-desktop-files-with-grep-2.23.patch |
25 |
# recommended for kwin and kdesu for "run as root" functionality (mga#15088) |
# recommended for kwin and kdesu for "run as root" functionality (mga#15088) |
26 |
# changed to Recommends to allow parallel installation with plasma 5 |
# changed to Recommends to allow parallel installation with plasma 5 |
27 |
Recommends: kdebase4-runtime |
Recommends: kdebase4-runtime |
29 |
%description |
%description |
30 |
File manager for the LXQt desktop |
File manager for the LXQt desktop |
31 |
|
|
|
%package -n %{libname} |
|
|
Summary: PCManFM Qt backend library |
|
|
Group: System/Libraries |
|
|
|
|
|
%description -n %{libname} |
|
|
PCManFM Qt backend library |
|
|
|
|
|
%package -n %{devname} |
|
|
Summary: Development files for PCManFM |
|
|
Group: Development/C |
|
|
Requires: %libname = %version |
|
|
Provides: %name-devel = %version-%release |
|
|
Provides: lib%name-devel = %version-%release |
|
|
|
|
|
%description -n %{devname} |
|
|
Development files for PCManFM |
|
|
|
|
32 |
%prep |
%prep |
33 |
%setup -q %{name}-%{version} |
%setup -q %{name}-%{version} |
34 |
%patch0 -p1 |
%autopatch -p1 |
35 |
|
|
36 |
# change desktop file name and comment to distinguish it from pcmanfm |
# change desktop file name and comment to distinguish it from pcmanfm |
37 |
sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in |
sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in |
55 |
%doc %{_defaultdocdir}/%{name} |
%doc %{_defaultdocdir}/%{name} |
56 |
%{_bindir}/%{name} |
%{_bindir}/%{name} |
57 |
%{_datadir}/applications/*.desktop |
%{_datadir}/applications/*.desktop |
|
%{_datadir}/libfm-qt/translations |
|
58 |
%{_datadir}/%{name}/translations |
%{_datadir}/%{name}/translations |
59 |
%_mandir/man1/pcmanfm-qt.1.* |
%_mandir/man1/pcmanfm-qt.1.* |
60 |
|
|
|
%files -n %{libname} |
|
|
%{_libdir}/libfm-qt5.so.%{major}{,.*} |
|
|
|
|
|
%files -n %{devname} |
|
|
%{_libdir}/libfm-qt5.so |
|
|
%{_libdir}/pkgconfig/libfm-qt5.pc |
|
|
%{_includedir}/libfm-qt |
|
|
|
|
|
|
|