Projects
Eulaceura:Factory
raspberrypi-utils
_service:obs_scm:raspberrypi-utils.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:raspberrypi-utils.spec of Package raspberrypi-utils
%global _completions_dir /usr/share/bash-completion/completions %global _usrshare_dir /usr/share/raspi-utils %global commitid 6a2a6becebbc38fde34a94386457ac8210f9119b %global debug_package %{nil} Name: raspberrypi-utils Version: 20241104 Release: 2 Summary: Collection of Raspberry Pi utilities (scripts and simple applications) License: BSD-3-Clause URL: https://github.com/raspberrypi/utils Source0: https://github.com/raspberrypi/utils/archive/%{commitid}/utils-%{commitid}.tar.gz Patch0001: 0001-overlaycheck-perl.patch Patch0002: 0002-overlaycheck-CMakeLists.patch BuildRequires: cmake dtc-devel python3 gcc gcc-c++ # Conflicts: libraspberrypi-bin AutoReq: no AutoProv: yes Provides: raspberrypi-utils = %{version}-%{release} ExclusiveArch: aarch64 ExclusiveOS: Linux %description This package contains collection of scripts and simple applications on Raspberry Pi. %prep %setup -q -n %{name}-%{version} -c mv utils-%{commitid} %{name}-%{version} cd %{name}-%{version} %patch0001 -p1 %patch0002 -p1 %build cd %{name}-%{version} cmake -B build cmake --build build %install cd %{name}-%{version} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_completions_dir} mkdir -p %{buildroot}%{_usrshare_dir} mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_mandir}/man7 install -m 0755 build/dtmerge/dtmerge %{buildroot}%{_bindir} install -m 0755 build/dtmerge/dtoverlay %{buildroot}%{_bindir} install -m 0755 build/eeptools/eepdump %{buildroot}%{_bindir} install -m 0755 build/eeptools/eepmake %{buildroot}%{_bindir} install -m 0755 build/pinctrl/pinctrl %{buildroot}%{_bindir} install -m 0755 build/vcgencmd/vcgencmd %{buildroot}%{_bindir} install -m 0755 build/vclog/vclog %{buildroot}%{_bindir} install -m 0755 build/vcmailbox/vcmailbox %{buildroot}%{_bindir} install -m 0755 otpset/otpset %{buildroot}%{_bindir} install -m 0755 overlaycheck/overlaycheck %{buildroot}%{_bindir} install -m 0755 ovmerge/ovmerge %{buildroot}%{_bindir} install -m 0755 raspinfo/raspinfo %{buildroot}%{_bindir} install -m 0755 eeptools/eepflash.sh %{buildroot}%{_bindir} pushd %{buildroot}%{_bindir} ln -sf dtoverlay dtparam popd install -m 0644 pinctrl/pinctrl-completion.bash %{buildroot}%{_completions_dir}/pinctrl install -m 0644 vcgencmd/vcgencmd-completion.bash %{buildroot}%{_completions_dir}/vcgencmd install -m 0644 overlaycheck/overlaycheck_exclusions.txt %{buildroot}%{_usrshare_dir} gzip -c dtmerge/dtmerge.1 > %{buildroot}%{_mandir}/man1/dtmerge.1.gz gzip -c dtmerge/dtoverlay.1 > %{buildroot}%{_mandir}/man1/dtoverlay.1.gz gzip -c dtmerge/dtparam.1 > %{buildroot}%{_mandir}/man1/dtparam.1.gz gzip -c vcgencmd/vcgencmd.1 > %{buildroot}%{_mandir}/man1/vcgencmd.1.gz gzip -c vcmailbox/vcmailbox.1 > %{buildroot}%{_mandir}/man1/vcmailbox.1.gz gzip -c vcmailbox/raspiotp.7 > %{buildroot}%{_mandir}/man7/raspiotp.7.gz gzip -c vcmailbox/raspirev.7 > %{buildroot}%{_mandir}/man7/raspirev.7.gz gzip -c vcmailbox/vcmailbox.7 > %{buildroot}%{_mandir}/man7/vcmailbox.7.gz %files %defattr (-, root, root) %license %{name}-%{version}/LICENCE %{_bindir}/* %{_mandir}/* %{_completions_dir}/* %dir %{_usrshare_dir} %{_usrshare_dir}/* %changelog * Mon Nov 4 2024 Yafen Fang<yafen@iscas.ac.cn> - 20241104-2 - update upstream version to the latest commit: "ovmerge: Disable Perl warnings about portability" - update patch0002 * Sun Apr 28 2024 Yafen Fang<yafen@iscas.ac.cn> - 20240428-1 - init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2