From 48dc20f325e548fa62eeb82c16d859d35dc4a5ad Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Sun, 25 Jan 2009 06:09:05 +0100 Subject: README: move docs from git-rpm.mk to README --- README | 36 ++++++++++++++++++++++++++++++++++++ git-rpm.mk | 35 ----------------------------------- 2 files changed, 36 insertions(+), 35 deletions(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..96af774 --- /dev/null +++ b/README @@ -0,0 +1,36 @@ +# How to use this file: +# 0. run "git init" +# 1. git submodule add 'git://fedorapeople.org/~ndim/git-rpm.git' git-rpm +# git submodule init +# 2. create GNUmakefile with contents like +# NAME = mypkg +# include git-rpm/git-rpm.mk +# 3. write mypkg.spec, and fill in at least the Summary: line +# 4. run "make setup" to created the upload directory to the server +# 5. write mypkg.spec, patches, Source: files, etc. +# 6. run "make" for a test build of the rpm files +# 7. if you do not like the result, go to 5 +# 8. make sure NVR and %changelog are updated +# 9. Make sure you have "git commit"ed all your changes before +# 10. run "make tag" tag the current release +# 11. run "make upload" to upload the built rpm files to the server +# +# Settings best defined in ~/.git-rpm-settings.mk, but with potentially +# useful defaults: +# 1. RSYNC_USER and RSYNC_HOST or RSYNC_USHO +# 2. RSYNC_ROOT +# +# The path setups etc. work for fedorapeople.org accounts. Other systems +# will probably need adaptation. +# +# Benefits: +# 1. Reproducible local rpm builds: +# $ make +# 2. Automatic generation of text reports (rpmlint, rpm content list): +# $ make check +# 3. Easy versioning of NVRs using git tags +# $ make tag +# 4. Easy upload via rsync/ssh to NVR specific places on a web server, +# and to a git repository (nice for package review) +# $ make upload + diff --git a/git-rpm.mk b/git-rpm.mk index 4356ad1..40effb2 100644 --- a/git-rpm.mk +++ b/git-rpm.mk @@ -1,38 +1,3 @@ -# How to use this file: -# 0. run "git init" -# 1. copy this file as git-rpm.mk -# 2. create GNUmakefile with contents like -# NAME = mypkg -# include git-rpm.mk -# 3. write mypkg.spec, and fill in at least the Summary: line -# 4. run "make setup" to created the upload directory to the server -# 5. write mypkg.spec, patches, Source: files, etc. -# 6. run "make" for a test build of the rpm files -# 7. if you do not like the result, go to 5 -# 8. make sure NVR and %changelog are updated -# 9. Make sure you have "git commit"ed all your changes before -# 10. run "make tag" tag the current release -# 11. run "make upload" to upload the built rpm files to the server -# -# Settings best defined in ~/.git-rpm-settings.mk, but with potentially -# useful defaults: -# 1. RSYNC_USER and RSYNC_HOST or RSYNC_USHO -# 2. RSYNC_ROOT -# -# The path setups etc. work for fedorapeople.org accounts. Other systems -# will probably need adaptation. -# -# Benefits: -# 1. Reproducible local rpm builds: -# $ make -# 2. Automatic generation of text reports (rpmlint, rpm content list): -# $ make check -# 3. Easy versioning of NVRs using git tags -# $ make tag -# 4. Easy upload via rsync/ssh to NVR specific places on a web server, -# and to a git repository (nice for package review) -# $ make upload - RPMDIRS = rpm-build rpm-dist UPLOAD_FILES = -- cgit