#!/bin/bash # Copyright 2018 Denes Matetelki # This file is part of ${NAME}. # ${NAME} is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License v3 as published by the Free # Software Foundation. # ${NAME} is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for # more details. # You should have received a copy of the GNU General Public License v3 along # with ${NAME}. If not, see # https://www.gnu.org/licenses/gpl-3.0.html. NAME="battery-status-led" VERSION="0.1" RELEASE="1" rm -rf build* mkdir build cat > build/${NAME}.spec <