calcmysky/calcmysky.spec

89 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: calcmysky
Version: 0.3.3
Release: 1mamba
Summary: Simulator of light scattering by planetary atmospheres
Group: Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/10110111/CalcMySky
Source: https://github.com/10110111/CalcMySky.git/v%{version}/CalcMySky-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Simulator of light scattering by planetary atmospheres.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
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 -n CalcMySky-%{version}
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/calcmysky
%{_bindir}/showmysky
%dir %{_datadir}/CalcMySky
%dir %{_datadir}/CalcMySky/shaders
%{_datadir}/CalcMySky/shaders/*
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libShowMySky-Qt5.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/ShowMySky
%{_includedir}/ShowMySky/*.hpp
%{_libdir}/libShowMySky-Qt5.so
%dir %{_libdir}/cmake/ShowMySky-Qt5
%{_libdir}/cmake/ShowMySky-Qt5/ShowMySky-*.cmake
%doc README.mdown
%changelog
* Mon Sep 09 2024 Automatic Build System <autodist@openmamba.org> 0.3.3-1mamba
- automatic version update by autodist
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 0.3.2-1mamba
- automatic version update by autodist
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
- package created using the webbuild interface