Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
devel:hw
:
nv:tegra3:nexus7
>
nexus7-fw-installer
> nexus7-fw-installer.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nexus7-fw-installer.spec of Package nexus7-fw-installer
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.25 # Name: nexus7-fw-installer # >> macros # << macros Summary: Installer script to download and install Nexus 7 firmware. Version: 0.4.0 Release: 1 Group: Applications/Productivity License: GPLv2 Source0: nexus7-fw-install Source1: brcm-patchram-bluetooth.sh Source2: brcm-patchram-bluetooth.service Source100: nexus7-fw-installer.yaml Requires: rfkill Requires: brcm-patchram-plus Requires: curl Requires: tar Requires: systemd Requires(preun): systemd Requires(post): systemd Requires(postun): systemd %description This package provides an installer script for conveniently downloading the proprietary Nexus 7 firmware. Please note that you have to accept a license before extracting and using the firmware. %prep # No setup # >> setup # << setup %build # >> build pre # << build pre # >> build post # << build post %install rm -rf %{buildroot} # >> install pre mkdir %{buildroot} # << install pre mkdir -p %{buildroot}"%{_sbindir}" cp -a %{SOURCE0} %{buildroot}"%{_sbindir}" mkdir -p %{buildroot}"%{_sbindir}" cp -a %{SOURCE1} %{buildroot}"%{_sbindir}" mkdir -p %{buildroot}/lib/systemd/system cp -a %{SOURCE2} %{buildroot}/lib/systemd/system # >> install post chmod 755 %{buildroot}"%{_sbindir}"/nexus7-fw-install chmod 755 %{buildroot}"%{_sbindir}"/brcm-patchram-bluetooth.sh # << install post %preun if [ "$1" -eq 0 ]; then systemctl stop brcm-patchram-bluetooth.service fi # >> preun systemctl disable brcm-patchram-bluetooth.service # << preun %post systemctl daemon-reload systemctl reload-or-try-restart brcm-patchram-bluetooth.service # >> post systemctl enable brcm-patchram-bluetooth.service echo -e "\n\nIn order to download and install the actual firmware files please run:" echo -e "\nnexus7-fw-install\n" # << post %postun systemctl daemon-reload %files %defattr(-,root,root,-) /lib/systemd/system/brcm-patchram-bluetooth.service %{_sbindir}/nexus7-fw-install %{_sbindir}/brcm-patchram-bluetooth.sh # >> files # << files