Track and download the releases from GitHub
Emmanuel Bourg
6 years ago
1 | 1 |
|
2 | 2 |
* Team upload.
|
3 | 3 |
* Updated the Homepage field
|
|
4 |
* Track and download the releases from GitHub
|
4 | 5 |
|
5 | 6 |
-- Emmanuel Bourg <ebourg@apache.org> Mon, 13 Nov 2017 15:28:30 +0100
|
6 | 7 |
|
0 | |
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
0 |
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
1 | 1 |
Upstream-Name: atinject
|
2 | 2 |
Upstream-Contact: The JSR-330 Expert Group <atinject@googlecode.com>
|
3 | 3 |
Source: https://github.com/javax-inject/javax-inject
|
|
4 |
Files-Excluded: *.jar
|
|
5 |
*.iml
|
|
6 |
*.ipr
|
|
7 |
javadoc/*
|
4 | 8 |
|
5 | 9 |
Files: *
|
6 | 10 |
Copyright: 2009, The JSR-330 Expert Group <atinject@googlecode.com>
|
0 | |
#!/bin/sh
|
1 | |
|
2 | |
set -e
|
3 | |
|
4 | |
UPSTREAM_VERSION=`echo $2 | sed -n 's/^\([0-9]\)\.0/\1/p'`
|
5 | |
DEBIAN_VERSION=`dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p'`
|
6 | |
TAG=javax.inject-tck-$UPSTREAM_VERSION
|
7 | |
DIR=atinject-jsr330
|
8 | |
TAR=../atinject-jsr330_$DEBIAN_VERSION.orig.tar.xz
|
9 | |
|
10 | |
svn export http://atinject.googlecode.com/svn/tags/$TAG $DIR
|
11 | |
tar -c -J -f $TAR --exclude '*.jar' --exclude '*.iml' --exclude '*.ipr' --exclude 'javadoc/*' $DIR
|
12 | |
rm -Rf $3 $DIR
|
13 | |
|
14 | |
#url="http://atinject.googlecode.com/files/javax.inject.zip"
|
15 | |
#package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
|
16 | |
#version=`dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-.*/\1/p'`
|
17 | |
#tarball="javax.inject.zip"
|
18 | |
#TAR=${package}_${version}.orig.tar.gz
|
19 | |
#DIR=${package}-${version}.orig
|
20 | |
#
|
21 | |
#wget $url
|
22 | |
#unzip $tarball -d $DIR
|
23 | |
#unzip $DIR/javax.inject-src.zip -d $DIR
|
24 | |
#
|
25 | |
#GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR \
|
26 | |
# --exclude '*.zip' --exclude '*.jar' $DIR
|
27 | |
#
|
28 | |
#rm -rf $tarball $DIR
|
0 | 0 |
version=3
|
1 | 1 |
opts=uversionmangle=s/^(.*)$/$1.0/,dversionmangle=s/(.*)\+ds\d/$1/ \
|
2 | |
http://code.google.com/p/atinject/downloads/list \
|
3 | |
//atinject.googlecode.com/files/javax.inject-([0-9\.]+)-bundle.jar \
|
4 | |
debian debian/orig-tar.sh
|
|
2 |
https://github.com/javax-inject/javax-inject/tags .*/javax.inject-tck-([\d\.]+).tar.gz
|