- Update to version 3.4.0: * Version 3.4.0 * Drop uninstaller link (#115) * Add dist/freedesktop/space.fips.Fips.metainfo.xml * Block installation on Windows earlier than 7 SP1 (#115) * Migrate installer to WiX (#115) * VS2019 compatibility * Add Fedora to README.md * Reimplement fit to window * Implement image panning via left-button dragging * Pass QEvent::MouseMove to OpenGLWidget * Move MouseMoveEventFilter out of global namespace * Drop Viewrect::setWidget() * Drop view rect from Viewrect * Drop view rect from OpenGLWidget * Drop view rect from OpenGLTransform * Introduce OpenGLTransform::setWidgetSize() * Reimplement ScrollArea using virtual position and size * Handle zoom in QOpenGLWidget * Handle image aspect ratio in OpenGLTransform * Add up-to-date compilers to .travis.yml * Do not show open file dialog when drop broken file on Dock * Check that at least one instance is started correctly * Add initial implementation for the playback single-shot mode * Initial playback interval control * Initial implementation for *OpenGL30ArrayPlan (OpenGL 3.0+) * Initial implementation for *OpenGLArrayPlan (OpenGL 2.1) * Add playback test data * Initial implementation for 3D FITS file reading * Add Playback to MainWindow OBS-URL: https://build.opensuse.org/request/show/799651 OBS-URL: https://build.opensuse.org/package/show/science/fips?expand=0&rev=7
77 lines
2.3 KiB
RPMSpec
77 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package fips
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fips
|
|
Version: 3.4.0
|
|
Release: 0
|
|
Summary: OpenGL-based FITS image viewer
|
|
License: LGPL-3.0-only
|
|
Group: Productivity/Scientific/Astronomy
|
|
URL: https://github.com/matwey/fips3
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: cmake >= 3.0
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libQt5Gui-devel
|
|
BuildRequires: libQt5Test-devel
|
|
BuildRequires: libQt5Widgets-devel
|
|
BuildRequires: make
|
|
BuildRequires: update-desktop-files
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
FIPS is a cross-platform FITS viewer with responsive user interface. Unlike
|
|
other FITS viewers FIPS uses GPU hardware via OpenGL to provide usual
|
|
functionality such as zooming, panning and level adjustments. OpenGL 2.1 and
|
|
later is supported.
|
|
|
|
FIPS supports all 2D image formats except of 64-bit floating point numbers
|
|
(BITPIX=-64). FITS image extension has basic limited support.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake
|
|
%make_jobs
|
|
|
|
%install
|
|
%cmake_install
|
|
%suse_update_desktop_file -i space.fips.Fips
|
|
|
|
%check
|
|
%ctest
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE.txt
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/space.fips.Fips.desktop
|
|
%{_datadir}/metainfo/space.fips.Fips.metainfo.xml
|
|
%dir %{_datadir}/icons/hicolor
|
|
%dir %{_datadir}/icons/hicolor/128x128
|
|
%dir %{_datadir}/icons/hicolor/128x128/apps
|
|
%{_datadir}/icons/hicolor/128x128/apps/space.fips.Fips.png
|
|
%dir %{_datadir}/icons/hicolor/256x256
|
|
%dir %{_datadir}/icons/hicolor/256x256/apps
|
|
%{_datadir}/icons/hicolor/256x256/apps/space.fips.Fips.png
|
|
%dir %{_datadir}/icons/hicolor/scalable
|
|
%dir %{_datadir}/icons/hicolor/scalable/apps
|
|
%{_datadir}/icons/hicolor/scalable/apps/space.fips.Fips.svg
|
|
|
|
%changelog
|