[Pkg-cli-libs-commits] [nini] 01/07: * new package: nini

Jo Shields directhex at moszumanska.debian.org
Wed Sep 9 11:10:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

directhex pushed a commit to annotated tag debian/1.1.0+dfsg-1
in repository nini.

commit 4c50a9a34b6c709e9debc790f5c4ca023455720b
Author: Sebastian Dröge <slomo at debian.org>
Date:   Wed Mar 8 21:02:54 2006 +0000

    * new package: nini
---
 debian/Makefile               | 25 +++++++++++++++++
 debian/Nini.snk.uue           | 17 ++++++++++++
 debian/README.Debian          |  8 ++++++
 debian/changelog              |  6 ++++
 debian/compat                 |  1 +
 debian/control                | 26 ++++++++++++++++++
 debian/copyright              | 30 ++++++++++++++++++++
 debian/libnini-doc.docs       |  1 +
 debian/libnini1.0-cil.install |  1 +
 debian/nini-1.0.pc            |  8 ++++++
 debian/rules                  | 64 +++++++++++++++++++++++++++++++++++++++++++
 debian/watch                  |  2 ++
 12 files changed, 189 insertions(+)

diff --git a/debian/Makefile b/debian/Makefile
new file mode 100644
index 0000000..7d4bd59
--- /dev/null
+++ b/debian/Makefile
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+MCS = /usr/bin/mcs
+TARGET = nini.dll
+KEYFILE = debian/Nini.snk
+
+SOURCES = Source/AssemblyInfo.cs \
+          Source/Config/*.cs \
+	  Source/Ini/*.cs \
+	  Source/Util/*.cs
+
+DEFINES = -define:MONO_1_0 \
+          -define:STRONG
+	  
+REFERENCES = -r:System.dll \
+             -r:System.Xml.dll
+
+all: $(TARGET)
+
+$(TARGET): $(KEYFILE) $(SOURCES)
+	mkdir -p build
+	$(MCS) -debug -nowarn:1616 -target:library -out:build/"$@" \
+	$(DEFINES) $(REFERENCES) -keyfile:$(KEYFILE) $(SOURCES)
+
+
diff --git a/debian/Nini.snk.uue b/debian/Nini.snk.uue
new file mode 100644
index 0000000..7fd2721
--- /dev/null
+++ b/debian/Nini.snk.uue
@@ -0,0 +1,17 @@
+begin 600 Nini.snk
+M!P(````D``!24T$R``0``!$```"M"VY;.)&'^47#V1XRZK&L!JH`'DGLG<\[
+M"LBOVSTV7G<+?3._7#3<#<UD1G:^SPX+#QT9C(:EN&/V]%74"X8U at 0^1:LPO
+M[!_])"\ZN=.W4Z$N1BHMX3Q_R6JS06D[^I!O(H_X"0B]ZR\@`_DNS9`3L1L3
+M^)'=V#/-C?;_\X4WLE'E(.!R%+0Y2E5<S*65.#.=]TX,8_1YT[`A:@*>$J^I
+M6I7[PU8Z^8E45^O#O&2R=,*B1&VB>*-@/LL)[M3E.N&=F?2=E`!H>2PR%AUB
+M_19@,5N<$$5LZ<,)#6)&"9`M5EFVQ]*I9'$>?'%-V++-]&KUJ!"%VNKS]RH/
+M9,KW9Y#*H14L+S at _^4$%#^A*D at M02R&`&$<Y;CY@]ED2\Q*VUK,$P*%A']G,
+MB#MZHG"(_C.CNJU:48^(V^L8=]ND?W^[QO7SH-?BI?TQ]%]%5QDLOE04K8N[
+M9_]!Y^6,57>IE>6,Z!TTP!C/3-#G6YC at A2>_X#?K%8+AC8+/+_?LZ4>C:%,P
+M+FN11TL5R&W at WFV_%],I,RVA at Y_AP,[J&VLW)61KI/9"<G"3ZL<_;<TM2]^A
+MC$])X,@/#MOD=-^KL6$-MZDQ<?M7Q:_/H]_7QQA*JBE^JZ8:F;6B&!+R\>%'
+MS=!__IA5!Z at 7NQ27&^=L4;E!9"%R-?L<3=\<A+A58HU4%3,#"&FRLTB98Z1T
+MT'C,$2!RIOFB8M`B%E]N#L0J_1?``[_13`VCO8_WYH4VSS[Z<2%93`I3IB9I
++I\$YY9)26C)0Q)(`
+`
+end
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..036f6c8
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+Nini for Debian
+---------------------
+
+* I removed Bin from the tarball as we have the sources for them
+  and build them anyway. Other than that this is just the official ZIP
+  file repackaged as tar.gz
+
+ -- Sebastian Dröge <slomo at ubuntu.com>,  Wed, 08 Mar 2006 20:10:56 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5962c14
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+nini (1.0.0-1) unstable; urgency=low
+
+  * Initial Revision (Closes: #355926)
+
+ -- Sebastian Dröge <slomo at ubuntu.com>  Wed, 08 Mar 2006 20:10:56 +0100
+
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..7b060c8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: nini
+Section: devel
+Priority: optional
+Maintainer: Sebastian Dröge <slomo at ubuntu.com>
+Build-Depends-Indep: debhelper (>= 5), cli-common (>= 0.2.0), mono-mcs (>= 1.1.9) | c-sharp-compiler, dpatch, mono-gac, sharutils
+Standards-Version: 3.6.2
+
+Package: libnini1.0-cil
+Architecture: all
+Depends: ${cli:Depends}
+Description: CLI library for managing configuration files
+ Nini is an uncommonly powerful .NET configuration library designed to help
+ build highly configurable applications quickly.
+ .
+ http://nini.sourceforge.net
+
+Package: libnini-doc
+Architecture: all
+Section: doc
+Description: CLI library for managing configuration files (Documentation)
+ Nini is an uncommonly powerful .NET configuration library designed to help
+ build highly configurable applications quickly.
+ .
+ http://nini.sourceforge.net
+ .
+ This package contains the documentation for Nini
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..271a3a6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by Sebastian Dröge <slomo at ubuntu.com> on
+Wed, 08 Mar 2006 20:10:56 +0100.
+
+It was downloaded from http://nini.sourceforge.net
+
+Upstream Authors:  Brent R. Matzelle <bmatzelle at yahoo.com>	
+
+Copyright:
+
+Copyright (c) 2004 Brent R. Matzelle
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/libnini-doc.docs b/debian/libnini-doc.docs
new file mode 100644
index 0000000..6005f40
--- /dev/null
+++ b/debian/libnini-doc.docs
@@ -0,0 +1 @@
+Docs
diff --git a/debian/libnini1.0-cil.install b/debian/libnini1.0-cil.install
new file mode 100644
index 0000000..444b3d5
--- /dev/null
+++ b/debian/libnini1.0-cil.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib
diff --git a/debian/nini-1.0.pc b/debian/nini-1.0.pc
new file mode 100644
index 0000000..ca3e7c9
--- /dev/null
+++ b/debian/nini-1.0.pc
@@ -0,0 +1,8 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib/nini/
+
+Name: nini
+Description: Nini - CLI library for managing configuration files
+Version: 1.0.0
+Libs: -r:${libdir}/nini.dll
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fe77539
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is for the .wapi directory for Mono.
+export MONO_SHARED_DIR=$(CURDIR)
+
+# provide patch and unpatch targets
+include /usr/share/dpatch/dpatch.make
+
+build: patch-stamp build-stamp
+build-stamp:
+	uudecode -o debian/Nini.snk debian/Nini.snk.uue
+	$(MAKE) -f debian/Makefile
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -rf build
+	rm -rf $(MONO_SHARED_DIR)/.wapi
+	rm -f build-stamp debian/Nini.snk
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+	# install the file into the GAC
+	gacutil -i build/nini.dll -root $(CURDIR)/debian/tmp/usr/lib
+	# install into /usr/lib/nini
+	mkdir -p debian/tmp/usr/lib/nini
+	cp build/nini.dll* debian/tmp/usr/lib/nini
+	mkdir -p debian/tmp/usr/lib/pkgconfig
+	cp debian/nini-1.0.pc debian/tmp/usr/lib/pkgconfig
+	# fix permissions
+	find debian/tmp -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGELOG.txt
+	dh_installdocs
+	dh_installdirs
+	dh_install
+	dh_installman
+	dh_installemacsen
+	dh_compress
+	dh_fixperms
+	dh_makeclilibs -V
+	dh_clideps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1d8ed58
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://sf.net/nini/Nini-(.*)\.zip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/nini.git



More information about the Pkg-cli-libs-commits mailing list