- Update to 0.6.0: * Add ImageShack upload provider. * Fix warnings issued by GCC and Clang. * Ensure file is closed when upload finishes. * Make image URL read-only. * Update copyright in initial file comment for new additions. * Make QNetworkAccessManager static and fix initialization order in UploadDialog. * Add support for uploading files (fixes #98). * Bump versions * Don't export github templates * Don't use hardcoded install dir * Update CMakeLists.txt * Fix regression in thumbnail view * Add Lithuanian .desktop files * liblxqt don't fit here * Copied issue-template * Drops Qt5Core_VERSION_STRING * set Qt::AA_UseHighDpiPixmaps to true * MainWindow: Fix crash for quick image changes * Use GNUInstallDirs * jobs: Do proper error handling * Adapt to changes in libfm-qt(the c++11 port) * Use the new lxqt-build-tools new FindExif CMake module * Simpler code for ScreenshotSelectAreaGraphicsView class. * Change Screenshot select area green color by actual hightlight color. Use lximage-qt private variables style. * Adapt to C++11 and RAM improvements. * Screenshot captures an area of the screen. * Use const iterators OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lximage-qt?expand=0&rev=5
80 lines
2.5 KiB
RPMSpec
80 lines
2.5 KiB
RPMSpec
#
|
|
# 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
|
|
Version: 0.6.0
|
|
Release: 0
|
|
Summary: LXQt Image Viewer
|
|
License: GPL-2.0+
|
|
Group: Productivity/Graphics/Viewers
|
|
Url: http://www.lxqt.org
|
|
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
|
|
Source2: %{name}.keyring
|
|
BuildRequires: cmake >= 3.0.2
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
Buildrequires: lxqt-build-tools-devel >= 0.4.0
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(libexif)
|
|
BuildRequires: pkgconfig(libfm-qt)
|
|
BuildRequires: pkgconfig(libmenu-cache)
|
|
BuildRequires: pkgconfig(lxqt)
|
|
BuildRequires: pkgconfig(xfixes)
|
|
Recommends: %{name}-lang
|
|
Requires(post): desktop-file-utils
|
|
Requires(pre): desktop-file-utils
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Image Viewer for LXQt and Thumbnail Generator for PCManFM-QT
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake \
|
|
-DUSE_QT5=ON \
|
|
-DPULL_TRANSLATIONS=OFF
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%suse_update_desktop_file -r %{name} Graphics Viewer RasterGraphics 2DGraphics Photography
|
|
%suse_update_desktop_file -r %{name}-screenshot Utility DesktopUtility
|
|
|
|
%fdupes %{buildroot}%{_datadir}/%{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}*.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.??g
|
|
|
|
%changelog
|