Open main menu

CDOT Wiki β

Changes

Package the Raspberry Pi kernel utility

1,969 bytes removed, 02:12, 14 April 2012
Kernel Utility Package Releases
[http://matrix.senecac.on.ca/~nhnguyen3/SBR600/Release03/update/ Release 0.3]
<pre>Name: raspi-toolsVersion: 0.3Release: 8%{?dist}Summary: Raspberry Pi Kernel UtilityLicense: GPLv2URL: [http://matrix.senecac.on.ca/~nhnguyen3/SBR600/source/Source0: http://matrix.senecac.on.ca/~nhnguyen3Release03/SBR600/sourceupdate/raspi-tools.tar.gzPatch0: raspi-tools-0.2.args.patchPatch1: raspi-tools-0.2.boot.patchPatch2: raspi-tools-0.2.imagetool.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)BUildArch: noarchBuildRequires: python %descriptionRaspberry Pi tool that creates a file called "first32k.bin"which is then merged with kernel file image to load to memory %prep %setup -n tools %patch0 -p1%patch1 -p1%patch2 -p1 %build %installrm -rf %{buildroot}mkdir -p -m 755 %{buildroot}%{_datadir}/imagetoolmkdir -p -m 755 %{buildroot}%{_bindir}/cp -p imagetool-uncompressed.py %{buildroot}%{_bindir}/cp -p boot-uncompressed.txt %{buildroot}%{_datadir}/imagetoolcp -p args-uncompressed.txt %{buildroot}%{_datadir}/imagetool %cleanrm -rf $RPM_BUILD_ROOT %files%defattr(-, root, root, -)%{_bindir}/imagetool-uncompressed.py%{_datadir}/imagetool %doc %changelog* Thu Apr 12 2012 Nam Nguyen <namhnguyen01@gmail.com> - 0.2-8- modified default attribute directive to fix error with txt file * Wed Apr 11 2012 Nam Nguyen <namhnguyen01@gmail.com> - 0.2-7- included patch files for individual source files * Tue Apr 10 2012 Nam Nguyen - 0.2-6- modified so script installs in /usr/bin and text file in /usr/share/imagetool * Mon Apr 09 2012 Nam Nguyen - 0.2-5- emailed Dominic Cobley to confirm license for python script to be used in package and made change to license as GPLv2 as request * Thu Mar 29 2012 Nam Nguyen - 0.2-4- tested installing package and used rpmlint to check for errors * Thu Mar 29 2012 Nam Nguyen - 0.2-2- editted spec file to have package install in /usr/bin rather then /usr/share * Thu Mar 08 2012 Nam Nguyen 0.1-1- Successfuly packaged pythons script and file in Release 0.1</pre>SPEC File]
<!-- Provides more depth than the Project Description. This is the place for technical discussions, project specs, or other details. If this gets very long, you might consider breaking this part into multiple pages and linking to them. -->
1
edit