5 License: GPLv2 and LGPL-2.1+
7 Source0: http://downloads.lxqt.org/lximage-qt/%{version}/%{name}-%{version}.tar.xz
8 # Source0-md5: 5cee89e6076fc33975410ed309252a88
9 URL: http://www.lxqt.org/
10 BuildRequires: Qt5Core-devel
11 BuildRequires: Qt5Gui-devel
12 BuildRequires: Qt5Xml-devel
13 BuildRequires: cmake >= 2.8.3
14 BuildRequires: glib2-devel
15 BuildRequires: libexif-devel
16 BuildRequires: libfm-devel
17 BuildRequires: libfm-qt-devel
18 BuildRequires: xorg-lib-libXfixes-devel
19 BuildRequires: xz-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 -DPULL_TRANSLATIONS:BOOL=OFF \
38 rm -rf $RPM_BUILD_ROOT
40 %{__make} -C build install \
41 DESTDIR=$RPM_BUILD_ROOT
43 #%find_lang %{name} --with-qm
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %attr(755,root,root) %{_bindir}/lximage-qt
51 %{_desktopdir}/lximage-qt-screenshot.desktop
52 %{_desktopdir}/lximage-qt.desktop
53 %{_iconsdir}/hicolor/48x48/apps/lximage-qt.png
54 #%dir %{_datadir}/lximage-qt
55 #%dir %{_datadir}/lximage-qt/translations