This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 657723 r=bustagefix reverted android-ndk.spec and created android…
…-ndk5.spec
- Loading branch information
Mike Taylor
committed
Jul 14, 2011
1 parent
02ed4d0
commit 17e3285
Showing
2 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |