MairinDuffy/PackageCheatsheet

PREREQ: must be in gitthemes, approved/sponsored

= UPSTREAM RELEASE =

1. git clone ssh://duffy@git.fedoraproject.org/git/themes/fedorainfinity-gdm-theme 1. configure.ac => up version number (AC_INIT(fedorainfinity-gdm-theme, 8.0.0) 1. vim fedorainfinity-gdm-theme.spec, update spec, add changelog entry 1. copy shit to theme dir 1. git commit -a 1. ./autogen.sh in root of checkout dir (eg in fedorainfinity-gdm-theme dir) (this generates the make file) 1. make distcheck 1. tag release: git tag 8.0.1     ($VERSION_NUMBER) 1. git push (commit content) 1. git push ---tags  (commit tags)

= DOWNSTREAM BUILD =

1. su - 1. cp tars (tar.gz, tar.bz) to /usr/src/redhat/SOURCES 1. rpmbuild -bs *.spec 1. now src rpm is at ??? /usr/src/redhat/SRPMS 1. exit (should be duffy rather than root)

= IMPORT SRPM into CVS =

1. /home/duffy/devel/desktop-backgrounds/common/cvs-import.sh /usr/src/redhat/SRPMS/fedorainfinity-gdm-theme-8.0.1-1.fc8.src.rpm

= CHECKOUT DOWNSTREAM CVS MODULE =

1. export CVSROOT=:ext:duffy@cvs.fedora.redhat.com:/cvs/pkgs 1. cvs co fedorainfinity-gdm-theme 1. cd fedorainfinity-gdm-theme/devel 1. check out spec file, make sure okay 1. make build