Projects
Eulaceura:Factory
python-pyspiflash
_service:obs_scm:python-pyspiflash.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-pyspiflash.spec of Package python-pyspiflash
%global _empty_manifest_terminate_build 0 Name: python-pyspiflash Version: 0.6.4 Release: 1 Summary: SPI data flash device drivers (pure Python) License: MIT URL: http://github.com/eblot/pyspiflash Source0: https://github.com/eblot/pyspiflash/archive/refs/tags/v0.6.4.tar.gz BuildArch: noarch Requires: python3-pyftdi %description SPI flash devices, also known as DataFlash are commonly found in embedded products, to store firmware, microcode or configuration parameters. %package -n python3-pyspiflash Summary: SPI data flash device drivers (pure Python) Provides: python-pyspiflash BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pyftdi %description -n python3-pyspiflash SPI flash devices, also known as DataFlash are commonly found in embedded products, to store firmware, microcode or configuration parameters. %package help Summary: Development documents and examples for pyspiflash Provides: python3-pyspiflash-doc %description help SPI flash devices, also known as DataFlash are commonly found in embedded products, to store firmware, microcode or configuration parameters. %prep %autosetup -n pyspiflash-0.6.4 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} spiflash/serialflash.py %files -n python3-pyspiflash -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Sep 24 2021 Python_Bot <Python_Bot@openeuler.org> - 0.6.4-1 - Package Init
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