|
|
834bc18 |
%global optflags %(echo %{optflags} -fno-strict-aliasing)
|
|
|
834bc18 |
|
|
|
edca81e |
Name: angelscript
|
|
|
4f0a834 |
Version: 2.30.2
|
|
|
4f0a834 |
Release: 1%{?dist}
|
|
|
edca81e |
Summary: Flexible cross-platform scripting library
|
|
|
edca81e |
|
|
|
edca81e |
License: zlib
|
|
|
edca81e |
URL: http://www.angelcode.com/angelscript/
|
|
|
edca81e |
Source0: http://www.angelcode.com/angelscript/sdk/files/%{name}_%{version}.zip
|
|
|
edca81e |
|
|
|
66adc57 |
BuildRequires: meson >= 0.23.0-3
|
|
|
edca81e |
|
|
|
834bc18 |
ExclusiveArch: x86_64 %ix86 %arm
|
|
|
834bc18 |
|
|
|
edca81e |
%description
|
|
|
edca81e |
The AngelScript library is a software library for easy integration of
|
|
|
edca81e |
external scripting to applications, with built-in compiler and virtual
|
|
|
edca81e |
machine. The scripting language is easily extendable to incorporate
|
|
|
edca81e |
application specific data types and functions. It is designed with C++
|
|
|
edca81e |
in mind, as such it shares many features with C++, for example syntax
|
|
|
edca81e |
and data types.
|
|
|
edca81e |
|
|
|
edca81e |
%package devel
|
|
|
edca81e |
Summary: Development files for %{name}
|
|
|
edca81e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
edca81e |
|
|
|
edca81e |
%description devel
|
|
|
edca81e |
The %{name}-devel package contains libraries and header files for
|
|
|
edca81e |
developing applications that use %{name}.
|
|
|
edca81e |
|
|
|
edca81e |
%prep
|
|
|
edca81e |
%setup -q -c
|
|
|
edca81e |
rm -rf build && mkdir build
|
|
|
edca81e |
|
|
|
edca81e |
%build
|
|
|
edca81e |
pushd build
|
|
|
4f0a834 |
%meson ../sdk/%{name}/projects/meson/
|
|
|
edca81e |
ninja-build -v
|
|
|
edca81e |
popd
|
|
|
edca81e |
|
|
|
edca81e |
%install
|
|
|
edca81e |
pushd build
|
|
|
edca81e |
DESTDIR=%{buildroot} ninja-build -v install
|
|
|
edca81e |
popd
|
|
|
edca81e |
|
|
|
edca81e |
%post -p /sbin/ldconfig
|
|
|
edca81e |
|
|
|
edca81e |
%postun -p /sbin/ldconfig
|
|
|
edca81e |
|
|
|
edca81e |
%files
|
|
|
edca81e |
%doc sdk/docs/articles/*.html
|
|
|
edca81e |
%{_libdir}/lib%{name}.so.*
|
|
|
edca81e |
|
|
|
edca81e |
%files devel
|
|
|
edca81e |
%doc sdk/docs/manual/*
|
|
|
edca81e |
%{_libdir}/lib%{name}.so
|
|
|
edca81e |
%{_includedir}/%{name}.h
|
|
|
edca81e |
|
|
|
edca81e |
%changelog
|
|
|
4f0a834 |
* Tue Oct 27 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.2-1
|
|
|
4f0a834 |
- Update to 2.30.2
|
|
|
4f0a834 |
|
|
|
834bc18 |
* Tue Jun 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-8
|
|
|
834bc18 |
- Use -fno-strict-aliasing
|
|
|
834bc18 |
- build only on primary arches
|
|
|
834bc18 |
|
|
|
caf0119 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.30.0-7
|
|
|
caf0119 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
caf0119 |
|
|
|
aa6d88b |
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-6
|
|
|
aa6d88b |
- Simplify buildsystem
|
|
|
aa6d88b |
|
|
|
856208e |
* Thu May 21 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-5
|
|
|
856208e |
- arm build fixes
|
|
|
856208e |
|
|
|
c3c78ec |
* Wed May 20 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-4
|
|
|
c3c78ec |
- Fix arm building
|
|
|
c3c78ec |
|
|
|
edca81e |
* Mon May 18 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-3
|
|
|
edca81e |
- Fix docs in devel subpkg
|
|
|
edca81e |
|
|
|
edca81e |
* Wed May 13 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-2
|
|
|
edca81e |
- Use custom builsystem to avoid multiple patching Makefile
|
|
|
edca81e |
|
|
|
edca81e |
* Sun Apr 26 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.30.0-1
|
|
|
edca81e |
- Initial package
|