Initial import (fedora#2053682).
This commit is contained in:
parent
55651116a9
commit
af19823cf7
|
@ -0,0 +1,2 @@
|
|||
/icons.tar.xz
|
||||
/stellarsolver-832bc60feb1fc8ffdf2780ccdd413c3baea648fb.tar.gz
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Version=1.4
|
||||
Type=Application
|
||||
Name=StellarSolver
|
||||
Exec=StellarSolverTester
|
||||
Icon=StellarSolverIcon
|
||||
Categories=Science;Astronomy
|
|
@ -0,0 +1,2 @@
|
|||
SHA512 (icons.tar.xz) = c9706169614239bea283ea8e1ebb6cd8f6ab737f7fe93cc9553a117f75adff5d06552432fbc2b8c957ca4df9837f996680cffeda2a4ec4e0753eb42ef13e9467
|
||||
SHA512 (stellarsolver-832bc60feb1fc8ffdf2780ccdd413c3baea648fb.tar.gz) = 2519b9f835dedc93f530f205845aadaa4d164b7566a6e74e3cf13aa550126831a91b9fe54091945357b1e8a049f5a2b59e92a77b19b09a3aa59124741ab95487
|
|
@ -0,0 +1,137 @@
|
|||
%global forgeurl https://github.com/rlancaste/stellarsolver/
|
||||
%global commit 832bc60feb1fc8ffdf2780ccdd413c3baea648fb
|
||||
%global major_soversion 1
|
||||
%global minor_soversion 9
|
||||
|
||||
%forgemeta
|
||||
|
||||
Name: stellarsolver
|
||||
Version: 1.9
|
||||
Release: 3%{?dist}
|
||||
Summary: The Cross Platform Sextractor and Internal Astrometric Solver
|
||||
|
||||
License: BSD and GPLv2+ and GPLv3+ and LGPLv2+ and LGPLv3+ and MIT
|
||||
# License breakdown
|
||||
#
|
||||
# Whole work according to LICENSE: GPLv3+
|
||||
#
|
||||
# Below: Files with explicitly different license
|
||||
#
|
||||
# BSD 3-clause:
|
||||
# stellarsolver/astrometry/* EXCEPT files mentioned below,
|
||||
# check stellarsolver/astrometry/LICENSE
|
||||
#
|
||||
# GPLv2+:
|
||||
# stellarsolver/*.{cpp,h}
|
||||
# stellarsolver/astrometry/include/astrometry/*qfits*.h
|
||||
# stellarsolver/astrometry/qfits-an/*
|
||||
# stellarsolver/astrometry/util/{bt.c,md5.c}
|
||||
# tester/{dms,mainwindow,nan,stretch}.*
|
||||
#
|
||||
# LGPLv2+:
|
||||
# tester/bayer.*
|
||||
#
|
||||
# LGPLv3+ and BSD and MIT:
|
||||
# stellarsolver/sep/*
|
||||
# check stellarsolver/sep/README.md for details
|
||||
#
|
||||
# MIT:
|
||||
# stellarsolver/astrometry/blind/windirent.h
|
||||
#
|
||||
URL: %{forgeurl}
|
||||
Source0: %{forgesource}
|
||||
# Upstream doesn't provide desktop file and icons
|
||||
# These will be proposed for inclusion to upstream
|
||||
Source1: icons.tar.xz
|
||||
Source2: com.github.rlancaste.stellarsolver.desktop
|
||||
|
||||
|
||||
# Buildtime tools
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
# Libraries
|
||||
BuildRequires: cfitsio-devel
|
||||
BuildRequires: gsl-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: wcslib-devel
|
||||
|
||||
# The source code bundles modified code from astrometry.net and SEP
|
||||
Provides: bundled(astrometry) = 0.89
|
||||
Provides: bundled(sep) = 1.2.0
|
||||
|
||||
# We split shared libs into subpackage, thus we should require its exact
|
||||
# version here
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
StellarSolver is the Cross Platform Sextractor and Internal Astrometric Solver:
|
||||
* An Astrometric Plate Solver for Mac, Linux, and Windows, built on
|
||||
Astrometry.net and SEP (sextractor)
|
||||
* Meant to be an internal library for use in a program like KStars for internal
|
||||
plate solving on all supported operating systems
|
||||
|
||||
%package libs
|
||||
Summary: Shared library of StellarSolver
|
||||
|
||||
%description libs
|
||||
Shared library of Stellarsolver, meant to be an internal library for use in
|
||||
a program like KStars for internal plate solving on all supported operating
|
||||
systems.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TESTER=ON
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
# Fedora provided desktop files and icons
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
||||
tar -xJvf %{SOURCE1} -C %{buildroot}%{_datadir}
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/StellarSolverTester
|
||||
%{_datadir}/applications/com.github.rlancaste.stellarsolver.desktop
|
||||
%{_datadir}/icons/*/*/StellarSolverIcon.png
|
||||
|
||||
%files libs
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/*.so.%{major_soversion}
|
||||
%{_libdir}/*.so.%{major_soversion}.%{minor_soversion}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/cmake/StellarSolver/
|
||||
%{_libdir}/pkgconfig/stellarsolver.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 21 2022 Mattia Verga <mattia.verga@protonmail.com> - 1.9-3.20220211git832bc60
|
||||
- Provide custom desktop file and icons
|
||||
|
||||
* Sat Feb 19 2022 Mattia Verga <mattia.verga@protonmail.com> - 1.9-2.20220211git832bc60
|
||||
- Fixed license
|
||||
|
||||
* Fri Feb 11 2022 Mattia Verga <mattia.verga@protonmail.com> - 1.9-1.20220211git832bc60
|
||||
- Update to 1.9
|
||||
|
||||
* Sat Mar 13 2021 Christian Dersch <lupinix@mailbox.org> - 1.6-0.1.20210313gitf3f1456
|
||||
- initial package
|
Loading…
Reference in New Issue