Changes

Jump to: navigation, search

Package the Raspberry Pi kernel utility

2 bytes added, 03:08, 14 April 2012
Kernel Utility Package Releases
<pre>
Name: raspi-tools Version: 0.3 Release: 8%{?dist} Summary: Raspberry Pi Kernel Utility License: GPLv2 URL: http://matrix.senecac.on.ca/~nhnguyen3/SBR600/source/ Source0: http://matrix.senecac.on.ca/~nhnguyen3/SBR600/source/raspi-tools.tar.gz Patch0: raspi-tools-0.2.args.patch Patch1: raspi-tools-0.2.boot.patch Patch2: raspi-tools-0.2.imagetool.patch  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BUildArch: noarch BuildRequires: python  %description Raspberry 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 %install rm -rf %{buildroot} mkdir -p -m 755 %{buildroot}%{_datadir}/imagetool mkdir -p -m 755 %{buildroot}%{_bindir}/ cp -p imagetool-uncompressed.py %{buildroot}%{_bindir}/ cp -p boot-uncompressed.txt %{buildroot}%{_datadir}/imagetool cp -p args-uncompressed.txt %{buildroot}%{_datadir}/imagetool %clean rm -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>
1
edit

Navigation menu