2019-03-18 14:48:38 +00:00
|
|
|
#
|
|
|
|
# spec file for package siril
|
|
|
|
#
|
2021-02-18 10:15:39 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2019-03-18 14:48:38 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-03-18 16:22:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-03-18 14:48:38 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: siril
|
2021-07-21 11:57:40 +00:00
|
|
|
Version: 0.99.10.1
|
2019-03-18 14:48:38 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: An astronomical image processing software for Linux. (IRIS clone)
|
2021-11-12 06:41:10 +00:00
|
|
|
License: BSL-1.0 AND GPL-3.0-or-later
|
2019-03-18 14:48:38 +00:00
|
|
|
Group: Productivity/Scientific/Physics
|
|
|
|
URL: https://www.siril.org/
|
|
|
|
Source: https://gitlab.com/free-astro/siril/-/archive/%{version}/siril-%{version}.tar.bz2
|
2021-11-10 19:40:53 +00:00
|
|
|
BuildRequires: fdupes
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: gcc-c++
|
2020-09-30 14:46:38 +00:00
|
|
|
BuildRequires: meson
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(cfitsio)
|
2020-09-30 14:46:38 +00:00
|
|
|
BuildRequires: pkgconfig(exiv2)
|
2019-10-19 23:25:28 +00:00
|
|
|
BuildRequires: pkgconfig(ffms2)
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: pkgconfig(fftw3)
|
|
|
|
BuildRequires: pkgconfig(gsl)
|
2020-09-29 19:12:53 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.17.0
|
2021-02-18 10:15:39 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2019-10-19 23:25:28 +00:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil) >= 55.20
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: pkgconfig(libconfig++) >= 1.4
|
2019-10-19 23:25:28 +00:00
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2020-09-30 14:46:38 +00:00
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
BuildRequires: pkgconfig(libpng16)
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: pkgconfig(libraw)
|
2019-10-19 23:25:28 +00:00
|
|
|
BuildRequires: pkgconfig(libswresample)
|
|
|
|
BuildRequires: pkgconfig(libswscale)
|
2019-03-18 14:48:38 +00:00
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
2021-11-12 06:41:10 +00:00
|
|
|
BuildRequires: pkgconfig(rtprocess)
|
|
|
|
BuildRequires: pkgconfig(shared-mime-info)
|
|
|
|
BuildRequires: pkgconfig(wcslib)
|
2021-11-10 19:40:53 +00:00
|
|
|
%if 0%{?suse_version} < 1550
|
2021-02-18 10:15:39 +00:00
|
|
|
BuildRequires: pkgconfig(opencv)
|
2021-11-10 19:40:53 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig(opencv4)
|
|
|
|
%endif
|
2019-03-18 14:48:38 +00:00
|
|
|
|
|
|
|
%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
|
2020-09-30 14:46:38 +00:00
|
|
|
# override build directory, the default "build" is a regular source directory
|
|
|
|
%define _vpath_builddir builddir
|
2020-09-29 19:12:53 +00:00
|
|
|
%meson \
|
|
|
|
-Drelocatable-bundle=no \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2019-03-18 14:48:38 +00:00
|
|
|
|
|
|
|
%install
|
2020-09-29 19:12:53 +00:00
|
|
|
%meson_install
|
2019-03-18 14:48:38 +00:00
|
|
|
rm %{buildroot}/%{_datadir}/doc/siril/*
|
|
|
|
%find_lang %{name}
|
2020-03-23 00:17:16 +00:00
|
|
|
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
|
|
|
|
|
2021-11-10 19:40:53 +00:00
|
|
|
%fdupes %{buildroot}/%{_datadir}
|
|
|
|
|
2019-03-18 14:48:38 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc ChangeLog NEWS README.md AUTHORS
|
2021-11-12 06:41:10 +00:00
|
|
|
%license LICENSE.md LICENSE_sleef.txt
|
2019-03-18 14:48:38 +00:00
|
|
|
%{_bindir}/siril
|
2020-09-29 19:12:53 +00:00
|
|
|
%{_bindir}/siril-cli
|
2019-03-18 14:48:38 +00:00
|
|
|
%{_mandir}/man1/siril.1%{?ext_man}
|
2020-09-29 19:12:53 +00:00
|
|
|
%{_mandir}/man1/siril-cli.1%{?ext_man}
|
2021-02-18 10:15:39 +00:00
|
|
|
%{_datadir}/siril/
|
2020-03-23 00:17:16 +00:00
|
|
|
%{_datadir}/metainfo/org.free_astro.siril.appdata.xml
|
|
|
|
%{_datadir}/applications/org.free_astro.siril.desktop
|
2019-03-18 16:39:29 +00:00
|
|
|
%{_datadir}/mime/packages/siril.xml
|
2020-03-23 00:17:16 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/text-x-seq.svg
|
2021-02-18 10:15:39 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.free_astro.siril.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.free_astro.siril-symbolic.svg
|
2019-03-18 14:48:38 +00:00
|
|
|
|
|
|
|
%changelog
|