diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:56:04 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-08 21:56:04 +0900 |
commit | 3a29fc23e7ceace9a3f29a5fe0f841c584ffc772 (patch) | |
tree | 4e4411379f94579219e358a384efcafcb388bdea | |
parent | d085b00484159813eecd8703b026f0fe260daca2 (diff) | |
download | iniparser-tizen_2.3.1.tar.gz iniparser-tizen_2.3.1.tar.bz2 iniparser-tizen_2.3.1.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.074527tizen_2.3.1
-rwxr-xr-x | .gitignore | 14 | ||||
-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 | ||||
-rw-r--r-- | packaging/iniparser.manifest | 5 | ||||
-rwxr-xr-x[-rw-r--r--] | packaging/iniparser.spec | 19 |
13 files changed, 35 insertions, 242 deletions
diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..11f9eaa --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +*.o +*.a +build-stamp +debian/files +debian/*.install +debian/*.debhelper +debian/*.log +debian/*.pc +debian/*.substvars +debian/iniparser-dev/ +debian/iniparser/ +debian/tmp/ +depcomp +*.so.* diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index f096941..0000000 --- a/debian/changelog +++ /dev/null @@ -1,69 +0,0 @@ -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 deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100644 index be7353e..0000000 --- a/debian/control +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index f971207..0000000 --- a/debian/copyright +++ /dev/null @@ -1,26 +0,0 @@ -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 deleted file mode 100644 index ca882bb..0000000 --- a/debian/dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/bin -usr/sbin diff --git a/debian/docs b/debian/docs deleted file mode 100644 index e845566..0000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README diff --git a/debian/iniparser-dev.install.in b/debian/iniparser-dev.install.in deleted file mode 100644 index c1edf98..0000000 --- a/debian/iniparser-dev.install.in +++ /dev/null @@ -1,4 +0,0 @@ -@PREFIX@/include/* -@PREFIX@/lib/pkgconfig/* -@PREFIX@/lib/*.so -@PREFIX@/lib/*.a diff --git a/debian/iniparser.install.in b/debian/iniparser.install.in deleted file mode 100644 index a7c24c5..0000000 --- a/debian/iniparser.install.in +++ /dev/null @@ -1 +0,0 @@ -@PREFIX@/lib/*.so.* diff --git a/debian/iniparser.pc.in b/debian/iniparser.pc.in deleted file mode 100644 index dbdfc6f..0000000 --- a/debian/iniparser.pc.in +++ /dev/null @@ -1,9 +0,0 @@ -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 deleted file mode 100755 index 4dbeb1c..0000000 --- a/debian/rules +++ /dev/null @@ -1,107 +0,0 @@ -#!/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 diff --git a/packaging/iniparser.manifest b/packaging/iniparser.manifest new file mode 100644 index 0000000..75b0fa5 --- /dev/null +++ b/packaging/iniparser.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/iniparser.spec b/packaging/iniparser.spec index 0b4d320..4a5479f 100644..100755 --- a/packaging/iniparser.spec +++ b/packaging/iniparser.spec @@ -1,12 +1,13 @@ #sbs-git:slp/unmodified/iniparser iniparser 2.17 2a9012b9ef8ccf91d380cd8293767ab6f101830b Name: iniparser Summary: Stand-alone ini file parsing library -Version: 2.17 -Release: 1 +Version: 2.17 +Release: 3 Group: Applications/Databases License: MIT URL: http://ndevilla.free.fr/iniparser/ Source: http://ndevilla.free.fr/iniparser/iniparser-%{version}.tar.gz +Source1001: %{name}.manifest Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -29,7 +30,7 @@ to install %{name}-devel. %setup -q %build - +cp %{SOURCE1001} . LDFLAGS="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed $LDFLAGS" \ make prefix=%{_prefix} @@ -59,11 +60,23 @@ Cflags : -I\${includedir} EOF +mkdir -p $RPM_BUILD_ROOT%{_datadir}/license +for keyword in LICENSE COPYING COPYRIGHT; +do + for file in `find %{_builddir} -name $keyword`; + do + cat $file >> $RPM_BUILD_ROOT%{_datadir}/license/%{name}; + echo ""; + done; +done + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files +%manifest %{name}.manifest +%{_datadir}/license/%{name} %{_libdir}/*.so.* %files devel |