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