stellarsolver/stellarsolver.spec

81 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: stellarsolver
Version: 2.5
Release: 1mamba
Summary: SEP-based Star Extractor and Astrometry.net-Based Internal Astrometric Solver
Group: Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rlancaste/stellarsolver
Source: https://github.com/rlancaste/stellarsolver.git/%{version}/stellarsolver-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcfitsio-devel
BuildRequires: libgcc
BuildRequires: libgsl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwcs-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
SEP-based Star Extractor and Astrometry.net-Based Internal Astrometric Solver.
%package -n lib%{name}
Group: System/Libraries
Summary: SEP-based Star Extractor and Astrometry.net-Based Internal Astrometric Solver.
%description -n lib%{name}
SEP-based Star Extractor and Astrometry.net-Based Internal Astrometric Solver.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libstellarsolver.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/libstellarsolver
%{_includedir}/libstellarsolver/*
%{_libdir}/libstellarsolver.so
%dir %{_libdir}/cmake/StellarSolver
%{_libdir}/cmake/StellarSolver/StellarSolver*.cmake
%{_libdir}/pkgconfig/stellarsolver.pc
%doc README.md
%changelog
* Sun Apr 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5-1mamba
- package created using the webbuild interface