diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 69 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 19 | ||||
-rw-r--r-- | debian/copyright | 26 | ||||
-rw-r--r-- | debian/dirs | 2 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/iniparser-dev.install.in | 4 | ||||
-rw-r--r-- | debian/iniparser.install.in | 1 | ||||
-rw-r--r-- | debian/iniparser.pc.in | 9 | ||||
-rwxr-xr-x | debian/rules | 107 |
10 files changed, 239 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f096941 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,69 @@ +iniparser (2.17-1slp2-10) unstable; urgency=low + + * Tizen Release + + -- MyoungJune Park <mj2004.park@samsung.com> Tue, 14 Aug 2012 10:34:29 +0900 + +iniparser (2.17-1slp2-9) unstable; urgency=low + + * release - libiniparser.so.1 + * Git: 165.213.180.234:slp/unmodified/iniparser + * Tag: iniparser_2.17-1slp2-9 + + -- MyoungJune Park <mj2004.park@samsung.com> Thu, 18 Aug 2011 11:42:15 +0900 + +iniparser (2.17-1slp2-8) unstable; urgency=low + + * release 4 + * Git: 165.213.180.234:slp/unmodified/iniparser + * Tag: iniparser_2.17-1slp2-8 + + -- MyoungJune Park <mj2004.park@samsung.com> Thu, 18 Aug 2011 09:22:13 +0900 + +iniparser (2.17-1slp2-3) unstable; urgency=low + + * added code for creating symbolic link of libiniparser.so.0. + * Git: 165.213.180.234:/git/slp/unmodified/iniparser + * Tag: iniparser_2.17-1slp2-3 + + -- MyoungJune Park <mj2004.park@samsung.com> Wed, 17 Aug 2011 17:32:47 +0900 + +iniparser (2.17-1slp2-2) unstable; urgency=low + + * Add back missing PC file + + -- Mike McCormack <mj.mccormack@samsung.com> Wed, 03 Aug 2011 16:38:09 +0900 + +iniparser (2.17-1slp2-1) unstable; urgency=low + + * Update to latest upstream source + * Repackage for unmodified source + + -- Mike McCormack <mj.mccormack@samsung.com> Tue, 02 Aug 2011 11:20:12 +0900 + +iniparser (2.16-1slp4) unstable; urgency=low + + * Always add -fPIC + * Always generate autotools files + + -- Mike McCormack <mj.mccormack@samsung.com> Fri, 06 May 2011 11:59:24 +0900 + +iniparser (2.16-1slp3) unstable; urgency=low + + * Add fPIC and hash-style + * Git: 165.213.180.234:/git/slp/unmodified/iniparser + * Tag: iniparser_2.16-1slp3 + + -- Seungbae Shin <seungbae.shin@samsung.com> Thu, 18 Nov 2010 11:31:52 +0900 + +iniparser (2.16-1slp2) unstable; urgency=low + + * Change package naming rule + + -- Shin Seung Bae <seungbae.shin@samsung.com> Thu, 25 Mar 2010 13:27:49 +0900 + +iniparser (2.16) unstable; urgency=low + + * Initial Release. + + -- Shin Seung Bae <seungbae.shin@samsung.com> Mon, 30 Nov 2009 20:04:27 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..be7353e --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: iniparser +Section: libs +Priority: extra +Maintainer: Mike McCormack <mj.mccormack@samsung.com>, MyoungJune Park <mj2004.park@samsung.com> +Uploaders: Mike McCormack <mj.mccormack@samsung.com>, MyoungJune Park <mj2004.park@samsung.com> +Build-Depends: debhelper (>= 5), autotools-dev +Standards-Version: 3.7.2 + +Package: iniparser +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: ini file parser library + +Package: iniparser-dev +Section: libdevel +Architecture: any +Depends: iniparser(= ${binary:Version}), ${misc:Depends} +Description: ini file parser library (headers) diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f971207 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,26 @@ +This is iniparser, written and maintained by unknown <seungbae.shin@samsung.com> +on Mon, 30 Nov 2009 20:04:27 +0900. + +The original source can always be found at: + ftp://ftp.debian.org/dists/unstable/main/source/ + +Copyright Holder: unknown + +License: + + This program 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 program 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 GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..ca882bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/iniparser-dev.install.in b/debian/iniparser-dev.install.in new file mode 100644 index 0000000..c1edf98 --- /dev/null +++ b/debian/iniparser-dev.install.in @@ -0,0 +1,4 @@ +@PREFIX@/include/* +@PREFIX@/lib/pkgconfig/* +@PREFIX@/lib/*.so +@PREFIX@/lib/*.a diff --git a/debian/iniparser.install.in b/debian/iniparser.install.in new file mode 100644 index 0000000..a7c24c5 --- /dev/null +++ b/debian/iniparser.install.in @@ -0,0 +1 @@ +@PREFIX@/lib/*.so.* diff --git a/debian/iniparser.pc.in b/debian/iniparser.pc.in new file mode 100644 index 0000000..dbdfc6f --- /dev/null +++ b/debian/iniparser.pc.in @@ -0,0 +1,9 @@ +prefix = @PREFIX@ +libdir = @LIBDIR@ +includedir = @INCLUDEDIR@ + +Name : iniparser +Description : This modules offers parsing of ini files from the C level. +Version : @VERSION@ +Libs : -L${libdir} -liniparser +Cflags : -I${includedir} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4dbeb1c --- /dev/null +++ b/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS ?= -Wall -g +LDFLAGS ?= +PREFIX ?= /usr +DATADIR ?= /opt + +INCLUDEDIR=$(PREFIX)/include/ +INSTDIR=$(CURDIR)/debian/tmp +LIBDIR=$(PREFIX)/lib/ +VERSION=2.17 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--hash-style=both -Wl,--as-needed + +build: build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + make prefix="$(PREFIX)" + + for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ + cat $$f > $${f%.in}; \ + sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \ + sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \ + sed -i -e "s#@INCLUDEDIR@#$(INCLUDEDIR)#g" $${f%.in}; \ + sed -i -e "s#@LIBDIR@#$(LIBDIR)#g" $${f%.in}; \ + sed -i -e "s#@VERSION@#$(VERSION)#g" $${f%.in}; \ + done + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + for f in `find $(CURDIR)/debian/ -name "*.in"`; do \ + rm -f $${f%.in}; \ + done + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/iniparser. + mkdir -p $(INSTDIR)/$(LIBDIR) + install -m 644 libiniparser.so.0 $(INSTDIR)/$(LIBDIR) + install -m 644 libiniparser.a $(INSTDIR)/$(LIBDIR) + ln -s libiniparser.so.0 $(INSTDIR)/$(LIBDIR)/libiniparser.so + mkdir -p $(INSTDIR)/$(INCLUDEDIR) + install -m 644 src/*.h $(INSTDIR)/$(INCLUDEDIR) + mkdir -p $(INSTDIR)/$(LIBDIR)/pkgconfig + cp $(CURDIR)/debian/iniparser.pc $(INSTDIR)/$(LIBDIR)/pkgconfig + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install |