Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
bug 657723 r=bustagefix reverted android-ndk.spec and created android…
Browse files Browse the repository at this point in the history
…-ndk5.spec
  • Loading branch information
Mike Taylor committed Jul 14, 2011
1 parent 02ed4d0 commit 17e3285
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
8 changes: 4 additions & 4 deletions android-ndk/centos5-i686/android-ndk.spec
@@ -1,14 +1,14 @@
Name: android-ndk
Summary: An interpreted, interactive, object-oriented programming language.
Version: r5c
Release: 0moz1
Version: r4c
Release: 0moz3
License: ???
Group: Java
# This isn't the original source package but rather a Mozilla built tarball.
# The original source package requires downloading additional pieces from
# the Internet, which is difficult to do in RPM, and makes reproducability
# impossible.
Source0: android-ndk-r5c-0moz1.tar.bz2
Source0: android-ndk-r4c-0moz3.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-root
AutoReqProv: no

Expand All @@ -22,7 +22,7 @@ AutoReqProv: no

%prep
rm -rf $RPM_BUILD_DIR/%{toplevel_dir}
tar xf %{SOURCE0} >/dev/null
unzip %{SOURCE0} >/dev/null

%build
# none
Expand Down
41 changes: 41 additions & 0 deletions android-ndk/centos5-i686/android-ndk5.spec
@@ -0,0 +1,41 @@
Name: android-ndk5
Summary: An interpreted, interactive, object-oriented programming language.
Version: r5c
Release: 0moz1
License: ???
Group: Java
# This isn't the original source package but rather a Mozilla built tarball.
# The original source package requires downloading additional pieces from
# the Internet, which is difficult to do in RPM, and makes reproducability
# impossible.
Source0: android-ndk5-r5c-0moz1.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
AutoReqProv: no

%define toplevel_dir %{name}-%{version}
%define install_dir %{toplevel_dir}
%define __os_install_post %{nil}
%define __strip /bin/true

%description
%{name}

%prep
rm -rf $RPM_BUILD_DIR/%{toplevel_dir}
tar xf %{SOURCE0} >/dev/null

%build
# none

%install
install -d -m 755 $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/tools/%{install_dir}
rsync -av %{toplevel_dir}/ $RPM_BUILD_ROOT/tools/%{install_dir}

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
/tools/%{install_dir}

0 comments on commit 17e3285

Please sign in to comment.