~vcs-imports/parcellite/trunk

« back to all changes in this revision

Viewing changes to rel.common

  • Committer: rickyrockrat
  • Date: 2013-01-24 17:52:52 UTC
  • Revision ID: rickyrockrat-20130124175252-v1w6xg8v3tf2fimi
First working ppa rel.common

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
 tar --exclude .svn -czf $debdir.orig.tar.gz $debdir
165
165
 check_err "tar for ppa"
166
166
 cp $debdir/deb/* t/debian
 
167
 echo "What series does this apply to? (i.e. precise/natty,etc)"
 
168
 read SERIES
167
169
#build changelog
168
 
 echo "parcellite (${tag}-1ppa1) unstable; urgency=low" > t/debian/changelog
169
 
 sed 's!^.*+!  - !;s!^V!  * V!' $debdir/ChangeLog|grep -v Changes>> t/debian/changelog
 
170
 echo "parcellite (${tag}-1ppa1) $SERIES; urgency=low" > t/debian/changelog
 
171
 cat $debdir/ChangeLog |while read line; do 
 
172
  if [ $(echo "$line"|grep -c V1.0.2rc5) -gt 0 ]; 
 
173
    then break 
 
174
  else 
 
175
    echo "$line"| sed 's!^.*+!  - !;s!^V!  * V!'|grep -v Changes>> t/debian/changelog
 
176
  fi 
 
177
 done
 
178
 DATE=$(date -R)
 
179
 echo " -- Doug Springer <gpib@rickyrockrat.net>  $DATE" >> t/debian/changelog
170
180
# setup control
171
181
 sed -i 's!ADD_ARCH_HERE!any!' t/debian/control
172
182
#build rules
176
186
 echo "#export DH_VERBOSE=1">> t/debian/rules
177
187
 echo " ">> t/debian/rules
178
188
 echo "%:">> t/debian/rules
179
 
 echo "        dh $@ ">> t/debian/rules
 
189
 echo -n -e '\t'>> t/debian/rules
 
190
 echo 'dh $@ '>> t/debian/rules
180
191
 echo "DEB_CONFIGURE_EXTRA_FLAGS += --enable-appindicator=yes">> t/debian/rules
181
192
 cd t
182
193
 gpg --list-keys