Mageia Bugzilla – Attachment 11104 Details for
Bug 23853
Update android-tools to 9.0.0_r21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Spec file for android-9.0.0_r41
android-tools.spec (text/plain), 4.33 KB, created by
Kristoffer Grundström
on 2019-06-18 12:11:12 CEST
(
hide
)
Description:
Spec file for android-9.0.0_r41
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2019-06-18 12:11:12 CEST
Size:
4.33 KB
patch
obsolete
>Name: android-tools >Version: 9.0.0_r41 >Release: %mkrel 1 >Summary: Android platform tools (adb, fastboot, mkbootimg) ># The entire source code is Apache Software License except fastboot/ which is BSD >License: Apache 2.0 >Group: Development/Tools >URL: http://android.googlesource.com/ >#http://developer.android.com/guide/developing/tools/ >Source0: core-%{version}.tar.xz >Source1: extras-%{version}.tar.xz >Source2: boringssl-%{version}.tar.xz >Source3: mdnsresponder-%{version}.tar.xz >Source4: adb.service >Source5: generate_build.rb >Source6: package-source.sh >Patch1: 0001-Add-string-h.patch >Patch2: 0002-libusb-modifications.patch >Patch3: 0003-atomic-fix.patch >Patch4: adb-glib-2.28.patch >Patch5: adb-system-libraries.patch >Patch6: adb-system-openssl.patch >Patch7: fastboot-use-custom-mke2fs.patch >Patch8: libbase-clang-5.0.patch >Patch9: libcrypto_utils-openssl-1.1.patch >Patch10: make_ext4fs-add-keep-uids-option.patch >Patch11: android-tools-8.1.0_r51-string.patch >Patch12: android-tools-4.4.2-ignore-android_filesystem_capability.h.patch >Patch13: 0003-atomic-fix.patch >Patch14: 0002-libusb-modifications.patch >Patch15: 0003-buildlib-remove.patch >Patch16: 0004-bz1441234.patch >Patch17: 0005-Add-sysmacros-h.patch >Patch18: adb-glibc-2.28.patch >Patch19: adb-system-libraries.patch >Patch20: adb-system-openssl.patch >Patch21: add-bq-vendor-id.patch >Patch22: android-tools-8.0.0_r4-sysmacros.patch >Patch23: define-shell-command.patch >Patch24: mkbootimg-Add-dt-parameter-to-specify-DT-image.patch >Patch25: fix-implicit-declaration-function.patch >Patch26: fix-implicit-pointer-conversion.patch >Patch27: ppc64el-ftbfs.patch >Patch28: preserve-ownership.patch >Patch29: remove-bionic-android.patch >Patch30: remove-fs-config-android.patch >Patch31: remove-selinux-android.patch >Patch32: use-capability.patch >Patch33: use-local-socket.patch >BuildRequires: ruby >BuildRequires: pkgconfig(libusb-1.0) >BuildRequires: pkgconfig(zlib) >BuildRequires: pkgconfig(libcrypto) >BuildRequires: pkgconfig(blkid) >BuildRequires: pkgconfig(libselinux) >BuildRequires: pkgconfig(openssl) >BuildRequires: gtest-devel >Provides: adb = %{version}-%{release} >Provides: fastboot = %{version}-%{release} >Provides: mkbootimg = %{version}-%{release} > >%description >This package provides various tools for working with (and on) Android devices: >adb -- The Android Debug Bridge client >fastboot -- A tool for talking to Android's "fastboot" bootloader >simg2img -- A tool for converting Android sparse images into regular > filesystems >img2simg -- A tool for converting regular filesystem images to Android > sparse images that can be used with fastboot >append2simg -- A tool to append to a sparse image >make_ext4fs -- A tool to generate ext4 sparse images > >For Mageia you must use the following commands : > >- adb >- fastboot-android >- mkbootimg > >%prep >%setup -qn platform -b 1 -b 2 -b 3 -b 4 %{name}-%{version} >%apply_patches > >%build >pushd core >ruby %{SOURCE2} | tee build.sh >PKGVER=android-%{version} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" sh -xe build.sh >popd > >%install > >install -d -m 0755 %{buildroot}%{_bindir} >install -d -m 0775 %{buildroot}%{_sharedstatedir}/adb >install -d -m 0775 %{buildroot}%{_var}/lib/adb >install -m 0755 -t %{buildroot}%{_bindir} core/adb/adb core/fastboot/fastboot core/libsparse/simg2img core/libsparse/img2simg core/mkbootimg/mkbootimg >mv %{buildroot}%{_bindir}/fastboot %{buildroot}%{_bindir}/fastboot-android > ># for 51-android.rules >mkdir -p %{buildroot}%{_udevrulesdir} >install -m 0644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/51-android.rules ># for adb.service >mkdir -p %{buildroot}%{_unitdir} >install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/adb.service > >%post >%_post_service adb > >%preun >%_preun_service adb > >%files >%doc core/adb/OVERVIEW.TXT core/adb/SERVICES.TXT core/adb/NOTICE core/adb/protocol.txt >%{_unitdir}/adb.service >%attr(0755,root,root) %dir %{_sharedstatedir}/adb >%attr(0755,root,root) %dir %{_var}/lib/adb > >#Apache Software License >%{_bindir}/adb >%{_bindir}/simg2img >%{_bindir}/img2simg >%{_bindir}/mkbootimg >#Apache Software License and BSD. >%{_bindir}/fastboot-android > > >%changelog >* Tue Jun 18 2019 Kristoffer Grundström <hamnisdude@gmail.com> 9.0.0_r41-1.mga6 >+ Updated to latest Android version > >* Sat Sep 22 2018 daviddavid <daviddavid> 8.0.0_r4-3.mga7 > (not released yet) >+ Revision: 1295952 >- add patch to fix build with new glibc (thanks to Arusekk) >+ umeabot <umeabot> >- Mageia 7 Mass Rebuild
Name: android-tools Version: 9.0.0_r41 Release: %mkrel 1 Summary: Android platform tools (adb, fastboot, mkbootimg) # The entire source code is Apache Software License except fastboot/ which is BSD License: Apache 2.0 Group: Development/Tools URL: http://android.googlesource.com/ #http://developer.android.com/guide/developing/tools/ Source0: core-%{version}.tar.xz Source1: extras-%{version}.tar.xz Source2: boringssl-%{version}.tar.xz Source3: mdnsresponder-%{version}.tar.xz Source4: adb.service Source5: generate_build.rb Source6: package-source.sh Patch1: 0001-Add-string-h.patch Patch2: 0002-libusb-modifications.patch Patch3: 0003-atomic-fix.patch Patch4: adb-glib-2.28.patch Patch5: adb-system-libraries.patch Patch6: adb-system-openssl.patch Patch7: fastboot-use-custom-mke2fs.patch Patch8: libbase-clang-5.0.patch Patch9: libcrypto_utils-openssl-1.1.patch Patch10: make_ext4fs-add-keep-uids-option.patch Patch11: android-tools-8.1.0_r51-string.patch Patch12: android-tools-4.4.2-ignore-android_filesystem_capability.h.patch Patch13: 0003-atomic-fix.patch Patch14: 0002-libusb-modifications.patch Patch15: 0003-buildlib-remove.patch Patch16: 0004-bz1441234.patch Patch17: 0005-Add-sysmacros-h.patch Patch18: adb-glibc-2.28.patch Patch19: adb-system-libraries.patch Patch20: adb-system-openssl.patch Patch21: add-bq-vendor-id.patch Patch22: android-tools-8.0.0_r4-sysmacros.patch Patch23: define-shell-command.patch Patch24: mkbootimg-Add-dt-parameter-to-specify-DT-image.patch Patch25: fix-implicit-declaration-function.patch Patch26: fix-implicit-pointer-conversion.patch Patch27: ppc64el-ftbfs.patch Patch28: preserve-ownership.patch Patch29: remove-bionic-android.patch Patch30: remove-fs-config-android.patch Patch31: remove-selinux-android.patch Patch32: use-capability.patch Patch33: use-local-socket.patch BuildRequires: ruby BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(blkid) BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(openssl) BuildRequires: gtest-devel Provides: adb = %{version}-%{release} Provides: fastboot = %{version}-%{release} Provides: mkbootimg = %{version}-%{release} %description This package provides various tools for working with (and on) Android devices: adb -- The Android Debug Bridge client fastboot -- A tool for talking to Android's "fastboot" bootloader simg2img -- A tool for converting Android sparse images into regular filesystems img2simg -- A tool for converting regular filesystem images to Android sparse images that can be used with fastboot append2simg -- A tool to append to a sparse image make_ext4fs -- A tool to generate ext4 sparse images For Mageia you must use the following commands : - adb - fastboot-android - mkbootimg %prep %setup -qn platform -b 1 -b 2 -b 3 -b 4 %{name}-%{version} %apply_patches %build pushd core ruby %{SOURCE2} | tee build.sh PKGVER=android-%{version} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" sh -xe build.sh popd %install install -d -m 0755 %{buildroot}%{_bindir} install -d -m 0775 %{buildroot}%{_sharedstatedir}/adb install -d -m 0775 %{buildroot}%{_var}/lib/adb install -m 0755 -t %{buildroot}%{_bindir} core/adb/adb core/fastboot/fastboot core/libsparse/simg2img core/libsparse/img2simg core/mkbootimg/mkbootimg mv %{buildroot}%{_bindir}/fastboot %{buildroot}%{_bindir}/fastboot-android # for 51-android.rules mkdir -p %{buildroot}%{_udevrulesdir} install -m 0644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/51-android.rules # for adb.service mkdir -p %{buildroot}%{_unitdir} install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/adb.service %post %_post_service adb %preun %_preun_service adb %files %doc core/adb/OVERVIEW.TXT core/adb/SERVICES.TXT core/adb/NOTICE core/adb/protocol.txt %{_unitdir}/adb.service %attr(0755,root,root) %dir %{_sharedstatedir}/adb %attr(0755,root,root) %dir %{_var}/lib/adb #Apache Software License %{_bindir}/adb %{_bindir}/simg2img %{_bindir}/img2simg %{_bindir}/mkbootimg #Apache Software License and BSD. %{_bindir}/fastboot-android %changelog * Tue Jun 18 2019 Kristoffer Grundström <hamnisdude@gmail.com> 9.0.0_r41-1.mga6 + Updated to latest Android version * Sat Sep 22 2018 daviddavid <daviddavid> 8.0.0_r4-3.mga7 (not released yet) + Revision: 1295952 - add patch to fix build with new glibc (thanks to Arusekk) + umeabot <umeabot> - Mageia 7 Mass Rebuild
View Attachment As Raw
Actions:
View
Attachments on
bug 23853
:
10474
|
10475
|
10476
|
10477
|
10478
|
10479
|
10480
|
10481
|
10482
| 11104 |
11105
|
11106
|
11107
|
11108
|
11109
|
11110
|
11111
|
11112
|
11113
|
11114