Android Studio IDE .spec
Spec file to create rpm.
Instructions to build rpms :
cd ~/rpmbuild
rpmbuild -bs --define 'SrcURL https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.2.1.20/android-studio-2022.2.1.20-linux.tar.gz' --define 'WithSkel 1' SPECS/android-studio-ide.spec
rpmbuild -bb SPECS/android-studio-ide.spec
# For the version 4.1.3-0, add QA_RPATHS=$(( 0x0010|0x0020 )) to build the binary rpm :
QA_RPATHS=$(( 0x0010|0x0020 )) rpmbuild -bb SPECS/android-studio-ide.spec