--- liblunar-2.0.1.orig/debian/control
+++ liblunar-2.0.1/debian/control
@@ -0,0 +1,76 @@
+Source: liblunar
+Priority: optional
+Maintainer: LI Daobing <lidaobing@debian.org>
+Build-Depends: debhelper (>= 7), gtk-doc-tools, libglib2.0-dev, libgtk2.0-dev,
+ pkg-config, intltool, python-gtk2-dev, libgtksourceview2.0-dev,
+ python-gtksourceview2, python-support (>= 1.0)
+Standards-Version: 3.8.1
+Section: libs
+Homepage: http://code.google.com/p/liblunar
+Vcs-Browser: http://git.debian.org/?p=chinese/liblunar.git
+Vcs-Git: git://git.debian.org/git/chinese/liblunar.git
+DM-Upload-Allowed: yes
+
+Package: liblunar-1-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, liblunar-1-0 (= ${binary:Version})
+Description: Development files for the Chinese Lunar library
+ This library provide a struct to covert between Chinese lunar calendar
+ and Gregorian calendar.
+ .
+ It also provide a GTK+ Widget which can display Chinese lunar calendar.
+ .
+ This package is needed to compile programs against liblunar-1-0, as
+ only it includes the header files and static libraries (optionally)
+ needed for compiling.
+
+Package: liblunar-1-0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Chinese Lunar library
+ This library provide a struct to covert between Chinese lunar calendar
+ and Gregorian calendar.
+ .
+ It also provide a GTK+ Widget which can display Chinese lunar calendar.
+ .
+ This package contains the shared libraries.
+
+Package: liblunar-1-0-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, liblunar-1-0 (= ${binary:Version})
+Description: Chinese Lunar library
+ This library provide a struct to covert between Chinese lunar calendar
+ and Gregorian calendar.
+ .
+ It also provide a GTK+ Widget which can display Chinese lunar calendar.
+ .
+ This package contains detached debugging symbols.
+
+Package: liblunar-1-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Documentation for the Chinese Lunar library
+ This library provide a struct to covert between Chinese lunar calendar
+ and Gregorian calendar.
+ .
+ It also provide a GTK+ Widget which can display Chinese lunar calendar.
+ .
+ This package contains the HTML documentation for the Chinese lunar
+ library in /usr/share/doc/liblunar-1-doc/.
+
+Package: python-lunar
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-gtk2
+Description: Python bindings for the Chinese Lunar library
+ This library provide a struct to covert between Chinese lunar calendar
+ and Gregorian calendar.
+ .
+ It also provide a GTK+ Widget which can display Chinese lunar calendar.
+ .
+ This package contains Python module `lunar'.
--- liblunar-2.0.1.orig/debian/clean
+++ liblunar-2.0.1/debian/clean
@@ -0,0 +1,8 @@
+docs/reference/html/index.html
+docs/reference/html/index.sgml
+docs/reference/html/lunar-LunarCalendar.html
+docs/reference/html/lunar-lunardate.html
+docs/reference/html/lunar-lunarmain.html
+docs/reference/html/lunar.devhelp
+docs/reference/html/lunar.devhelp2
+docs/reference/html/style.css
--- liblunar-2.0.1.orig/debian/docs
+++ liblunar-2.0.1/debian/docs
@@ -0,0 +1 @@
+NEWS
--- liblunar-2.0.1.orig/debian/liblunar-1-0.symbols
+++ liblunar-2.0.1/debian/liblunar-1-0.symbols
@@ -0,0 +1,28 @@
+liblunar-1.so.0 liblunar-1-0 #MINVER#
+ fest@Base 1.0.0
+ lunar_calendar_clear_marks@Base 1.0.0
+ lunar_calendar_display_options@Base 1.0.0
+ lunar_calendar_display_options_get_type@Base 1.0.0
+ lunar_calendar_freeze@Base 1.0.0
+ lunar_calendar_get_date@Base 1.0.0
+ lunar_calendar_get_display_options@Base 1.0.0
+ lunar_calendar_get_type@Base 1.0.0
+ lunar_calendar_mark_day@Base 1.0.0
+ lunar_calendar_new@Base 1.0.0
+ lunar_calendar_select_day@Base 1.0.0
+ lunar_calendar_select_month@Base 1.0.0
+ lunar_calendar_set_display_options@Base 1.0.0
+ lunar_calendar_thaw@Base 1.0.0
+ lunar_calendar_unmark_day@Base 1.0.0
+ lunar_date_error_get_type@Base 1.0.1
+ lunar_date_error_quark@Base 1.0.0
+ lunar_date_free@Base 1.0.0
+ lunar_date_get_jieri@Base 1.0.0
+ lunar_date_new@Base 1.0.0
+ lunar_date_set_lunar_date@Base 1.0.0
+ lunar_date_set_solar_date@Base 1.0.0
+ lunar_date_strftime@Base 1.0.0
+ lunar_init@Base 1.0.0
+ mday_2_hanzi@Base 1.0.0
+ num_2_hanzi@Base 1.0.0
+ year_jieqi@Base 1.0.0
--- liblunar-2.0.1.orig/debian/copyright
+++ liblunar-2.0.1/debian/copyright
@@ -0,0 +1,106 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: LI Daobing <lidaobing@gmail.com>
+Debianized-Date: Thu, 24 Apr 2008 22:24:55 +0800
+Original-Source: http://code.google.com/p/liblunar/
+
+Files: debian/*
+Copyright: Copyright 2008 LI Daobing <lidaobing@gmail.com>
+License: GPL-2+
+ On Debian systems, the complete text of the version 2 of GNU General
+ Public License can be found in file "/usr/share/common-licenses/GPL-2".
+
+Files: *
+Copyright: Copyright 2008 yetist <yetist@gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+ .
+ This package is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this package; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of the version 2 of GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+Files: tests/test-calendar.c
+Copyright: Copyright 2000 Tony Gale 
+           Copyright 1998 Cesar Miquel, Shawn T. Amundson, Mattias Grönlund
+License: GPL-2+ 
+ On Debian systems, the complete text of the version 2 of GNU General
+ Public License can be found in file "/usr/share/common-licenses/GPL-2".
+
+Files: bindings/python/gclmodule.c
+Copyright: Copyright 1998-2003 James Henstridge
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published
+ by the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
+ USA.
+ .
+ On Debian systems, the complete text of the version 2.1 of GNU General
+ Lesser Public License can be found in file
+ "/usr/share/common-licenses/LGPL-2.1".
+
+Files: gcl/gcl-calendar.c
+Copyright:
+ Copyright 1998 Cesar Miquel, Shawn T. Amundson and Mattias Groenlund
+ Copyright 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ Copyright 1995, 1996, 1997, 1998 Steffen Beyer
+License: LGPL-2+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published
+ by the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA
+ 02110-1301 USA
+ .
+ On Debian systems, the complete text of the version 2 of GNU Library
+ Lesser Public License can be found in file
+ "/usr/share/common-licenses/LGPL-2".
+
+Files: gcl/gcl-calendar.h
+Copyright:
+ Copyright 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ Copyright 1998 Cesar Miquel and Shawn T. Amundson
+License: LGPL-2+
+ On Debian systems, the complete text of the version 2 of GNU Library
+ Lesser Public License can be found in file
+ "/usr/share/common-licenses/LGPL-2".
+
+GPL-2+ can also be treated as version 3 of GNU General Public License.
+On Debian systems, the complete text may be found in
+/usr/share/common-licenses/GPL-3.
+
+LGPL-2+ can also be treated as version 2.1 or 3 of GNU General Lesser
+Public License.  On Debian systems, the complete text may be found in
+/usr/share/common-licenses/LGPL-2.1 and
+/usr/share/common-licenses/LGPL-3.
+
+LGPL-2.1+ can also be treated as version 3 of GNU General Lesser Public
+License.  On Debian systems, the complete text may be found in
+/usr/share/common-licenses/LGPL-3.
--- liblunar-2.0.1.orig/debian/liblunar-1-doc.install
+++ liblunar-2.0.1/debian/liblunar-1-doc.install
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/lunar/*
--- liblunar-2.0.1.orig/debian/liblunar-1-dev.install
+++ liblunar-2.0.1/debian/liblunar-1-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/pkgconfig/*
+usr/lib/*.so
--- liblunar-2.0.1.orig/debian/python-lunar.install
+++ liblunar-2.0.1/debian/python-lunar.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/gtk-2.0/lunar.so
--- liblunar-2.0.1.orig/debian/liblunar-1-doc.links
+++ liblunar-2.0.1/debian/liblunar-1-doc.links
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/lunar usr/share/doc/liblunar-1-doc/html
--- liblunar-2.0.1.orig/debian/watch
+++ liblunar-2.0.1/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/liblunar/downloads/list \
+http://liblunar.googlecode.com/files/liblunar-(.*)\.tar\.gz
--- liblunar-2.0.1.orig/debian/liblunar-1-0.install
+++ liblunar-2.0.1/debian/liblunar-1-0.install
@@ -0,0 +1,3 @@
+usr/share/liblunar/*
+usr/share/locale/*
+usr/lib/*.so.*
--- liblunar-2.0.1.orig/debian/compat
+++ liblunar-2.0.1/debian/compat
@@ -0,0 +1 @@
+7
--- liblunar-2.0.1.orig/debian/changelog
+++ liblunar-2.0.1/debian/changelog
@@ -0,0 +1,119 @@
+liblunar (2.0.1-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "hardcoded dependency on python-support":
+    use ${python:Depends} in python-lunar's Depends; patch from Jakub Wilk
+    (Closes: #592382)
+  * Fix "missing dependency on python-gtk2":
+    add python-gtk2 to python-lunar's Depends; bug report from Jakub Wilk
+    (Closes: #654911)
+
+ -- gregor herrmann <gregoa@debian.org>  Sat, 21 Jan 2012 15:08:52 +0100
+
+liblunar (2.0.1-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "empty package": tell dh_strip about the -dbg package;
+    closes: #594503.
+
+ -- gregor herrmann <gregoa@debian.org>  Sun, 19 Sep 2010 17:52:38 +0200
+
+liblunar (2.0.1-2) unstable; urgency=low
+
+  * debian/control:
+    - change maintainer's email.
+    - bump standards version to 3.8.1
+    - change section of liblunar-1-0-dbg to debug
+    - add python-support (>= 1.0) to build depends and depends of python-lunar
+      (Closes: #524854)
+
+ -- LI Daobing <lidaobing@debian.org>  Tue, 21 Apr 2009 19:23:11 +0800
+
+liblunar (2.0.1-1) unstable; urgency=low
+
+  * new upstream release.
+  * bump debhelper to version 7:
+    - debian/compat: updated.
+    - debian/control: change build-depends version.
+    - debian/rules: rewrite for debhelper 7.
+    - debian/clean: added.
+  * no longer build depends on cdbs, remove from debian/control.
+  * all patches have been merged by upstream:
+    - debian/patches/*: removed.
+    - debian/control: removed dpatch from build depends.
+  * debian/python-lunar.install: updated. 
+
+ -- LI Daobing <lidaobing@gmail.com>  Fri, 27 Mar 2009 21:51:36 +0800
+
+liblunar (1.0.1-2) unstable; urgency=low
+
+  * Sync with Ubuntu.
+  * debian/patches/03_sprintf.dpatch: fix undefined sprintf behavior bug.
+  * debian/patches/00list: updated.
+  * debian/control: add ${misc:Depends} to depends, fix
+    debhelper-but-no-misc-depends 
+
+ -- LI Daobing <lidaobing@gmail.com>  Sun, 04 Jan 2009 21:03:50 +0800
+
+liblunar (1.0.1-1ubuntu1) jaunty; urgency=low
+
+  * Merge from debian unstable (LP: #296398), Ubuntu remaining changes:
+    - Added debian/patches/02_libtool_path.dpatch to fix libtool
+      issue, fixes FTBFS.
+
+ -- Alessio Treglia <quadrispro@ubuntu.com>  Mon, 15 Dec 2008 16:50:53 +0100
+
+liblunar (1.0.1-1) unstable; urgency=low
+
+  * new upstream release. 
+  * debian/liblunar-1-0.symbols: 1 symbol added, 1 symbol removed. 
+
+ -- LI Daobing <lidaobing@gmail.com>  Sun, 10 Aug 2008 14:26:09 +0800
+
+liblunar (1.0.0-2) UNRELEASED; urgency=low
+
+  * debian/control: 
+    - fix Vcs-*.
+    - bump standards version to 3.8.0, no change needed.
+    - add automake to build depends (LP: 248579).
+    - add DMUA field.
+  * debian/liblunar-1-0.symbols: added. 
+  * debian/copyright: updated copyright format. 
+
+ -- LI Daobing <lidaobing@gmail.com>  Tue, 22 Jul 2008 23:27:51 +0800
+
+liblunar (1.0.0-1ubuntu3) jaunty; urgency=low
+
+  * Use the system libtool, as ./libtool is not in the tree with newer libtool
+    releases. If libtool isn't there then python is not detected, the
+    python parts are not built and the package fails to build while trying
+    to install them.
+
+ -- James Westby <james.westby@canonical.com>  Fri, 28 Nov 2008 23:37:00 +0000
+
+liblunar (1.0.0-1ubuntu2) intrepid; urgency=low
+
+  * debian/control:
+   - autoconf is listed twice in Build-Depends, fixed (LP: #256866).
+
+ -- Alessio Treglia <quadrispro@ubuntu.com>  Mon, 11 Aug 2008 12:08:03 +0200
+
+liblunar (1.0.0-1ubuntu1) intrepid; urgency=low
+
+  [ Michael Casadevall ]
+  * Adds proper build-deps automake and autoconf to resolve FTBFS (LP: 248579) 
+  * Modify Maintainer value to match the DebianMaintainerField
+    specification.
+
+  [ Emanuele Gentili ]
+  * debian/control:
+   + Update standards version.
+
+ -- Michael Casadevall <sonicmctails@gmail.com>  Tue, 15 Jul 2008 04:49:34 +0200
+
+liblunar (1.0.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #464250)
+
+ -- LI Daobing <lidaobing@gmail.com>  Thu, 24 Apr 2008 22:24:55 +0800
+
--- liblunar-2.0.1.orig/debian/rules
+++ liblunar-2.0.1/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+	dh build --before configure
+	dh_auto_configure -- --enable-python --enable-gtk-doc LDFLAGS="-Wl,-z,defs,--as-needed"
+	dh build
+	touch build-stamp
+
+clean:
+	dh clean
+
+install: build install-stamp
+install-stamp:
+	dh install
+	touch install-stamp
+
+binary-arch: install
+	dh binary-arch --before dh_strip
+	dh_strip -a --dbg-package=liblunar-1-0-dbg
+	dh binary-arch --after dh_strip
+
+binary-indep: install
+	dh binary-indep
+
+binary: binary-arch binary-indep
+
--- liblunar-2.0.1.orig/debian/liblunar-1-doc.doc-base
+++ liblunar-2.0.1/debian/liblunar-1-doc.doc-base
@@ -0,0 +1,9 @@
+Document: liblunar
+Title: liblunar Reference Manual
+Author: yetist <yetist@gmail.com>
+Abstract: This manual describes the usage of liblunar.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/liblunar-1-doc/html/index.html
+Files: /usr/share/doc/liblunar-1-doc/html/*.html
