SHA256
1
0
forked from pool/marble
Raymond Wooninck 2015-12-15 18:53:13 +00:00 committed by Git OBS Bridge
parent e2dc5b859b
commit ee03a6071b

View File

@ -51,6 +51,7 @@ BuildRequires: kf5-filesystem
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kwallet-devel BuildRequires: kwallet-devel
BuildRequires: knewstuff-devel BuildRequires: knewstuff-devel
BuildRequires: kcrash-devel
BuildRequires: kparts-devel BuildRequires: kparts-devel
BuildRequires: kcoreaddons-devel BuildRequires: kcoreaddons-devel
BuildRequires: kdoctools-devel BuildRequires: kdoctools-devel
@ -155,6 +156,7 @@ cmake -DCMAKE_BUILD_TYPE=%{_kf5_build_type} \
-DECM_MKSPECS_INSTALL_DIR=%{_kf5_mkspecsdir} \ -DECM_MKSPECS_INSTALL_DIR=%{_kf5_mkspecsdir} \
-DBUILD_TESTING=OFF \ -DBUILD_TESTING=OFF \
-DBUILD_MARBLE_TESTS=NO \ -DBUILD_MARBLE_TESTS=NO \
-DMOBILE=FALSE \
-DWITH_KF5=TRUE \ -DWITH_KF5=TRUE \
.. ..
%make_jobs %make_jobs
@ -162,10 +164,8 @@ cmake -DCMAKE_BUILD_TYPE=%{_kf5_build_type} \
%install %install
%kf5_makeinstall -C build %kf5_makeinstall -C build
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
rm -rf %{buildroot}%{_kf5_applicationsdir}/marble-mobile.desktop
rm -rf %{buildroot}%{_kf5_applicationsdir}/marble-touch.desktop rm -rf %{buildroot}%{_kf5_applicationsdir}/marble-touch.desktop
rm -rf %{buildroot}/designer rm -rf %{buildroot}/designer
rm -rf %{buildroot}%{_kf5_bindir}/marble-mobile
rm -rf %{buildroot}%{_kf5_bindir}/marble-touch rm -rf %{buildroot}%{_kf5_bindir}/marble-touch
%fdupes -s %{buildroot} %fdupes -s %{buildroot}