diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c2b20d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fips-3.3.0.tar.gz diff --git a/fips.spec b/fips.spec new file mode 100644 index 0000000..b57b19a --- /dev/null +++ b/fips.spec @@ -0,0 +1,47 @@ +Name: fips +Version: 3.3.0 +Release: 1%{?dist} +Summary: OpenGL-based FITS image viewer +License: LGPLv3+ +Url: https://github.com/matwey/fips3 +Source: https://github.com/matwey/fips3/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: cmake >= 3.0 +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: qt5-devel >= 5.6 +Requires: hicolor-icon-theme + +%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 -n fips3-%{version} + +%build +%cmake . +%make_build + +%install +%make_install +desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications ./space.fips.Fips.desktop + +%check +ctest -V %{?_smp_mflags} + +%files +%license LICENSE.txt +%doc README.md +%{_bindir}/%{name} +%{_datadir}/applications/space.fips.Fips.desktop +%{_datadir}/icons/hicolor/*/apps/space.fips.Fips.* + +%changelog +* Thu Sep 6 2018 Matwey V. Kornilov - 3.3.0-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..0bf633a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fips-3.3.0.tar.gz) = 91026827bffa732cba98eef271d33770bc1182c620000c8e779d6b6a77db7e2ab427817c7c526211e2808f3d98368a195be0831f6f3b40adf361fce8428ee7f4