Add ppa target for generate debian source packages.
authorPeng Huang <shawn.p.huang@gmail.com>
Wed, 26 May 2010 05:21:34 +0000 (13:21 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Wed, 26 May 2010 05:44:16 +0000 (13:44 +0800)
Makefile.am
configure.ac
debian/changelog [deleted file]
debian/control

index 236ed89..47bc183 100644 (file)
@@ -70,6 +70,33 @@ srpm: dist @PACKAGE_NAME@.spec
                        --define "_rpmdir `pwd`/rpm" \
                        --define "_specdir `pwd`" \
                        @PACKAGE_NAME@.spec
+
+.PHONY: debian/changelog
+debian/changelog:
+       $(AM_V_GEN) \
+       ( \
+               date=`date -R`; \
+               version=@VERSION@; \
+               serie=$(serie); \
+               if test -z "$$serie"; then \
+                 serie=lucid; \
+               fi; \
+               s=`cat debian/changelog.in`; \
+               eval "echo \"$${s}\""; \
+       ) > $@
+
+ppa: dist debian/changelog
+       $(AM_V_GEN) \
+       ( \
+               mkdir ppa; \
+               cd ppa; \
+               tar zxvf ../$(distdir).tar.gz ; \
+               cd $(distdir); \
+               cp -a ../../debian . ; \
+               cd debian; \
+               debuild -S -sa ; \
+       )
+
 upload: dist
        ./tools/googlecode_upload.py \
                -s "ibus-pinyin(拼音)source code" \
index 607951e..51a17d2 100644 (file)
@@ -19,7 +19,7 @@
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 # if not 1, append datestamp to the version number.
-m4_define([ibus_released], [1])
+m4_define([ibus_released], [0])
 m4_define([ibus_major_version], [1])
 m4_define([ibus_minor_version], [3])
 m4_define([ibus_micro_version], [6])
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644 (file)
index 84da45f..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-ibus-pinyin (1.3.3-1) unstable; urgency=low
-
-  * New upstream release.
-
- -- Peng Huang <shawn.p.huang@gmail.com>  Fri, 16 Apr 2010 12:23:00 +0800
-
-ibus-pinyin (1.3.1-1) unstable; urgency=low
-
-  * New upstream release.
-
- -- LI Daobing <lidaobing@debian.org>  Sat, 10 Apr 2010 15:32:18 +0800
-
-ibus-pinyin (1.3.0-1) unstable; urgency=low
-
-  * New upstream release.
-  * debian/source/format: 3.0.
-
- -- LI Daobing <lidaobing@debian.org>  Sat, 03 Apr 2010 21:22:28 +0800
-
-ibus-pinyin (1.2.99.20100318-1) experimental; urgency=low
-
-  * New upstream release.
-  * debian/control: bump standards version to 3.8.4.
-  * debian/control: switch to ibus 1.3.
-  * debian/control: build depends on libsigc++-2.0-dev. 
-  * debian/control: fix debhelper-but-no-misc-depends.
-  * debian/rules: remove config.log 
-
- -- LI Daobing <lidaobing@debian.org>  Sun, 21 Mar 2010 19:22:14 +0800
-
-ibus-pinyin (1.2.99.20091211-1) unstable; urgency=low
-
-  * New upstream release.
-  * debian/control: add build depends on intltool 
-
- -- LI Daobing <lidaobing@debian.org>  Sat, 12 Dec 2009 22:43:01 +0800
-
-ibus-pinyin (1.2.99.20091009-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/control: rename package ibus-pinyin-db-google to
-    ibus-pinyin-db-android.
-  * debian/rules: updated. 
-
- -- LI Daobing <lidaobing@debian.org>  Sun, 11 Oct 2009 12:58:12 +0800
-
-ibus-pinyin (1.2.99.20091007-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/control: remove package ibus-pinyin-data, add packages
-    ibus-pinyin-db-open-phrase and ibus-pinyin-db-google.
-  * debian/rules: updated.
-
- -- LI Daobing <lidaobing@debian.org>  Thu, 08 Oct 2009 12:39:25 +0800
-
-ibus-pinyin (1.2.99.20090930-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/control: update build depends.
-
- -- LI Daobing <lidaobing@debian.org>  Wed, 30 Sep 2009 22:44:05 +0800
-
-ibus-pinyin (1.2.99.20090929-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/watch: updated. 
-  * debian/control: 
-    - build depends on pinyin-database and lsb-release.
-    - add ibus-pinyin-data package.
-  * debian/rules: updated. 
-  * debian/README.Debian: no longer needed. 
-
- -- LI Daobing <lidaobing@debian.org>  Tue, 29 Sep 2009 22:33:06 +0800
-
-ibus-pinyin (1.2.99.20090923+1-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/rules: update build script. 
-  * debian/control: 
-    - change arch from all to any. 
-    - remove Build-Depends-Indep, update Build-Depends
-    - update Depends 
-
- -- LI Daobing <lidaobing@debian.org>  Wed, 23 Sep 2009 20:12:19 +0800
-
-ibus-pinyin (1.2.0.20090915+1-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/control:
-    - bump standards version to 3.8.3.
-    - update Vcs-* fields. 
-
- -- LI Daobing <lidaobing@debian.org>  Tue, 15 Sep 2009 20:09:45 +0800
-
-ibus-pinyin (1.2.0.20090617+1-1) unstable; urgency=low
-
-  * new upstream release.
-  * debian/control:
-    - depends: ibus >= 1.2
-    - bump standards version to 3.8.2
-
- -- LI Daobing <lidaobing@debian.org>  Sat, 20 Jun 2009 23:40:41 +0800
-
-ibus-pinyin (1.1.0.20090612+1-1) unstable; urgency=low
-
-  * new upstream release.
-
- -- LI Daobing <lidaobing@debian.org>  Sat, 13 Jun 2009 15:37:23 +0800
-
-ibus-pinyin (1.1.0.20090303+1-0ubuntu1) karmic; urgency=low
-
-  * initial release (LP: #318806)
-
- -- LI Daobing <lidaobing@debian.org>  Fri, 01 May 2009 16:44:56 +0800
index f8bac05..7abb748 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: LI Daobing <lidaobing@debian.org>
 Build-Depends: debhelper (>= 7), autotools-dev, pkg-config,
  libibus-dev (>= 1.2.99), libsqlite3-dev (>= 3.6), sqlite3, uuid-dev,
- python-support, intltool (>= 0.35.0), libboost-dev (>= 1.39)
+ python-support, intltool (>= 0.35.0), libboost-signals-dev (>= 1.39)
 Standards-Version: 3.8.4
 Homepage: http://code.google.com/p/ibus
 Vcs-Bzr: lp:~lidaobing/ibus/ibus-pinyin