From 1eeac0e968fb366be93db27880295da493fe968a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:04:09 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.3.1-1mamba;Mon Dec 25 2023] --- README.md | 2 ++ calcmysky.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 calcmysky.spec diff --git a/README.md b/README.md index e09dfa2..4e107af 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # calcmysky +Simulator of light scattering by planetary atmospheres. + diff --git a/calcmysky.spec b/calcmysky.spec new file mode 100644 index 0000000..8ccfa35 --- /dev/null +++ b/calcmysky.spec @@ -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 +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 0.3.1-1mamba +- package created using the webbuild interface