Mageia Bugzilla – Attachment 13966 Details for
Bug 32208
Update request Stellarium to 23.3 version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Calcmysky spec file
calcmysky.spec (text/x-rpm-spec), 2.71 KB, created by
Jose Manuel López
on 2023-09-02 19:49:19 CEST
(
hide
)
Description:
Calcmysky spec file
Filename:
MIME Type:
Creator:
Jose Manuel López
Created:
2023-09-02 19:49:19 CEST
Size:
2.71 KB
patch
obsolete
>%define major 15 >%define libname %mklibname showmysky-qt6_ %{major} >%define develname %mklibname showmysky-qt6 -d >%define fname CalcMySky > >Name: calcmysky >Version: 0.3.1 >Release: %mkrel 1 >Summary: Simulator of light scattering by planetary atmospheres >Group: Sciences/Astronomy >License: GPLv3 >URL: https://github.com/10110111/CalcMySky >Source0: https://github.com/10110111/%{fname}/archive/v%{version}/%{fname}-%{version}.tar.gz > >BuildRequires: gcc-c++ >BuildRequires: cmake >BuildRequires: cmake(Qt6Core) >BuildRequires: cmake(Qt6Gui) >BuildRequires: cmake(Qt6OpenGL) >BuildRequires: cmake(Qt6OpenGLWidgets) >BuildRequires: cmake(Qt6Widgets) >BuildRequires: pkgconfig(eigen3) >BuildRequires: pkgconfig(glm) >BuildRequires: pkgconfig(xkbcommon) > >%description >CalcMySky is a software package that simulates scattering of light by >the atmosphere to render daytime and twilight skies (without >stars). Its primary purpose is to enable realistic view of the sky in >applications such as planetaria. Secondary objective is to make it >possible to explore atmospheric effects such as glories, fogbows etc., >as well as simulate unusual environments such as on Mars or an >exoplanet orbiting a star with a non-solar spectrum of radiation. > >%package -n %{libname} >Summary: Library for simulator of light scattering by planetary atmospheres >Group: System/Libraries ># Library was renamed >Obsoletes: %{_lib}calcmysky14 < 0.2.1-2 > >%description -n %{libname} >CalcMySky is a software package that simulates scattering of light by >the atmosphere to render daytime and twilight skies (without >stars). > >This package contains the libraries needed to CalcMySky. > >%package -n %{develname} >Summary: Development files for CalcMySky >Group: Development/KDE and Qt >Requires: %{libname} = %{version} >Provides: %{name}-devel = %{version}-%{release} >Provides: %{name}-qt6-devel = %{version}-%{release} >Provides: showmysky-devel = %{version}-%{release} >Provides: showmysky-qt6-devel = %{version}-%{release} > >Obsoletes: %{_lib}calcmysky-devel < 0.2.1-2 > >%description -n %{develname} >This package contains header files needed when building applications >based on %{name}. > >%prep >%setup -q -n %{fname}-%{version} >%autopatch -p1 > >%build >%cmake \ > -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=yes \ > -DCMAKE_CXX_FLAGS:STRING="%{build_cflags} -fPIC" \ > -DCMAKE_C_FLAGS:STRING="%{build_cxxflags} -fPIC" \ > -DQT_VERSION=6 >%cmake_build > >%install >%cmake_install > >%ifnarch %{ix86} >%check >%ctest >%endif > >%files >%doc README.mdown doc/ >%license COPYING >%{_bindir}/calcmysky >%{_bindir}/showmysky >%{_datadir}/CalcMySky/ > >%files -n %{libname} >%doc README.mdown >%license COPYING >%{_libdir}/libShowMySky-Qt6.so.%{major}{,.*} > >%files -n %{develname} >%{_includedir}/ShowMySky/ >%{_libdir}/cmake/ShowMySky-Qt6/ >%{_libdir}/libShowMySky-Qt6.so
%define major 15 %define libname %mklibname showmysky-qt6_ %{major} %define develname %mklibname showmysky-qt6 -d %define fname CalcMySky Name: calcmysky Version: 0.3.1 Release: %mkrel 1 Summary: Simulator of light scattering by planetary atmospheres Group: Sciences/Astronomy License: GPLv3 URL: https://github.com/10110111/CalcMySky Source0: https://github.com/10110111/%{fname}/archive/v%{version}/%{fname}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6OpenGL) BuildRequires: cmake(Qt6OpenGLWidgets) BuildRequires: cmake(Qt6Widgets) BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(glm) BuildRequires: pkgconfig(xkbcommon) %description CalcMySky is a software package that simulates scattering of light by the atmosphere to render daytime and twilight skies (without stars). Its primary purpose is to enable realistic view of the sky in applications such as planetaria. Secondary objective is to make it possible to explore atmospheric effects such as glories, fogbows etc., as well as simulate unusual environments such as on Mars or an exoplanet orbiting a star with a non-solar spectrum of radiation. %package -n %{libname} Summary: Library for simulator of light scattering by planetary atmospheres Group: System/Libraries # Library was renamed Obsoletes: %{_lib}calcmysky14 < 0.2.1-2 %description -n %{libname} CalcMySky is a software package that simulates scattering of light by the atmosphere to render daytime and twilight skies (without stars). This package contains the libraries needed to CalcMySky. %package -n %{develname} Summary: Development files for CalcMySky Group: Development/KDE and Qt Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} Provides: %{name}-qt6-devel = %{version}-%{release} Provides: showmysky-devel = %{version}-%{release} Provides: showmysky-qt6-devel = %{version}-%{release} Obsoletes: %{_lib}calcmysky-devel < 0.2.1-2 %description -n %{develname} This package contains header files needed when building applications based on %{name}. %prep %setup -q -n %{fname}-%{version} %autopatch -p1 %build %cmake \ -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=yes \ -DCMAKE_CXX_FLAGS:STRING="%{build_cflags} -fPIC" \ -DCMAKE_C_FLAGS:STRING="%{build_cxxflags} -fPIC" \ -DQT_VERSION=6 %cmake_build %install %cmake_install %ifnarch %{ix86} %check %ctest %endif %files %doc README.mdown doc/ %license COPYING %{_bindir}/calcmysky %{_bindir}/showmysky %{_datadir}/CalcMySky/ %files -n %{libname} %doc README.mdown %license COPYING %{_libdir}/libShowMySky-Qt6.so.%{major}{,.*} %files -n %{develname} %{_includedir}/ShowMySky/ %{_libdir}/cmake/ShowMySky-Qt6/ %{_libdir}/libShowMySky-Qt6.so
View Attachment As Raw
Actions:
View
Attachments on
bug 32208
:
13957
|
13958
|
13959
| 13966 |
13968
|
14009