aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon John <git@the-jedi.co.uk>2013-12-30 20:07:22 +0000
committerSimon John <git@the-jedi.co.uk>2013-12-30 20:07:22 +0000
commit4e2b945dd1991f37d3f0b2ceb3bd54c020658bc1 (patch)
treed6d37259ed793f00252df51d0b29d77ea0b303d3
parent371377e0ac473cd2ef3ea1dec1c65bb7662501a0 (diff)
Changed documentation to use new path, also added dependency info.
Tested on Fedora 20 - help2man still a bit iffy
-rw-r--r--packaging/fedora/README.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/packaging/fedora/README.md b/packaging/fedora/README.md
index 1798444..dbd6334 100644
--- a/packaging/fedora/README.md
+++ b/packaging/fedora/README.md
@@ -1,6 +1,10 @@
# How to compile an RPM
-From the top-level Arduino-Makefile directory you've checked out of github, run the following to create a compressed tarball using the naming conventions required by rpmbuild:
+First install the dependencies as root:
+
+ yum install arduino-core perl-Device-SerialPort help2man rpm-build
+
+From the top-level Arduino-Makefile directory you've checked out of github, run the following (as unprivileged user) to create a compressed tarball using the naming conventions required by rpmbuild:
git archive --prefix=arduino-mk-1.1.0/ --format=tar -o ../arduino-mk-1.1.0.tar.gz -v HEAD | gzip
@@ -8,10 +12,10 @@ If you don't already have a rpmbuild setup (e.g. you've not installed the SRPM)
mkdir -p ~/rpmbuild/{SOURCES,SPECS}
-Then copy the tarball and specfile into place:
+Then copy the tarball and specfile into those directories:
cp ../arduino-mk-1.1.0.tar.gz ~/rpmbuild/SOURCES/
- cp package/arduino-mk.spec ~/rpmbuild/SPECS/
+ cp packaging/fedora/arduino-mk.spec ~/rpmbuild/SPECS/
Then compile. This will create a binary and source RPM: