diff --git a/README.md b/README.md index c4b306a..0eb5119 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # stellarsolver +SEP-based Star Extractor and Astrometry.net-Based Internal Astrometric Solver. + diff --git a/stellarsolver.spec b/stellarsolver.spec new file mode 100644 index 0000000..ebe9760 --- /dev/null +++ b/stellarsolver.spec @@ -0,0 +1,80 @@ +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 +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 2.5-1mamba +- package created using the webbuild interface