/[packages]/cauldron/pcmanfm-qt/current/SPECS/pcmanfm-qt.spec
ViewVC logotype

Diff of /cauldron/pcmanfm-qt/current/SPECS/pcmanfm-qt.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 995914 by doktor5000, Mon Mar 28 12:15:20 2016 UTC revision 995918 by doktor5000, Mon Mar 28 12:21:13 2016 UTC
# Line 1  Line 1 
1  %define rel 2  %define major 2
2    %define libname %mklibname fm-qt %major
3    %define devname %mklibname -d fm-qt
4    
5    %define rel 5
6    
7  Name: pcmanfm-qt  Name: pcmanfm-qt
8  Version: 0.10.0  Version: 0.10.0
9  Release: %mkrel %rel  Release: %mkrel %rel
10  Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz  Source0: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz
11    Patch0: pcmanfm-qt-0.10.0-grep-2.23.patch
12  Summary: File manager for the LXQt desktop  Summary: File manager for the LXQt desktop
13  URL: http://lxqt.org/  URL: http://lxqt.org/
14  License: GPLv2+  License: GPLv2+
# Line 21  BuildRequires: pkgconfig(Qt5Help) Line 26  BuildRequires: pkgconfig(Qt5Help)
26  BuildRequires: pkgconfig(Qt5Test)  BuildRequires: pkgconfig(Qt5Test)
27  BuildRequires: pkgconfig(Qt5DBus)  BuildRequires: pkgconfig(Qt5DBus)
28  BuildRequires: pkgconfig(Qt5X11Extras)  BuildRequires: pkgconfig(Qt5X11Extras)
 Patch0: pcmanfm-qt-0.10-mga-fix-desktop-files-with-grep-2.23.patch  
29  # recommended for kwin and kdesu for "run as root" functionality (mga#15088)  # recommended for kwin and kdesu for "run as root" functionality (mga#15088)
30  # changed to Recommends to allow parallel installation with plasma 5  # changed to Recommends to allow parallel installation with plasma 5
31  Recommends: kdebase4-runtime  Recommends: kdebase4-runtime
# Line 29  Recommends: kdebase4-runtime Line 33  Recommends: kdebase4-runtime
33  %description  %description
34  File manager for the LXQt desktop  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    Requires: %libname = %version
47    Provides: %name-devel = %version-%release
48    Provides: lib%name-devel = %version-%release
49    
50    %description -n %{devname}
51    Development files for PCManFM
52    
53  %prep  %prep
54  %setup -q %{name}-%{version}  %setup -q %{name}-%{version}
55  %autopatch -p1  %patch0 -p1
56    
57  # change desktop file name and comment to distinguish it from pcmanfm  # 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  sed -i 's/File Manager/QT File Manager/' pcmanfm/pcmanfm-qt.desktop.in
# Line 55  desktop-file-install --add-category="Sys Line 76  desktop-file-install --add-category="Sys
76  %doc %{_defaultdocdir}/%{name}  %doc %{_defaultdocdir}/%{name}
77  %{_bindir}/%{name}  %{_bindir}/%{name}
78  %{_datadir}/applications/*.desktop  %{_datadir}/applications/*.desktop
79    %{_datadir}/libfm-qt/translations
80  %{_datadir}/%{name}/translations  %{_datadir}/%{name}/translations
81  %_mandir/man1/pcmanfm-qt.1.*  %_mandir/man1/pcmanfm-qt.1.*
82    
83    %files -n %{libname}
84    %{_libdir}/libfm-qt5.so.%{major}{,.*}
85    
86    %files -n %{devname}
87    %{_libdir}/libfm-qt5.so
88    %{_libdir}/pkgconfig/libfm-qt5.pc
89    %{_includedir}/libfm-qt
90    
91    

Legend:
Removed from v.995914  
changed lines
  Added in v.995918

  ViewVC Help
Powered by ViewVC 1.1.30