siril/siril.spec

99 lines
3.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package siril
#
# Copyright (c) 2021 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: siril
Version: 0.99.10.1
Release: 0
Summary: An astronomical image processing software for Linux. (IRIS clone)
License: BSL-1.0 AND GPL-3.0-or-later
Group: Productivity/Scientific/Physics
URL: https://www.siril.org/
Source: https://gitlab.com/free-astro/siril/-/archive/%{version}/siril-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(ffms2)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gsl)
Accepting request 835776 from home:polslinux:branches:graphics - update to 0.99.4 * New UI with a single window * New demosaicing algorithms, RCD is now the default one * New algorithm to fix the AF square with XTRANS sensor * New support for FITS decompression and compression with Rice/Gzip and HCompress methods * New support for quantization and HCompress scale factor settings for FITS compression * New functions to extract Ha and Ha/OII from RGB images * New linear match function * New link command to create symbolic links * New convert command to convert all files (and link FITS) * New preference entries for FITS compression settings * New native image format: 32-bit floating point image * New native sequence format: FITS sequence in a single image * New UI for sequence image list * New zoom handing: ctrl+scroll (up and down) is the new way to zoom in and out * New preview in open dialog * New language selector in preferences * New image importer: HEIF format * New stacking filtering criterion (weighted FWHM). It can exclude more spurious images * New RL deconvolution tool * New keyword CTYPE3 for RGB FITS in order to be used by Aladin * New binary siril-cli to start siril without X server * New preference entries with darks/biases/flat libraries * New preliminary Meson support (Florian Benedetti) * New ROWORDER FITS keyword that should be used by several programm now * X(Y)BAYEROFF can now be configured in preferences * Parallelizing conversion and some other functions * CI file was totally rewritten (Florian Benedetti) * Config file was moved to more standard path * Optimization of several algorithms (Ingo Weyrich) * Background extraction is now available for sequence * Midtone Transfer Function is now available for sequence * Fixed code for Big Endian machine (Flössie) * Fixed bug in SER joining operation when Bayer information was lost * Fixed a bug of inaccessible directories in MacOS Catalina * Fixed crash on some OpenCV operation with monochrome images * Fixed annoying error boxes about missing disk drives on Windows OBS-URL: https://build.opensuse.org/request/show/835776 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=8
2020-09-29 19:12:53 +00:00
BuildRequires: pkgconfig(gtk+-3.0) >= 3.17.0
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil) >= 55.20
BuildRequires: pkgconfig(libconfig++) >= 1.4
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng16)
BuildRequires: pkgconfig(libraw)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(rtprocess)
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(wcslib)
%if 0%{?suse_version} < 1550
BuildRequires: pkgconfig(opencv)
%else
BuildRequires: pkgconfig(opencv4)
%endif
%description
Siril is meant to be Iris for Linux (sirI-L). It is an astronomical image
processing tool, able to convert, pre-process images, help aligning them
automatically or manually, stack them and enhance final images.
%prep
%setup -q
%build
# override build directory, the default "build" is a regular source directory
%define _vpath_builddir builddir
Accepting request 835776 from home:polslinux:branches:graphics - update to 0.99.4 * New UI with a single window * New demosaicing algorithms, RCD is now the default one * New algorithm to fix the AF square with XTRANS sensor * New support for FITS decompression and compression with Rice/Gzip and HCompress methods * New support for quantization and HCompress scale factor settings for FITS compression * New functions to extract Ha and Ha/OII from RGB images * New linear match function * New link command to create symbolic links * New convert command to convert all files (and link FITS) * New preference entries for FITS compression settings * New native image format: 32-bit floating point image * New native sequence format: FITS sequence in a single image * New UI for sequence image list * New zoom handing: ctrl+scroll (up and down) is the new way to zoom in and out * New preview in open dialog * New language selector in preferences * New image importer: HEIF format * New stacking filtering criterion (weighted FWHM). It can exclude more spurious images * New RL deconvolution tool * New keyword CTYPE3 for RGB FITS in order to be used by Aladin * New binary siril-cli to start siril without X server * New preference entries with darks/biases/flat libraries * New preliminary Meson support (Florian Benedetti) * New ROWORDER FITS keyword that should be used by several programm now * X(Y)BAYEROFF can now be configured in preferences * Parallelizing conversion and some other functions * CI file was totally rewritten (Florian Benedetti) * Config file was moved to more standard path * Optimization of several algorithms (Ingo Weyrich) * Background extraction is now available for sequence * Midtone Transfer Function is now available for sequence * Fixed code for Big Endian machine (Flössie) * Fixed bug in SER joining operation when Bayer information was lost * Fixed a bug of inaccessible directories in MacOS Catalina * Fixed crash on some OpenCV operation with monochrome images * Fixed annoying error boxes about missing disk drives on Windows OBS-URL: https://build.opensuse.org/request/show/835776 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=8
2020-09-29 19:12:53 +00:00
%meson \
-Drelocatable-bundle=no \
%{nil}
%meson_build
%install
Accepting request 835776 from home:polslinux:branches:graphics - update to 0.99.4 * New UI with a single window * New demosaicing algorithms, RCD is now the default one * New algorithm to fix the AF square with XTRANS sensor * New support for FITS decompression and compression with Rice/Gzip and HCompress methods * New support for quantization and HCompress scale factor settings for FITS compression * New functions to extract Ha and Ha/OII from RGB images * New linear match function * New link command to create symbolic links * New convert command to convert all files (and link FITS) * New preference entries for FITS compression settings * New native image format: 32-bit floating point image * New native sequence format: FITS sequence in a single image * New UI for sequence image list * New zoom handing: ctrl+scroll (up and down) is the new way to zoom in and out * New preview in open dialog * New language selector in preferences * New image importer: HEIF format * New stacking filtering criterion (weighted FWHM). It can exclude more spurious images * New RL deconvolution tool * New keyword CTYPE3 for RGB FITS in order to be used by Aladin * New binary siril-cli to start siril without X server * New preference entries with darks/biases/flat libraries * New preliminary Meson support (Florian Benedetti) * New ROWORDER FITS keyword that should be used by several programm now * X(Y)BAYEROFF can now be configured in preferences * Parallelizing conversion and some other functions * CI file was totally rewritten (Florian Benedetti) * Config file was moved to more standard path * Optimization of several algorithms (Ingo Weyrich) * Background extraction is now available for sequence * Midtone Transfer Function is now available for sequence * Fixed code for Big Endian machine (Flössie) * Fixed bug in SER joining operation when Bayer information was lost * Fixed a bug of inaccessible directories in MacOS Catalina * Fixed crash on some OpenCV operation with monochrome images * Fixed annoying error boxes about missing disk drives on Windows OBS-URL: https://build.opensuse.org/request/show/835776 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=8
2020-09-29 19:12:53 +00:00
%meson_install
rm %{buildroot}/%{_datadir}/doc/siril/*
%find_lang %{name}
install -m 0644 -D platform-specific/linux/org.free_astro.siril.desktop %{buildroot}%{_datadir}/applications/org.free_astro.siril.desktop
install -m 0644 -D platform-specific/linux/siril.xml %{buildroot}%{_datadir}/mime/packages/siril.xml
%fdupes %{buildroot}/%{_datadir}
%files -f %{name}.lang
%doc ChangeLog NEWS README.md AUTHORS
%license LICENSE.md LICENSE_sleef.txt
%{_bindir}/siril
Accepting request 835776 from home:polslinux:branches:graphics - update to 0.99.4 * New UI with a single window * New demosaicing algorithms, RCD is now the default one * New algorithm to fix the AF square with XTRANS sensor * New support for FITS decompression and compression with Rice/Gzip and HCompress methods * New support for quantization and HCompress scale factor settings for FITS compression * New functions to extract Ha and Ha/OII from RGB images * New linear match function * New link command to create symbolic links * New convert command to convert all files (and link FITS) * New preference entries for FITS compression settings * New native image format: 32-bit floating point image * New native sequence format: FITS sequence in a single image * New UI for sequence image list * New zoom handing: ctrl+scroll (up and down) is the new way to zoom in and out * New preview in open dialog * New language selector in preferences * New image importer: HEIF format * New stacking filtering criterion (weighted FWHM). It can exclude more spurious images * New RL deconvolution tool * New keyword CTYPE3 for RGB FITS in order to be used by Aladin * New binary siril-cli to start siril without X server * New preference entries with darks/biases/flat libraries * New preliminary Meson support (Florian Benedetti) * New ROWORDER FITS keyword that should be used by several programm now * X(Y)BAYEROFF can now be configured in preferences * Parallelizing conversion and some other functions * CI file was totally rewritten (Florian Benedetti) * Config file was moved to more standard path * Optimization of several algorithms (Ingo Weyrich) * Background extraction is now available for sequence * Midtone Transfer Function is now available for sequence * Fixed code for Big Endian machine (Flössie) * Fixed bug in SER joining operation when Bayer information was lost * Fixed a bug of inaccessible directories in MacOS Catalina * Fixed crash on some OpenCV operation with monochrome images * Fixed annoying error boxes about missing disk drives on Windows OBS-URL: https://build.opensuse.org/request/show/835776 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=8
2020-09-29 19:12:53 +00:00
%{_bindir}/siril-cli
%{_mandir}/man1/siril.1%{?ext_man}
Accepting request 835776 from home:polslinux:branches:graphics - update to 0.99.4 * New UI with a single window * New demosaicing algorithms, RCD is now the default one * New algorithm to fix the AF square with XTRANS sensor * New support for FITS decompression and compression with Rice/Gzip and HCompress methods * New support for quantization and HCompress scale factor settings for FITS compression * New functions to extract Ha and Ha/OII from RGB images * New linear match function * New link command to create symbolic links * New convert command to convert all files (and link FITS) * New preference entries for FITS compression settings * New native image format: 32-bit floating point image * New native sequence format: FITS sequence in a single image * New UI for sequence image list * New zoom handing: ctrl+scroll (up and down) is the new way to zoom in and out * New preview in open dialog * New language selector in preferences * New image importer: HEIF format * New stacking filtering criterion (weighted FWHM). It can exclude more spurious images * New RL deconvolution tool * New keyword CTYPE3 for RGB FITS in order to be used by Aladin * New binary siril-cli to start siril without X server * New preference entries with darks/biases/flat libraries * New preliminary Meson support (Florian Benedetti) * New ROWORDER FITS keyword that should be used by several programm now * X(Y)BAYEROFF can now be configured in preferences * Parallelizing conversion and some other functions * CI file was totally rewritten (Florian Benedetti) * Config file was moved to more standard path * Optimization of several algorithms (Ingo Weyrich) * Background extraction is now available for sequence * Midtone Transfer Function is now available for sequence * Fixed code for Big Endian machine (Flössie) * Fixed bug in SER joining operation when Bayer information was lost * Fixed a bug of inaccessible directories in MacOS Catalina * Fixed crash on some OpenCV operation with monochrome images * Fixed annoying error boxes about missing disk drives on Windows OBS-URL: https://build.opensuse.org/request/show/835776 OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=8
2020-09-29 19:12:53 +00:00
%{_mandir}/man1/siril-cli.1%{?ext_man}
%{_datadir}/siril/
%{_datadir}/metainfo/org.free_astro.siril.appdata.xml
%{_datadir}/applications/org.free_astro.siril.desktop
%{_datadir}/mime/packages/siril.xml
%{_datadir}/icons/hicolor/scalable/mimetypes/text-x-seq.svg
%{_datadir}/icons/hicolor/scalable/apps/org.free_astro.siril.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.free_astro.siril-symbolic.svg
%changelog