forked from pool/lximage-qt
Accepting request 258888 from X11:lxde
fixed license tag OBS-URL: https://build.opensuse.org/request/show/258888 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lximage-qt?expand=0&rev=1
This commit is contained in:
commit
e7e6c9ff13
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
20
lximage-qt-0.2.0-fix_desktop_file.patch
Normal file
20
lximage-qt-0.2.0-fix_desktop_file.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff -rupN lximage-qt-0.2.0.old/data/lximage-qt.desktop.in lximage-qt-0.2.0/data/lximage-qt.desktop.in
|
||||||
|
--- lximage-qt-0.2.0.old/data/lximage-qt.desktop.in 2014-05-09 11:06:31.000000000 -0700
|
||||||
|
+++ lximage-qt-0.2.0/data/lximage-qt.desktop.in 2014-05-09 13:44:06.020267702 -0700
|
||||||
|
@@ -7,5 +7,5 @@ Icon=lximage-qt
|
||||||
|
Exec=lximage-qt
|
||||||
|
StartupNotify=true
|
||||||
|
Terminal=false
|
||||||
|
-Categories=Graphics;Utility;Core;Qt;Viewer;RasterGraphics;2DGraphics;Photography;
|
||||||
|
+Categories=RasterGraphics;2DGraphics;Photography;
|
||||||
|
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-tga;image/x-portable-pixmap;image/x-portable-bitmap;image/x-targa;image/x-portable-greymap;application/pcx;image/svg+xml;image/svg-xml;
|
||||||
|
diff -rupN lximage-qt-0.2.0.old/data/lximage-qt-screenshot.desktop.in lximage-qt-0.2.0/data/lximage-qt-screenshot.desktop.in
|
||||||
|
--- lximage-qt-0.2.0.old/data/lximage-qt-screenshot.desktop.in 2014-05-09 11:06:31.000000000 -0700
|
||||||
|
+++ lximage-qt-0.2.0/data/lximage-qt-screenshot.desktop.in 2014-05-09 13:43:29.539621549 -0700
|
||||||
|
@@ -5,5 +5,5 @@ GenericName=Screenshot
|
||||||
|
Comment=Take a screenshot
|
||||||
|
Exec=lximage-qt --screenshot
|
||||||
|
Icon=camera-photo
|
||||||
|
-Categories=Graphics;Utility;Core;Qt;
|
||||||
|
+Categories=Graphics;Viewer;
|
||||||
|
StartupNotify=true
|
3
lximage-qt-0.3.0.tar.xz
Normal file
3
lximage-qt-0.3.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0a5a5114eb1014a4e24af17d4a5d77676bac6a5d25458082e8e2eb45c87f2984
|
||||||
|
size 41660
|
72
lximage-qt.changes
Normal file
72
lximage-qt.changes
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 29 21:57:44 UTC 2014 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- Fixed license tag according to legal team review
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 25 13:29:43 UTC 2014 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- new upstream version 0.3.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 08:54:11 UTC 2014 - andrea@opensuse.org
|
||||||
|
|
||||||
|
- spec file clean up
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 12 15:34:24 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Removed fedora spec, split into seperate subproject
|
||||||
|
Del: lximage-qt-Fedora_20.spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 10 18:42:07 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Ran spec-cleaner on openSUSE specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 23:48:09 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Added specfile for Fedora_20
|
||||||
|
Add: lximage-qt-Fedora_20.spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 20:45:14 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Reapplied desktop file patch
|
||||||
|
Add: 0001-fix_desktop_file.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 20:36:40 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Removed desktop file patch (upstream changes)
|
||||||
|
Del: 0001-lximage_qt_screenshot_desktop.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 20:29:46 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Added tarball for new stable release
|
||||||
|
Add: lximage-qt-0.2.0.tar.xz
|
||||||
|
Del: _service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 4 01:39:21 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Updated patch to correct both desktop files
|
||||||
|
Del: 0001-lximage_qt_screenshot_desktop.patch
|
||||||
|
Add: 0001-lximage_qt_desktop_files.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 4 01:31:06 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Added patch to correct screenshot desktop file Categories
|
||||||
|
Add: 0001-lximage_qt_screenshot_desktop.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 4 01:16:30 UTC 2014 - sfalken@opensuse.org
|
||||||
|
|
||||||
|
- Initial Source Upload
|
||||||
|
Add: _service
|
||||||
|
Add: lximage-qt.spec
|
||||||
|
Add: lximage-qt.changes
|
||||||
|
|
75
lximage-qt.spec
Normal file
75
lximage-qt.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# 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.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: LXQT Image Viewer
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/GUI/LXDE-Qt
|
||||||
|
Url: http://www.lxde.org
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
Patch0: %{name}-0.2.0-fix_desktop_file.patch
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||||
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||||
|
BuildRequires: libqt5-linguist-devel
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(libexif)
|
||||||
|
BuildRequires: pkgconfig(libfm) >= 1.2.0
|
||||||
|
BuildRequires: pkgconfig(libfm-qt5)
|
||||||
|
BuildRequires: pkgconfig(xfixes)
|
||||||
|
Requires(pre): desktop-file-utils
|
||||||
|
Requires(post): desktop-file-utils
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Image Viewer for LXQT and Thumbnail Generator for PCManFM-QT
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -DUSE_QT5=ON
|
||||||
|
%__make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
%fdupes %{buildroot}/%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user