Import yaml-cpp_0.5.1-1.debian.tar.gz
authorLifeng Sun <lifongsun@gmail.com>
Fri, 30 Aug 2013 10:29:05 +0000 (11:29 +0100)
committerLifeng Sun <lifongsun@gmail.com>
Fri, 30 Aug 2013 10:29:05 +0000 (11:29 +0100)
[dgit import tarball yaml-cpp 0.5.1-1 yaml-cpp_0.5.1-1.debian.tar.gz]

changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
libyaml-cpp-dev.install [new file with mode: 0644]
libyaml-cpp0.5.install [new file with mode: 0644]
patches/pkgconfig.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..03073fb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,16 @@
+yaml-cpp (0.5.1-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #706708)
+  * Bump Standards-Version to 3.9.4.
+  * libyaml-cpp-dev: remove multiarch path in yaml-cpp.pc to make
+    lintian happy.
+  * debian/copyright: new Format URI.
+  * debian/control: remove Vcs-Svn field.
+
+ -- Lifeng Sun <lifongsun@gmail.com>  Fri, 30 Aug 2013 18:29:05 +0800
+
+yaml-cpp (0.3.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #636985)
+
+ -- Lifeng Sun <lifongsun@gmail.com>  Sun, 03 Jun 2012 23:48:30 +0800
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+7
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..29e0feb
--- /dev/null
+++ b/control
@@ -0,0 +1,30 @@
+Source: yaml-cpp
+Section: devel
+Priority: optional
+Maintainer: Lifeng Sun <lifongsun@gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), cmake, libboost-dev
+Standards-Version: 3.9.4
+Homepage: http://code.google.com/p/yaml-cpp/
+
+Package: libyaml-cpp0.5
+Section: libs
+Architecture: any
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: YAML parser and emitter for C++
+ yaml-cpp is a C++ library for parsing and emitting data in YAML 1.2, a
+ human-readable data serialization format.
+ .
+ This package provides run-time library of yaml-cpp.
+
+Package: libyaml-cpp-dev
+Section: libdevel
+Architecture: any
+Depends: libyaml-cpp0.5 (= ${binary:Version}), ${misc:Depends}
+Description: YAML parser and emitter for C++ - development files
+ yaml-cpp is a C++ library for parsing and emitting data in YAML 1.2, a
+ human-readable data serialization format.
+ .
+ This package provides development files of yaml-cpp.
+
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..5c97115
--- /dev/null
+++ b/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: yaml-cpp
+Source: http://code.google.com/p/yaml-cpp/downloads/list
+
+Files: *
+Copyright: 2008 Jesse Beder <jbeder@gmail.com>
+License: X11
+ 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 X CONSORTIUM 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.
+
+Files: debian/*
+Copyright: 2011-2013 Lifeng Sun <lifongsun@gmail.com>
+License: GPL-2.0+
+ 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 program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/libyaml-cpp-dev.install b/libyaml-cpp-dev.install
new file mode 100644 (file)
index 0000000..1f5baef
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/
+usr/lib/*/*.a
+usr/lib/*/*.so
+usr/lib/pkgconfig/
diff --git a/libyaml-cpp0.5.install b/libyaml-cpp0.5.install
new file mode 100644 (file)
index 0000000..7a0ab28
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libyaml-cpp.so.*
diff --git a/patches/pkgconfig.patch b/patches/pkgconfig.patch
new file mode 100644 (file)
index 0000000..33b55a0
--- /dev/null
@@ -0,0 +1,15 @@
+--- a/yaml-cpp.pc.cmake
++++ b/yaml-cpp.pc.cmake
+@@ -1,11 +1,10 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=${prefix}/@LIB_INSTALL_DIR@
+ includedir=${prefix}/@INCLUDE_INSTALL_ROOT_DIR@
+ Name: Yaml-cpp
+ Description: A YAML parser and emitter for C++
+ Version: @YAML_CPP_VERSION@
+ Requires:
+-Libs: -L${libdir} -lyaml-cpp
++Libs: -lyaml-cpp
+ Cflags: -I${includedir}
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..cb4fd87
--- /dev/null
@@ -0,0 +1 @@
+pkgconfig.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..da3a344
--- /dev/null
+++ b/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+CPPFLAGS :=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS   :=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS :=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS  :=$(shell dpkg-buildflags --get LDFLAGS)
+
+export DEB_HOST_MULTIARCH CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
+
+override_dh_auto_configure:
+       dh_testdir
+       mkdir build-static; cd build-static; \
+               cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+       mkdir build-shared; cd build-shared; \
+               cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
+
+override_dh_auto_build:
+       dh_testdir
+       $(MAKE) -C build-static
+       $(MAKE) -C build-shared
+
+override_dh_auto_install:
+       dh_testdir
+       dh_prep
+       $(MAKE) -C build-static install DESTDIR=$(CURDIR)/debian/tmp
+       $(MAKE) -C build-shared install DESTDIR=$(CURDIR)/debian/tmp
+       mkdir debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+       mv debian/tmp/usr/lib/lib* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+
+clean:
+       dh_testdir
+       dh_auto_clean
+       dh_clean
+       rm -rf build-static build-shared
+
+%:
+       dh $@
+
+.PHONY: clean
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..b6277d4
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+version=3
+http://code.google.com/p/yaml-cpp/downloads/list .*yaml-cpp-([0-9].*)\.tar\.gz