package created using the webbuild interface [release 0.3.1-1mamba;Mon Dec 25 2023]
This commit is contained in:
parent
6a47b0a42c
commit
1eeac0e968
@ -1,2 +1,4 @@
|
||||
# calcmysky
|
||||
|
||||
Simulator of light scattering by planetary atmospheres.
|
||||
|
||||
|
84
calcmysky.spec
Normal file
84
calcmysky.spec
Normal file
@ -0,0 +1,84 @@
|
||||
Name: calcmysky
|
||||
Version: 0.3.1
|
||||
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}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%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 Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user