From ceaa160a8cef8dab9d47cfc9bc01688f15a94f15 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 17 Jul 2017 10:49:55 +0000 Subject: [PATCH] Accepting request 510480 from home:Mailaender:branches:games add license from manual as requested from legal review OBS-URL: https://build.opensuse.org/request/show/510480 OBS-URL: https://build.opensuse.org/package/show/games/angelscript?expand=0&rev=9 --- angelscript.changes | 5 +++++ angelscript.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/angelscript.changes b/angelscript.changes index af041e4..b3a0bdd 100644 --- a/angelscript.changes +++ b/angelscript.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 15 08:21:51 UTC 2017 - mailaender@opensuse.org + +- Add documentation (including license) + ------------------------------------------------------------------- Tue Jun 13 14:30:46 UTC 2017 - jengelh@inai.de diff --git a/angelscript.spec b/angelscript.spec index 3274fe2..74404b7 100644 --- a/angelscript.spec +++ b/angelscript.spec @@ -25,6 +25,7 @@ License: Zlib Group: Development/Libraries/C and C++ Url: http://www.angelcode.com/angelscript/ Source: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -70,11 +71,16 @@ export CXXFLAGS="%{optflags}" make %{?_smp_mflags} shared %install -make install_shared install_header PREFIX=%{_prefix} DESTDIR=%{buildroot} LIBDIR_DEST=%{_libdir} +make install_shared install_header install_docs PREFIX=%{_prefix} DESTDIR=%{buildroot} LIBDIR_DEST=%{_libdir} DOCDIR_BASEDIR=%{_defaultdocdir}/%{name} +%fdupes %{buildroot} %{_defaultdocdir}/%{name} %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig +%files +# manual also contains the license +%{_defaultdocdir}/%{name} + %files -n lib%{name}%{sover} %defattr(-,root,root) %{_libdir}/libangelscript.so.*