siril/siril.spec

78 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package siril
#
# Copyright (c) 2019 SUSE LINUX 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 https://bugs.opensuse.org/
#
Name: siril
Version: 0.9.10
Release: 0
Summary: An astronomical image processing software for Linux. (IRIS clone)
License: GPL-3.0-only
Group: Productivity/Scientific/Physics
URL: https://www.siril.org/
Source: https://gitlab.com/free-astro/siril/-/archive/%{version}/siril-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: libjpeg-devel
BuildRequires: opencv-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
BuildRequires: pkgconfig(libconfig++) >= 1.4
BuildRequires: pkgconfig(libraw)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: shared-mime-info
%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
#autoreconf --install
./autogen.sh
%configure
make %{?_smp_mflags}
%install
%make_install
rm %{buildroot}/%{_datadir}/doc/siril/*
%find_lang %{name}
install -m 0644 -D platform-specific/linux/org.free-astro.siril.appdata.xml %{buildroot}%{_datadir}/appdata/org.free-astro.siril.appdata.xml
install -m 0644 -D platform-specific/linux/org.free-astro.siril.desktop %{buildroot}%{_datadir}/applications/org.free-astro.siril.desktop
install -m 0644 -D pixmaps/siril.svg %{buildroot}%{_datadir}/pixmaps/siril.svg
install -m 0644 -D platform-specific/linux/siril.xml %{buildroot}%{_datadir}/mime/packages/siril.xml
%files -f %{name}.lang
%doc ChangeLog NEWS README.md AUTHORS
%license LICENSE.md
%{_bindir}/siril
%{_mandir}/man1/siril.1%{?ext_man}
%{_datadir}/siril/
%{_datadir}/appdata/org.free-astro.siril.appdata.xml
%{_datadir}/applications/org.free-astro.siril.desktop
%{_datadir}/pixmaps/siril.svg
%{_datadir}/mime/packages/siril.xml
%changelog