--- /dev/null
+createrepo-c (0.10.0) unstable; urgency=low
+
+ * add debian
+
+ -- Shuai Fu <shuai01.fu@samsung.com> Wed, 09 Jul 2014 10:09:30 +0800
+
--- /dev/null
+Source: createrepo-c
+Section: devel
+Priority: extra
+Maintainer: Jian-feng Ding <jian-feng.ding@intel.com>
+Build-Depends: debhelper (>= 7.0.15), cdbs, libpython2.7, python-dev, python-support, python-docutils, cmake, dpatch, libbz2-dev, librpm-dev, liblzma-dev, libcurl3, libcurl4-openssl-dev, libmagic-dev, libexpat1, doxygen, pkg-config, libglib2.0-dev
+Standards-Version: 0.10.0
+Homepage: http://www.tizen.org
+
+Package: createrepo-c
+Architecture: i386 amd64
+Depends: ${python:Depends},
+ rpm,
+ python-rpm,
+ python-urlgrabber,
+ cpio,
+ bzip2,
+ libpython2.7,
+ libcurl3,
+ libxml2,
+ gzip
+Description: image creator for Linux distributions
+ The tool createrep is used to ppfarm test
+
+Package: createrepo-c-devel
+Architecture: i386 amd64
+Depends: ${python:Depends},
+ rpm,
+ python-rpm,
+ python-urlgrabber,
+ cpio,
+ bzip2,
+ createrepo-c,
+ gzip
+Description: image creator for Linux distributions
+ The tool createrep is used to ppfarm test
--- /dev/null
+usr/include/createrepo_c /usr/include/
+usr/lib/libcreaterepo_c.so /usr/lib/
+usr/lib/pkgconfig/createrepo_c.pc /usr/lib/pkgconfig/
+src/python/createrepo_c/_createrepo_cmodule.so /usr/lib/python2.7/createrepo_c/
+src/python/__init__.py /usr/lib/python2.7/createrepo_c/
--- /dev/null
+etc/bash_completion.d /etc/
+usr/bin/createrepo_c /usr/bin/
+usr/bin/mergerepo_c /usr/bin/
+usr/bin/modifyrepo_c /usr/bin/
+usr/lib/libcreaterepo_c.so.* /usr/lib/
+usr/share/man/man8/createrepo_c.8.gz /usr/share/man/man8/
+usr/share/man/man8/mergerepo_c.8.gz /usr/share/man/man8/
--- /dev/null
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+
+
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr
+ make
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Installing package
+ make DESTDIR=$(CURDIR) sysconfdir=$(CURDIR)/etc install
+ if [ -e usr/lib64 ]; then cp -arf usr/lib64/* usr/lib/; fi
+# cat src/python/__init__.py
+# ls -R
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_install
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pysupport
+ dh_installdeb
+# dh_shlibdeps -l/$(CURDIR)/usr/lib
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install