Update to 2.3 (fedora#2089044)

- Enable batch solver build
This commit is contained in:
Mattia Verga 2022-05-24 11:21:39 +02:00
parent 14235f9c7a
commit 9f72e15087
3 changed files with 16 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/icons.tar.xz
/stellarsolver-832bc60feb1fc8ffdf2780ccdd413c3baea648fb.tar.gz
/stellarsolver-2.2.tar.gz
/stellarsolver-2.3.tar.gz

View File

@ -1 +1 @@
SHA512 (stellarsolver-2.2.tar.gz) = 0b200437130ea8131ade9219e1055ea4265925168cbfb5a7bdcf3836e267a1b670df43f20d4657ef64dea2c1ef2314cfc0bcb8503eb4ead3f0cc3fae3267f7bc
SHA512 (stellarsolver-2.3.tar.gz) = f55454d9cdb85282590ffe5ed8fccd028973f41355bac3dfd668e2ad589061e54d3b17363d34434619d6a5d8055829fad10f9486040f9cc7ff05423f85a01075

View File

@ -1,8 +1,8 @@
%global major_soversion 2
%global minor_soversion 2
%global minor_soversion 3
Name: stellarsolver
Version: 2.2
Version: 2.3
Release: %autorelease
Summary: The Cross Platform Sextractor and Internal Astrometric Solver
License: BSD and GPLv2+ and GPLv3+ and LGPLv2+ and LGPLv3+ and MIT
@ -83,26 +83,37 @@ developing applications that use %{name}.
%prep
%forgesetup
# Minor fix for the desktop file - reported upstream
sed -i s/Version=2.2/Version=1.4/g ./stellarbatchsolver/com.github.rlancaste.stellarbatchsolver.desktop
%build
%cmake -DBUILD_TESTER=ON
%cmake -DBUILD_TESTER=ON \
-DBUILD_BATCH_SOLVER=ON
%cmake_build
%install
%cmake_install
# Remove unwanted files copied into icons directory
find %{buildroot}%{_datadir} -name ".DS_Store" -exec rm -rf {} \;
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.rlancaste.%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.rlancaste.stellarbatchsolver.desktop
%files
%license LICENSE
%doc README.md
%{_bindir}/StellarSolverTester
%{_bindir}/StellarBatchSolver
%{_datadir}/applications/com.github.rlancaste.stellarsolver.desktop
%{_datadir}/applications/com.github.rlancaste.stellarbatchsolver.desktop
%{_datadir}/icons/*/*/*/StellarSolverIcon.png
%{_datadir}/icons/*/*/*/StellarBatchSolverIcon.png
%files libs
%license LICENSE