/[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 789995 by umeabot, Tue Oct 14 22:16:50 2014 UTC revision 789996 by doktor5000, Sat Oct 18 23:24:58 2014 UTC
# Line 1  Line 1 
1  %define libname %mklibname fm-qt 0.0.0  %define major 1
2    %define libname %mklibname fm-qt %major
3  %define devname %mklibname -d fm-qt  %define devname %mklibname -d fm-qt
4  %define qt5 0  %define qt5 1
5    
6  Name: pcmanfm-qt  Name: pcmanfm-qt
7  Version: 0.7.0  Version: 0.8.0
8  Release: %mkrel 3  Release: %mkrel 1
9  Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz  Source0: http://lxqt.org/downloads/lxqt/%{version}/%{name}-%{version}.tar.xz
10  Summary: File manager for the LXQt desktop  Summary: File manager for the LXQt desktop
11  URL: http://lxqt.org/  URL: http://lxqt.org/
# Line 12  License: GPL Line 13  License: GPL
13  Group: Graphical desktop/KDE  Group: Graphical desktop/KDE
14  BuildRequires: cmake  BuildRequires: cmake
15  BuildRequires: doxygen  BuildRequires: doxygen
 BuildRequires: pkgconfig(lxqt)  
 BuildRequires: qt4-devel  
16  BuildRequires: pkgconfig(libfm) >= 1.2.0  BuildRequires: pkgconfig(libfm) >= 1.2.0
17  BuildRequires: pkgconfig(libmenu-cache)  BuildRequires: pkgconfig(libmenu-cache)
18  BuildRequires: pkgconfig(glib-2.0)  BuildRequires: pkgconfig(glib-2.0)
19  BuildRequires: pkgconfig(gio-unix-2.0)  BuildRequires: pkgconfig(gio-unix-2.0)
20  %if "%{qt5}" == "1"  %if "%{qt5}" == "1"
21    BuildRequires: pkgconfig(lxqt-qt5)
22  BuildRequires: pkgconfig(Qt5Widgets)  BuildRequires: pkgconfig(Qt5Widgets)
23  BuildRequires: pkgconfig(Qt5Xml)  BuildRequires: pkgconfig(Qt5Xml)
24  BuildRequires: pkgconfig(Qt5Help)  BuildRequires: pkgconfig(Qt5Help)
25  BuildRequires: pkgconfig(Qt5Test)  BuildRequires: pkgconfig(Qt5Test)
26  BuildRequires: pkgconfig(Qt5DBus)  BuildRequires: pkgconfig(Qt5DBus)
27  BuildRequires: pkgconfig(Qt5X11Extras)  BuildRequires: pkgconfig(Qt5X11Extras)
28    %else
29    BuildRequires: pkgconfig(lxqt)
30    BuildRequires: qt4-devel
31  %endif  %endif
32    
33  %description  %description
# Line 48  Provides: lib%name-devel = %version-%rel Line 51  Provides: lib%name-devel = %version-%rel
51  Development files for PCManFM  Development files for PCManFM
52    
53  %prep  %prep
54  %setup -q -c %{name}-%{version}  %setup -q %{name}-%{version}
55  %if "%{qt5}" == "1"  %if "%{qt5}" == "1"
56  %cmake -DBUILD_DOCUMENTATION=ON -DUSE_QT5=on  %cmake -DBUILD_DOCUMENTATION=ON -DUSE_QT5=on
57  %else  %else
# Line 68  desktop-file-install --add-category="Sys Line 71  desktop-file-install --add-category="Sys
71  %doc %{_defaultdocdir}/%{name}  %doc %{_defaultdocdir}/%{name}
72  %{_bindir}/%{name}  %{_bindir}/%{name}
73  %{_datadir}/applications/*.desktop  %{_datadir}/applications/*.desktop
74    %{_datadir}/libfm-qt/translations
75    %{_datadir}/%{name}/translations
76    %_mandir/man1/pcmanfm-qt.1.*
77    
78    
79  %files -n %{libname}  %files -n %{libname}
80  %{_libdir}/libfm-qt.so.0.0.0  %if "%{qt5}" == "1"
81    %{_libdir}/libfm-qt5.so.%{major}*
82    %else
83    %{_libdir}/libfm-qt.so.%{major}*
84    %endif
85    
86  %files -n %{devname}  %files -n %{devname}
87    %if "%{qt5}" == "1"
88    %{_libdir}/libfm-qt5.so
89    %{_libdir}/pkgconfig/libfm-qt5.pc
90    %else
91  %{_libdir}/libfm-qt.so  %{_libdir}/libfm-qt.so
 %{_includedir}/libfm-qt  
92  %{_libdir}/pkgconfig/libfm-qt.pc  %{_libdir}/pkgconfig/libfm-qt.pc
93    %endif
94    %{_includedir}/libfm-qt
95    
96    

Legend:
Removed from v.789995  
changed lines
  Added in v.789996

  ViewVC Help
Powered by ViewVC 1.1.28