Accepting request 624686 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Use %cmake macro. This fixes build for aarch64. - Make use of %license OBS-URL: https://build.opensuse.org/request/show/624686 OBS-URL: https://build.opensuse.org/package/show/games/MyGUI?expand=0&rev=19
This commit is contained in:
parent
6170cba802
commit
d9a7a9fa40
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 20 14:27:43 UTC 2018 - guillaume.gardet@opensuse.org
|
||||||
|
|
||||||
|
- Use %cmake macro. This fixes build for aarch64.
|
||||||
|
- Make use of %license
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 24 11:34:18 UTC 2018 - kasimir_@outlook.de
|
Wed Jan 24 11:34:18 UTC 2018 - kasimir_@outlook.de
|
||||||
|
|
||||||
|
53
MyGUI.spec
53
MyGUI.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package MyGUI
|
# spec file for package MyGUI
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
|
# Copyright (c) 2014 B1 Systems GmbH, Vohburg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -130,35 +130,27 @@ chmod 644 *.txt COPYING.MIT
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
install -dm 755 build
|
install -dm 755 build
|
||||||
pushd build
|
# this is probably an error in OGRE packaging... but let's just fix the build.
|
||||||
# this is probably an error in OGRE packaging... but let's just fix the build.
|
export OGRE_LIBRARIES="`pkg-config --libs OGRE` -lboost_system"
|
||||||
export OGRE_LIBRARIES="`pkg-config --libs OGRE` -lboost_system"
|
%cmake \
|
||||||
cmake \
|
-DCMAKE_BUILD_TYPE=release \
|
||||||
-DOGRE_LIBRARIES="$OGRE_LIBRARIES" \
|
-DOGRE_LIBRARIES="$OGRE_LIBRARIES" \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
-DMYGUI_STATIC=FALSE \
|
||||||
-DCMAKE_SKIP_RPATH=YES \
|
-DMYGUI_USE_FREETYPE=TRUE \
|
||||||
-DCMAKE_BUILD_TYPE=release \
|
-DMYGUI_BUILD_SAMPLES=TRUE \
|
||||||
%ifarch x86_64 aarch64 ppc64 ppc64le s390x
|
-DMYGUI_BUILD_PLUGINS=TRUE \
|
||||||
-DLIB_SUFFIX=64 \
|
-DMYGUI_BUILD_TOOLS=TRUE \
|
||||||
%endif
|
-DMYGUI_BUILD_WRAPPER=FALSE \
|
||||||
-DMYGUI_STATIC=FALSE \
|
-DMYGUI_INSTALL_SAMPLES=TRUE \
|
||||||
-DMYGUI_USE_FREETYPE=TRUE \
|
-DMYGUI_INSTALL_TOOLS=TRUE \
|
||||||
-DMYGUI_BUILD_SAMPLES=TRUE \
|
-DMYGUI_INSTALL_DOCS=TRUE \
|
||||||
-DMYGUI_BUILD_PLUGINS=TRUE \
|
-DMYGUI_INSTALL_MEDIA=TRUE \
|
||||||
-DMYGUI_BUILD_TOOLS=TRUE \
|
-DMYGUI_INSTALL_SAMPLES_SOURCE=TRUE \
|
||||||
-DMYGUI_BUILD_WRAPPER=FALSE \
|
-DMYGUI_FULL_RPATH=FALSE
|
||||||
-DMYGUI_INSTALL_SAMPLES=TRUE \
|
|
||||||
-DMYGUI_INSTALL_TOOLS=TRUE \
|
|
||||||
-DMYGUI_INSTALL_DOCS=TRUE \
|
|
||||||
-DMYGUI_INSTALL_MEDIA=TRUE \
|
|
||||||
-DMYGUI_INSTALL_SAMPLES_SOURCE=TRUE \
|
|
||||||
-DMYGUI_FULL_RPATH=FALSE \
|
|
||||||
..
|
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
popd
|
|
||||||
|
|
||||||
pushd Docs
|
pushd ../Docs
|
||||||
doxygen -s -g Doxyfile 2> /dev/null
|
doxygen -s -g Doxyfile 2> /dev/null
|
||||||
doxygen Doxyfile
|
doxygen Doxyfile
|
||||||
popd
|
popd
|
||||||
@ -262,7 +254,8 @@ rm Docs/html/installdox || true
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.txt COPYING.MIT
|
%doc *.txt
|
||||||
|
%license COPYING.MIT
|
||||||
%{_bindir}/%{name}.sh
|
%{_bindir}/%{name}.sh
|
||||||
%{_bindir}/FontEditor
|
%{_bindir}/FontEditor
|
||||||
%{_bindir}/ImageEditor
|
%{_bindir}/ImageEditor
|
||||||
@ -301,7 +294,7 @@ rm Docs/html/installdox || true
|
|||||||
%dir %{_includedir}/%{capname}
|
%dir %{_includedir}/%{capname}
|
||||||
%{_includedir}/%{capname}/*.h
|
%{_includedir}/%{capname}/*.h
|
||||||
%{_libdir}/libMyGUIEngine.so
|
%{_libdir}/libMyGUIEngine.so
|
||||||
%{_libdir}/libMyGUI.OgrePlatform.a
|
%{_libdir}/libMyGUI.OgrePlatform.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/Plugin_StrangeButton.so
|
%{_libdir}/Plugin_StrangeButton.so
|
||||||
%{_libdir}/libEditorFramework.so
|
%{_libdir}/libEditorFramework.so
|
||||||
|
Loading…
Reference in New Issue
Block a user