Source0: https://github.com/mruby/mruby/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 25efc35511070454074b36863c4d5b5e
# debian addon for man pages
-Source1: http://http.debian.net/debian/pool/main/m/mruby/mruby_%{version}-1.debian.tar.xz
+Source1: http://http.debian.net/debian/pool/main/m/mruby/%{name}_%{version}-1.debian.tar.xz
# Source1-md5: 3e4d3b5aea4999b0c03e40b5202bf8be
Patch0: %{name}-optimize.patch
URL: http://www.mruby.org/
%description
mruby is the lightweight implementation of the Ruby language complying
-to (part of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9
-compatible.
+to (part of) the ISO standard. Its syntax is Ruby 1.9 compatible.
This package contains:
- mruby interpreter
%description devel
mruby is the lightweight implementation of the Ruby language complying
-to (part of) the [ISO standard][ISO-standard]. Its syntax is Ruby 1.9
-compatible.
+to (part of) the ISO standard. Its syntax is Ruby 1.9 compatible.
This package contains embeddable library and its header files.
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}/man1}
-install build/host-debug/bin/* $RPM_BUILD_ROOT%{_bindir}
-install build/host/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p build/host-debug/bin/* $RPM_BUILD_ROOT%{_bindir}
+cp -p build/host/bin/* $RPM_BUILD_ROOT%{_bindir}
cp -p build/host/lib/*.a $RPM_BUILD_ROOT%{_libdir}
cp -pr include/* $RPM_BUILD_ROOT%{_includedir}