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
This commit is contained in:
parent
95325b4349
commit
ceaa160a8c
@ -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
|
Tue Jun 13 14:30:46 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ License: Zlib
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.angelcode.com/angelscript/
|
Url: http://www.angelcode.com/angelscript/
|
||||||
Source: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
|
Source: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -70,11 +71,16 @@ export CXXFLAGS="%{optflags}"
|
|||||||
make %{?_smp_mflags} shared
|
make %{?_smp_mflags} shared
|
||||||
|
|
||||||
%install
|
%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
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
%postun -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}
|
%files -n lib%{name}%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libangelscript.so.*
|
%{_libdir}/libangelscript.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user