2 PACKAGE
=@PACKAGE_TARNAME@
4 NAME
=@PACKAGE_TARNAME@
-@VERSION@
6 DISTDIR
="/home/jan/wwwroot/servers/www.lighttpd.net/pages/download/"
7 RPMS
="/home/jan/rpmbuild/RPMS/i386/${NAME}-1.i386.rpm \
8 /home/jan/rpmbuild/SRPMS/${NAME}-1.src.rpm"
9 FILES
="${RPMS} ${NAME}.tar.gz \
12 release-news.${VERSION}.txt \
14 DLURL
="http://www.lighttpd.net/download"
23 if test x
${pack} = x1
; then
24 make distcheck
&& rpmbuild
-ta --nodeps ${NAME}.
tar.gz
25 gpg
--detach-sign ${NAME}.
tar.gz
29 MD5RPM
=`md5sum /home/jan/rpmbuild/RPMS/i386/${NAME}-1.i386.rpm| cut -b 1-32`
30 MD5SRPM
=`md5sum /home/jan/rpmbuild/SRPMS/${NAME}-1.src.rpm| cut -b 1-32`
31 MD5TGZ
=`md5sum ${NAME}.tar.gz| cut -b 1-32`
32 DATE
=`date +'%Y-%m-%d %H:%M'`
33 NEWS
=`cat NEWS | sed "/^- ${VERSION}/,/^-/p;d" | sed "/^- /d;/^$/d"`
34 DLNAME
="${DLURL}/${NAME}"
36 cat > release-news.
${VERSION}-mail.txt
<<EOF
37 ${PACKAGE} ${VERSION} - ${DATE}
44 - ${NAME}-1.i386.rpm [built on Fedora Core 4]
53 Signature: ${DLNAME}.tar.gz.sig
57 cat > release-news.
${VERSION}.txt
<<EOF
58 ${PACKAGE} ${VERSION} - ${DATE}
65 - ${NAME}-1.i386.rpm [built on Fedora Core 4]
74 rst2html NEWS
> NEWS.html
76 for i
in ${DISTDIR}; do
81 cd ~
/wwwroot
/servers
/www.lighttpd.net
/