2014-11-05 14:54:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package lximage-qt
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: lximage-qt
|
2017-10-23 10:34:25 +00:00
|
|
|
Version: 0.6.0
|
2014-11-05 14:54:55 +00:00
|
|
|
Release: 0
|
2016-10-06 10:43:45 +00:00
|
|
|
Summary: LXQt Image Viewer
|
2014-11-05 14:54:55 +00:00
|
|
|
License: GPL-2.0+
|
2017-10-23 10:34:25 +00:00
|
|
|
Group: Productivity/Graphics/Viewers
|
2016-10-06 10:43:45 +00:00
|
|
|
Url: http://www.lxqt.org
|
2017-10-23 10:34:25 +00:00
|
|
|
Source: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/lxde/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
2016-10-06 10:43:45 +00:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: cmake >= 3.0.2
|
2014-11-05 14:54:55 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2017-10-23 10:34:25 +00:00
|
|
|
Buildrequires: lxqt-build-tools-devel >= 0.4.0
|
2016-10-06 10:43:45 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
2014-11-05 14:54:55 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
2016-10-06 10:43:45 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
2017-10-23 10:34:25 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Network)
|
2014-11-05 14:54:55 +00:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2016-10-06 10:43:45 +00:00
|
|
|
BuildRequires: pkgconfig(libfm-qt)
|
|
|
|
BuildRequires: pkgconfig(libmenu-cache)
|
|
|
|
BuildRequires: pkgconfig(lxqt)
|
2014-11-05 14:54:55 +00:00
|
|
|
BuildRequires: pkgconfig(xfixes)
|
2016-10-06 10:43:45 +00:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
Requires(post): desktop-file-utils
|
|
|
|
Requires(pre): desktop-file-utils
|
2014-11-05 14:54:55 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2017-10-23 10:34:25 +00:00
|
|
|
Image Viewer for LXQt and Thumbnail Generator for PCManFM-QT
|
2014-11-05 14:54:55 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-10-06 10:43:45 +00:00
|
|
|
%cmake \
|
|
|
|
-DUSE_QT5=ON \
|
|
|
|
-DPULL_TRANSLATIONS=OFF
|
|
|
|
make %{?_smp_mflags}
|
2014-11-05 14:54:55 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
2016-10-06 10:43:45 +00:00
|
|
|
|
|
|
|
%suse_update_desktop_file -r %{name} Graphics Viewer RasterGraphics 2DGraphics Photography
|
|
|
|
%suse_update_desktop_file -r %{name}-screenshot Utility DesktopUtility
|
|
|
|
|
|
|
|
%fdupes %{buildroot}%{_datadir}/%{name}
|
2014-11-05 14:54:55 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
%{_bindir}/%{name}
|
2016-10-06 10:43:45 +00:00
|
|
|
%{_datadir}/applications/%{name}*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
2014-11-05 14:54:55 +00:00
|
|
|
|
|
|
|
%changelog
|