SHA256
1
0
forked from pool/siril
siril/siril.spec
Marcus Rueckert 743d8e90a2 - add buildrequires for some missing features
- video support: libavformat libavutil >= 55.20 libavcodec
    libswscale libswresample
  - websupport: libcurl
  - ffms2

OBS-URL: https://build.opensuse.org/package/show/graphics/siril?expand=0&rev=5
2019-10-19 23:25:28 +00:00

86 lines
3.0 KiB
RPMSpec

#
# 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.11
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: shared-mime-info
BuildRequires: pkgconfig(cfitsio)
BuildRequires: pkgconfig(ffms2)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(gsl)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil) >= 55.20
BuildRequires: pkgconfig(libconfig++) >= 1.4
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libraw)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libtiff-4)
%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
NOCONFIGURE=yes ./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.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
mv %{buildroot}%{_mandir}/man{g,1}
%files -f %{name}.lang
%doc ChangeLog NEWS README.md AUTHORS
%license LICENSE.md
%{_bindir}/siril
%{_mandir}/man1/siril.1%{?ext_man}
%{_datadir}/siril/
%{_datadir}/metainfo/org.free-astro.siril.appdata.xml
%{_datadir}/applications/org.free-astro.siril.desktop
%{_datadir}/pixmaps/siril.svg
%{_datadir}/mime/packages/siril.xml
%{_datadir}/icons/hicolor/*/apps/siril.png
%changelog