debian/0000755000000000000000000000000012211302123007151 5ustar debian/changelog0000644000000000000000000000077712211101003011030 0ustar 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 Fri, 30 Aug 2013 18:29:05 +0800 yaml-cpp (0.3.0-1) unstable; urgency=low * Initial release (Closes: #636985) -- Lifeng Sun Sun, 03 Jun 2012 23:48:30 +0800 debian/compat0000644000000000000000000000000212211100722010350 0ustar 7 debian/control0000644000000000000000000000167312211100722010564 0ustar Source: yaml-cpp Section: devel Priority: optional Maintainer: Lifeng Sun 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. debian/copyright0000644000000000000000000000406712211302123011113 0ustar 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 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 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 . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/libyaml-cpp-dev.install0000644000000000000000000000007512211100722013531 0ustar usr/include/ usr/lib/*/*.a usr/lib/*/*.so usr/lib/pkgconfig/ debian/libyaml-cpp0.5.install0000644000000000000000000000003312211100722013172 0ustar usr/lib/*/libyaml-cpp.so.* debian/patches/0000755000000000000000000000000012211100722010601 5ustar debian/patches/pkgconfig.patch0000644000000000000000000000061512211100722013573 0ustar --- 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} debian/patches/series0000644000000000000000000000002012211100722012006 0ustar pkgconfig.patch debian/rules0000755000000000000000000000225412211100722010235 0ustar #!/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 debian/source/0000755000000000000000000000000012211100722010452 5ustar debian/source/format0000644000000000000000000000001412211100722011660 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013112211100722010176 0ustar version=3 http://code.google.com/p/yaml-cpp/downloads/list .*yaml-cpp-([0-9].*)\.tar\.gz