Tue, 28 Aug 2012 18:50:20 +0200
Remove sources as recent upstream resynchronization makes maintenance redundant.
yaml/yaml.patch | file | annotate | diff | comparison | revisions | |
yaml/yaml.spec | file | annotate | diff | comparison | revisions | |
yaml/yaml.yml | file | annotate | diff | comparison | revisions |
1.1 --- a/yaml/yaml.patch Tue Aug 28 18:50:10 2012 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,159 +0,0 @@ 1.4 -Index: YAML-AppConfig-0.16/Makefile.PL 1.5 ---- YAML-AppConfig-0.16/Makefile.PL.orig 2006-07-02 23:21:51.000000000 +0200 1.6 -+++ YAML-AppConfig-0.16/Makefile.PL 2012-07-31 16:07:20.000000000 +0200 1.7 -@@ -21,6 +21,7 @@ 1.8 - eval "require $info->[0]; 0;"; 1.9 - push @yamls, @$info unless $@; 1.10 - } 1.11 -- die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; 1.12 -+ # die "YAML >= 0.38 or YAML::Syck >= 0 required.\n" unless @yamls; 1.13 - return @yamls; 1.14 - } 1.15 -+ 1.16 -Index: syck-0.70/lib/bytecode.c 1.17 ---- syck-0.70/lib/bytecode.c.orig 2009-09-30 19:29:34.000000000 +0200 1.18 -+++ syck-0.70/lib/bytecode.c 2012-07-31 16:10:17.000000000 +0200 1.19 -@@ -7,11 +7,16 @@ 1.20 - * 1.21 - * Copyright (C) 2003 why the lucky stiff 1.22 - */ 1.23 -+ 1.24 -+#include <stdlib.h> 1.25 -+#include <string.h> 1.26 -+ 1.27 - #include "syck.h" 1.28 - 1.29 - #if GRAM_FILES_HAVE_TAB_SUFFIX 1.30 - #include "gram.tab.h" 1.31 - #else 1.32 -+#define YYPARSE_PARAM 1.33 - #include "gram.h" 1.34 - #endif 1.35 - 1.36 -Index: syck-0.70/lib/gram.y 1.37 ---- syck-0.70/lib/gram.y.orig 2009-09-30 19:29:34.000000000 +0200 1.38 -+++ syck-0.70/lib/gram.y 2012-07-31 16:09:51.000000000 +0200 1.39 -@@ -19,14 +19,14 @@ 1.40 - #define YYSTACK_USE_ALLOCA 0 1.41 - #endif 1.42 - 1.43 -+#define YYPARSE_PARAM parser 1.44 -+#define YYLEX_PARAM parser 1.45 -+ 1.46 - #include "syck.h" 1.47 - #include "sycklex.h" 1.48 - 1.49 - void apply_seq_in_map( SyckParser *parser, SyckNode *n ); 1.50 - 1.51 --#define YYPARSE_PARAM parser 1.52 --#define YYLEX_PARAM parser 1.53 -- 1.54 - #define NULL_NODE(parser, node) \ 1.55 - SyckNode *node = syck_new_str( "", scalar_plain ); \ 1.56 - if ( ((SyckParser *)parser)->taguri_expansion == 1 ) \ 1.57 -Index: syck-0.70/lib/handler.c 1.58 ---- syck-0.70/lib/handler.c.orig 2009-09-30 19:29:34.000000000 +0200 1.59 -+++ syck-0.70/lib/handler.c 2012-07-31 16:07:20.000000000 +0200 1.60 -@@ -7,6 +7,9 @@ 1.61 - * Copyright (C) 2003 why the lucky stiff 1.62 - */ 1.63 - 1.64 -+#include <stdlib.h> 1.65 -+#include <string.h> 1.66 -+ 1.67 - #include "syck.h" 1.68 - 1.69 - SYMID 1.70 -Index: syck-0.70/lib/implicit.c 1.71 ---- syck-0.70/lib/implicit.c.orig 2009-09-30 19:29:34.000000000 +0200 1.72 -+++ syck-0.70/lib/implicit.c 2012-07-31 16:07:20.000000000 +0200 1.73 -@@ -8,6 +8,7 @@ 1.74 - * Copyright (C) 2003 why the lucky stiff 1.75 - */ 1.76 - 1.77 -+#include <stdlib.h> 1.78 - #include "syck.h" 1.79 - 1.80 - #define YYCTYPE char 1.81 -Index: syck-0.70/lib/node.c 1.82 ---- syck-0.70/lib/node.c.orig 2009-09-30 19:29:34.000000000 +0200 1.83 -+++ syck-0.70/lib/node.c 2012-07-31 16:07:20.000000000 +0200 1.84 -@@ -7,6 +7,9 @@ 1.85 - * Copyright (C) 2003 why the lucky stiff 1.86 - */ 1.87 - 1.88 -+#include <stdlib.h> 1.89 -+#include <string.h> 1.90 -+ 1.91 - #include "syck.h" 1.92 - 1.93 - /* 1.94 -Index: syck-0.70/lib/syck.c 1.95 ---- syck-0.70/lib/syck.c.orig 2009-09-30 19:29:34.000000000 +0200 1.96 -+++ syck-0.70/lib/syck.c 2012-07-31 16:07:20.000000000 +0200 1.97 -@@ -7,6 +7,7 @@ 1.98 - * Copyright (C) 2003 why the lucky stiff 1.99 - */ 1.100 - #include <stdio.h> 1.101 -+#include <stdlib.h> 1.102 - #include <string.h> 1.103 - 1.104 - #include "syck.h" 1.105 -@@ -67,12 +68,13 @@ 1.106 - 1.107 - ASSERT( str != NULL ); 1.108 - beg = str->ptr; 1.109 -+ 1.110 - if ( max_size >= 0 ) 1.111 - { 1.112 - max_size -= skip; 1.113 -- if ( max_size <= 0 ) max_size = 0; 1.114 -- else str->ptr += max_size; 1.115 -+ if ( max_size < 0 ) max_size = 0; 1.116 - 1.117 -+ str->ptr += max_size; 1.118 - if ( str->ptr > str->end ) 1.119 - { 1.120 - str->ptr = str->end; 1.121 -Index: syck-0.70/lib/syck.h 1.122 ---- syck-0.70/lib/syck.h.orig 2009-09-30 19:29:34.000000000 +0200 1.123 -+++ syck-0.70/lib/syck.h 2012-07-31 16:07:20.000000000 +0200 1.124 -@@ -36,6 +36,8 @@ 1.125 - 1.126 - #include <stddef.h> 1.127 - #include <stdio.h> 1.128 -+#include <stdlib.h> 1.129 -+#include <string.h> 1.130 - #include <ctype.h> 1.131 - #ifdef HAVE_ST_H 1.132 - #include <st.h> 1.133 -Index: syck-0.70/lib/token.c 1.134 ---- syck-0.70/lib/token.c.orig 2009-09-30 19:29:34.000000000 +0200 1.135 -+++ syck-0.70/lib/token.c 2012-07-31 16:10:37.000000000 +0200 1.136 -@@ -7,11 +7,14 @@ 1.137 - * 1.138 - * Copyright (C) 2003 why the lucky stiff 1.139 - */ 1.140 -+#include <stdlib.h> 1.141 -+#include <string.h> 1.142 - #include "syck.h" 1.143 - 1.144 - #if GRAM_FILES_HAVE_TAB_SUFFIX 1.145 - #include "gram.tab.h" 1.146 - #else 1.147 -+#define YYPARSE_PARAM 1.148 - #include "gram.h" 1.149 - #endif 1.150 - 1.151 -Index: syck-0.70/lib/yaml2byte.c 1.152 ---- syck-0.70/lib/yaml2byte.c.orig 2009-09-30 19:29:34.000000000 +0200 1.153 -+++ syck-0.70/lib/yaml2byte.c 2012-07-31 16:07:20.000000000 +0200 1.154 -@@ -11,6 +11,8 @@ 1.155 - */ 1.156 - #include "syck.h" 1.157 - #include <assert.h> 1.158 -+#include <stdlib.h> 1.159 -+#include <string.h> 1.160 - #define YAMLBYTE_UTF8 1.161 - #include "yamlbyte.h" 1.162 -
2.1 --- a/yaml/yaml.spec Tue Aug 28 18:50:10 2012 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,378 +0,0 @@ 2.4 -## 2.5 -## yaml.spec -- OpenPKG RPM Package Specification 2.6 -## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/> 2.7 -## 2.8 -## Permission to use, copy, modify, and distribute this software for 2.9 -## any purpose with or without fee is hereby granted, provided that 2.10 -## the above copyright notice and this permission notice appear in all 2.11 -## copies. 2.12 -## 2.13 -## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 2.14 -## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2.15 -## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2.16 -## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 2.17 -## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2.18 -## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2.19 -## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2.20 -## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2.21 -## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2.22 -## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2.23 -## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2.24 -## SUCH DAMAGE. 2.25 -## 2.26 - 2.27 -# package version 2.28 -%define V_libsyck 0.70 2.29 -%define V_libyaml 0.1.4 2.30 -%define V_perl_yaml 0.84 2.31 -%define V_perl_yaml_syck 1.20 2.32 -%define V_perl_yaml_tiny 1.51 2.33 -%define V_perl_yaml_appconfig 0.16 2.34 -%define V_perl_yaml_libyaml 0.38 2.35 -%define V_perl_yaml_active 1.100810 2.36 -%define V_perl_yaml_object 0.04 2.37 -%define V_perl_io_yaml 0.08 2.38 -%define V_yaml_javascript 0.03 2.39 -%define V_yaml_spec 2004-12-28 2.40 -%define V_java_jvyaml 0.2.1 2.41 -%define V_java_jyaml 1.3 2.42 -%define V_php_syck 0.9.3 2.43 -%define V_php_yaml 1.1.0RC2 2.44 -%define V_php_spyc 0.4.5 2.45 - 2.46 -# package information 2.47 -Name: yaml 2.48 -Summary: YAML Ain't Markup Language (YAML) 2.49 -URL: http://yaml.org/ 2.50 -Vendor: B. Ingerson, C. Evans, O. Ben-Kiki et al. 2.51 -Packager: OpenPKG Foundation e.V. 2.52 -Distribution: OpenPKG Community 2.53 -Class: PLUS 2.54 -Group: Language 2.55 -License: BSD/Artistic 2.56 -Version: 0 2.57 -Release: 20120731 2.58 - 2.59 -# package options 2.60 -%option with_perl no 2.61 -%option with_php no 2.62 -%option with_ruby no 2.63 -%option with_java no 2.64 - 2.65 -# list of sources 2.66 -Source0: http://cloud.github.com/downloads/indeyets/syck/syck-%{V_libsyck}.tar.gz 2.67 -Source1: http://pyyaml.org/download/libyaml/yaml-%{V_libyaml}.tar.gz 2.68 -Source2: http://www.cpan.org/modules/by-module/YAML/YAML-%{V_perl_yaml}.tar.gz 2.69 -Source3: http://www.cpan.org/modules/by-module/YAML/YAML-Syck-%{V_perl_yaml_syck}.tar.gz 2.70 -Source4: http://www.cpan.org/modules/by-module/YAML/YAML-Tiny-%{V_perl_yaml_tiny}.tar.gz 2.71 -Source5: http://www.cpan.org/modules/by-module/YAML/YAML-AppConfig-%{V_perl_yaml_appconfig}.tar.gz 2.72 -Source6: http://www.cpan.org/modules/by-module/YAML/YAML-LibYAML-%{V_perl_yaml_libyaml}.tar.gz 2.73 -Source7: http://www.cpan.org/modules/by-module/YAML/YAML-Active-%{V_perl_yaml_active}.tar.gz 2.74 -Source8: http://www.cpan.org/authors/id/N/NK/NKUITSE/IO-YAML-%{V_perl_io_yaml}.tar.gz 2.75 -Source9: http://osdn.dl.sourceforge.net/yaml-javascript/yaml-javascript-%{V_yaml_javascript}.tar.gz 2.76 -Source10: https://jvyaml.dev.java.net/files/documents/5215/41455/jvyaml-src-%{V_java_jvyaml}.tar.gz 2.77 -Source11: http://switch.dl.sourceforge.net/jyaml/jyaml-src-%{V_java_jyaml}.tgz 2.78 -Source12: http://www.cpan.org/authors/id/E/EI/EIDOLON/YAML-Object-%{V_perl_yaml_object}.tar.gz 2.79 -Source13: http://pecl.php.net/get/syck-%{V_php_syck}.tgz 2.80 -Source14: http://pecl.php.net/get/yaml-%{V_php_yaml}.tgz 2.81 -Source15: http://spyc.googlecode.com/files/spyc-%{V_php_spyc}.zip 2.82 -Source16: http://yaml.org/spec/history/%{V_yaml_spec}/%{V_yaml_spec}.pdf 2.83 -Source17: yaml.yml 2.84 -Patch0: yaml.patch 2.85 - 2.86 -# build information 2.87 -BuildPreReq: OpenPKG, openpkg >= 20100101, make, bison 2.88 -PreReq: OpenPKG, openpkg >= 20100101 2.89 -%if "%{with_perl}" == "yes" 2.90 -BuildPreReq: perl, perl-openpkg, perl-module 2.91 -PreReq: perl 2.92 -%endif 2.93 -%if "%{with_php}" == "yes" 2.94 -BuildPreReq: php, autoconf 2.95 -PreReq: php 2.96 -%endif 2.97 -%if "%{with_ruby}" == "yes" 2.98 -BuildPreReq: ruby 2.99 -PreReq: ruby 2.100 -%endif 2.101 -%if "%{with_java}" == "yes" 2.102 -BuildPreReq: java, JAVA-JDK, ant 2.103 -PreReq: java, JAVA-JDK 2.104 -%endif 2.105 - 2.106 -%description 2.107 - YAML Ain't Markup Language (YAML) is an international collaboration 2.108 - to make a sophisticated data serialization language which is both 2.109 - human readable and computationally powerful. This OpenPKG package 2.110 - provides C, and JavaScript plus optionally Perl, PHP, and Ruby APIs 2.111 - for the generation and parsing of YAML. 2.112 - 2.113 -%track 2.114 - prog yaml:libsyck = { 2.115 - version = %{V_libsyck} 2.116 - url = http://github.com/indeyets/syck/downloads 2.117 - regex = syck-(__VER__)\.tar\.gz 2.118 - } 2.119 - prog yaml:libyaml = { 2.120 - version = %{V_libyaml} 2.121 - url = http://pyyaml.org/download/libyaml/ 2.122 - regex = yaml-(__VER__)\.tar\.gz 2.123 - } 2.124 - prog yaml:YAML = { 2.125 - version = %{V_perl_yaml} 2.126 - url = http://www.cpan.org/modules/by-module/YAML/ 2.127 - regex = YAML-(__VER__)\.tar\.gz 2.128 - } 2.129 - prog yaml:YAML-Syck = { 2.130 - version = %{V_perl_yaml_syck} 2.131 - url = http://www.cpan.org/modules/by-module/YAML/ 2.132 - regex = YAML-Syck-(__VER__)\.tar\.gz 2.133 - } 2.134 - prog yaml:YAML-Tiny = { 2.135 - version = %{V_perl_yaml_tiny} 2.136 - url = http://www.cpan.org/modules/by-module/YAML/ 2.137 - regex = YAML-Tiny-(__VER__)\.tar\.gz 2.138 - } 2.139 - prog yaml:YAML-AppConfig = { 2.140 - version = %{V_perl_yaml_appconfig} 2.141 - url = http://www.cpan.org/modules/by-module/YAML/ 2.142 - regex = YAML-AppConfig-(__VER__)\.tar\.gz 2.143 - } 2.144 - prog yaml:YAML-LibYAML = { 2.145 - version = %{V_perl_yaml_libyaml} 2.146 - url = http://www.cpan.org/modules/by-module/YAML/ 2.147 - regex = YAML-LibYAML-(__VER__)\.tar\.gz 2.148 - } 2.149 - prog yaml:YAML-Active = { 2.150 - comment = "rse: 1.08 requires Class::Accessor::Complex and this too many others" 2.151 - version = %{V_perl_yaml_active} 2.152 - url = http://www.cpan.org/modules/by-module/YAML/ 2.153 - regex = YAML-Active-(__VER__)\.tar\.gz 2.154 - } 2.155 - prog yaml:IO-YAML = { 2.156 - version = %{V_perl_io_yaml} 2.157 - url = http://www.cpan.org/authors/id/N/NK/NKUITSE/ 2.158 - regex = IO-YAML-(__VER__)\.tar\.gz 2.159 - } 2.160 - prog yaml:yaml-javascript = { 2.161 - version = %{V_yaml_javascript} 2.162 - url = http://sourceforge.net/projects/yaml-javascript/files/ 2.163 - regex = yaml-javascript-(__VER__)\.tar\.gz 2.164 - } 2.165 - prog yaml:yaml-spec = { 2.166 - disabled 2.167 - comment = "rse: website references not existing 2004-12-30 and no updates since recently anyway" 2.168 - version = %{V_yaml_spec} 2.169 - url = http://yaml.org/spec/ 2.170 - regex = (\d{4}-\d{2}-\d{2})\.pdf 2.171 - } 2.172 - prog yaml:java-jvyaml = { 2.173 - version = %{V_java_jvyaml} 2.174 - url = http://jvyaml.dev.java.net/servlets/ProjectDocumentList 2.175 - regex = jvyaml-src-(__VER__)\.tar\.gz 2.176 - } 2.177 - prog yaml:java-jyaml = { 2.178 - version = %{V_java_jyaml} 2.179 - url = http://sourceforge.net/projects/jyaml/files/ 2.180 - regex = jyaml-src-(__VER__)\.tgz 2.181 - } 2.182 - prog yaml:YAML-Object = { 2.183 - version = %{V_perl_yaml_object} 2.184 - url = http://www.cpan.org/authors/id/E/EI/EIDOLON/ 2.185 - regex = YAML-Object-(__VER__)\.tar\.gz 2.186 - } 2.187 - prog yaml:PHP-Syck = { 2.188 - version = %{V_php_syck} 2.189 - url = http://pecl.php.net/package/syck 2.190 - regex = syck-(__VER__)\.tgz 2.191 - } 2.192 - prog yaml:PHP-YAML = { 2.193 - version = %{V_php_yaml} 2.194 - url = http://pecl.php.net/package/yaml 2.195 - regex = yaml-(__VER__)\.tgz 2.196 - } 2.197 - prog yaml:PHP-spyc = { 2.198 - version = %{V_php_spyc} 2.199 - url = http://spyc.googlecode.com/files/ 2.200 - regex = spyc-(__VER__)\.zip 2.201 - } 2.202 - 2.203 -%prep 2.204 - %setup -q -c 2.205 - %setup -q -T -D -a 1 2.206 - %setup -q -T -D -a 2 2.207 - %setup -q -T -D -a 3 2.208 - %setup -q -T -D -a 4 2.209 - %setup -q -T -D -a 5 2.210 - %setup -q -T -D -a 6 2.211 - %setup -q -T -D -a 7 2.212 - %setup -q -T -D -a 8 2.213 - %setup -q -T -D -a 9 2.214 - %setup -q -T -D -a 10 2.215 - %setup -q -T -D -a 11 2.216 - %setup -q -T -D -a 12 2.217 - %setup -q -T -D -a 13 2.218 - %setup -q -T -D -a 14 2.219 - %setup -q -T -D -a 15 2.220 - %patch -p0 2.221 - 2.222 -%build 2.223 - # build YAML C API 2.224 - ( cd yaml-%{V_libyaml} 2.225 - CC="%{l_cc}" \ 2.226 - CFLAGS="%{l_cflags -O}" \ 2.227 - ./configure \ 2.228 - --prefix=%{l_prefix} \ 2.229 - --disable-shared 2.230 - %{l_make} %{l_mflags -O} 2.231 - ) || exit $? 2.232 - 2.233 - # build Syck C API 2.234 - ( cd syck-%{V_libsyck} 2.235 - CC="%{l_cc}" \ 2.236 - CFLAGS="%{l_cflags -O}" \ 2.237 - ./configure \ 2.238 - --prefix=%{l_prefix} 2.239 - %{l_make} %{l_mflags} 2.240 - ) || exit $? 2.241 - 2.242 - # build PHP API 2.243 -%if "%{with_php}" == "yes" 2.244 - ( cd syck-%{V_php_syck} 2.245 - %{l_prefix}/bin/phpize 2.246 - CC="%{l_cc}" \ 2.247 - CFLAGS="%{l_cflags -O}" \ 2.248 - CPPFLAGS="-I`pwd`/../syck-%{V_libsyck}/lib" \ 2.249 - LDFLAGS="-L`pwd`/../syck-%{V_libsyck}/lib" \ 2.250 - ./configure \ 2.251 - --with-syck=`pwd`/../syck-%{V_libsyck} 2.252 - %{l_make} %{l_mflags} 2.253 - ) || exit $? 2.254 - ( cd yaml-%{V_php_yaml} 2.255 - %{l_prefix}/bin/phpize 2.256 - CC="%{l_cc}" \ 2.257 - CFLAGS="%{l_cflags -O}" \ 2.258 - CPPFLAGS="-I`pwd`/../yaml-%{V_libyaml}/include" \ 2.259 - LDFLAGS="-L`pwd`/../yaml-%{V_libyaml}/src/.libs" \ 2.260 - ./configure \ 2.261 - --with-yaml=`pwd`/../yaml-%{V_libyaml} 2.262 - %{l_make} %{l_mflags} 2.263 - ) || exit $? 2.264 -%endif 2.265 - 2.266 - # build Ruby API 2.267 -%if "%{with_ruby}" == "yes" 2.268 - ( cd syck-%{V_libsyck}/ext/ruby 2.269 - %{l_prefix}/bin/ruby install.rb config --prefix=%{l_prefix} 2.270 - %{l_prefix}/bin/ruby install.rb setup 2.271 - ) || exit $? 2.272 -%endif 2.273 - 2.274 - # build Perl API 2.275 -%if "%{with_perl}" == "yes" 2.276 - %{l_prefix}/bin/perl-openpkg prepare 2.277 - %{l_prefix}/bin/perl-openpkg -d YAML-%{V_perl_yaml} configure build 2.278 - %{l_prefix}/bin/perl-openpkg -d YAML-Syck-%{V_perl_yaml_syck} configure build 2.279 - %{l_prefix}/bin/perl-openpkg -d YAML-Tiny-%{V_perl_yaml_tiny} configure build 2.280 - %{l_prefix}/bin/perl-openpkg -d YAML-AppConfig-%{V_perl_yaml_appconfig} configure build 2.281 - %{l_prefix}/bin/perl-openpkg -d YAML-LibYAML-%{V_perl_yaml_libyaml} configure build 2.282 - %{l_prefix}/bin/perl-openpkg -d YAML-Active-%{V_perl_yaml_active} configure build 2.283 - %{l_prefix}/bin/perl-openpkg -d YAML-Object-%{V_perl_yaml_object} configure build 2.284 - %{l_prefix}/bin/perl-openpkg -d IO-YAML-%{V_perl_io_yaml} configure build 2.285 -%endif 2.286 - 2.287 - # build Java API 2.288 -%if "%{with_java}" == "yes" 2.289 - ( cd jvyaml-%{V_java_jvyaml} 2.290 - %{l_prefix}/bin/ant 2.291 - ) || exit $? 2.292 - ( cd jyaml 2.293 - %{l_prefix}/bin/ant 2.294 - ) || exit $? 2.295 -%endif 2.296 - 2.297 -%install 2.298 - 2.299 - # install YAML C API 2.300 - ( cd yaml-%{V_libyaml} 2.301 - %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 2.302 - ) || exit $? 2.303 - 2.304 - # install Syck C API 2.305 - ( cd syck-%{V_libsyck} 2.306 - %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 2.307 - ) || exit $? 2.308 - 2.309 - # install PHP API 2.310 -%if "%{with_php}" == "yes" 2.311 - ( cd syck-%{V_php_syck} 2.312 - %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT 2.313 - ) || exit $? 2.314 - ( cd yaml-%{V_php_yaml} 2.315 - %{l_make} %{l_mflags} install INSTALL_ROOT=$RPM_BUILD_ROOT 2.316 - ) || exit $? 2.317 - ( cd spyc-%{V_php_spyc} 2.318 - %{l_shtool} mkdir -f -p -m 755 \ 2.319 - $RPM_BUILD_ROOT%{l_prefix}/share/yaml 2.320 - %{l_shtool} install -c -m 644 \ 2.321 - spyc.php $RPM_BUILD_ROOT%{l_prefix}/share/yaml/ 2.322 - ) || exit $? 2.323 -%endif 2.324 - 2.325 - # install Ruby API 2.326 -%if "%{with_ruby}" == "yes" 2.327 - ( cd syck-%{V_libsyck}/ext/ruby 2.328 - %{l_prefix}/bin/ruby install.rb install --prefix=$RPM_BUILD_ROOT 2.329 - ) || exit $? 2.330 -%endif 2.331 - 2.332 - # install Perl API 2.333 -%if "%{with_perl}" == "yes" 2.334 - %{l_prefix}/bin/perl-openpkg -d YAML-%{V_perl_yaml} install 2.335 - %{l_prefix}/bin/perl-openpkg -d YAML-Syck-%{V_perl_yaml_syck} install 2.336 - %{l_prefix}/bin/perl-openpkg -d YAML-Tiny-%{V_perl_yaml_tiny} install 2.337 - %{l_prefix}/bin/perl-openpkg -d YAML-AppConfig-%{V_perl_yaml_appconfig} install 2.338 - %{l_prefix}/bin/perl-openpkg -d YAML-LibYAML-%{V_perl_yaml_libyaml} install 2.339 - %{l_prefix}/bin/perl-openpkg -d YAML-Active-%{V_perl_yaml_active} install 2.340 - %{l_prefix}/bin/perl-openpkg -d YAML-Object-%{V_perl_yaml_object} install 2.341 - %{l_prefix}/bin/perl-openpkg -d IO-YAML-%{V_perl_io_yaml} install 2.342 - %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup 2.343 -%else 2.344 - >perl-openpkg-files 2.345 -%endif 2.346 - 2.347 - # install Java API 2.348 -%if "%{with_java}" == "yes" 2.349 - %{l_shtool} mkdir -f -p -m 755 \ 2.350 - $RPM_BUILD_ROOT%{l_prefix}/lib/yaml 2.351 - %{l_shtool} install -c -m 644 \ 2.352 - jvyaml-%{V_java_jvyaml}/lib/jvyaml.jar \ 2.353 - $RPM_BUILD_ROOT%{l_prefix}/lib/yaml/ 2.354 - %{l_shtool} install -c -m 644 \ 2.355 - jyaml/dist/jyaml-*.jar \ 2.356 - $RPM_BUILD_ROOT%{l_prefix}/lib/yaml/jyaml.jar 2.357 -%endif 2.358 - 2.359 - # install JavaScript API 2.360 - %{l_shtool} mkdir -f -p -m 755 \ 2.361 - $RPM_BUILD_ROOT%{l_prefix}/share/yaml 2.362 - %{l_shtool} install -c -m 644 \ 2.363 - yaml-javascript-%{V_yaml_javascript}/yaml_dumper.js \ 2.364 - $RPM_BUILD_ROOT%{l_prefix}/share/yaml/ 2.365 - 2.366 - # install YAML specification and quick reference 2.367 - %{l_shtool} install -c -m 644 \ 2.368 - %{SOURCE %{V_yaml_spec}.pdf} \ 2.369 - $RPM_BUILD_ROOT%{l_prefix}/share/yaml/yaml.pdf 2.370 - %{l_shtool} install -c -m 644 \ 2.371 - %{SOURCE yaml.yml} \ 2.372 - $RPM_BUILD_ROOT%{l_prefix}/share/yaml/ 2.373 - 2.374 - # determine installation files 2.375 - %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ 2.376 - %{l_files_std} `cat perl-openpkg-files` 2.377 - 2.378 -%files -f files 2.379 - 2.380 -%clean 2.381 -
3.1 --- a/yaml/yaml.yml Tue Aug 28 18:50:10 2012 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,62 +0,0 @@ 3.4 -%YAML 1.1 # Reference card 3.5 ---- 3.6 -Collection indicators: 3.7 - '? ' : Key indicator. 3.8 - ': ' : Value indicator. 3.9 - '- ' : Nested series entry indicator. 3.10 - ', ' : Separate in-line branch entries. 3.11 - '[]' : Surround in-line series branch. 3.12 - '{}' : Surround in-line keyed branch. 3.13 -Scalar indicators: 3.14 - '''' : Surround in-line unescaped scalar ('' escaped '). 3.15 - '"' : Surround in-line escaped scalar (see escape codes below). 3.16 - '|' : Block scalar indicator. 3.17 - '>' : Folded scalar indicator. 3.18 - '-' : Strip chomp modifier ('|-' or '>-'). 3.19 - '+' : Keep chomp modifier ('|+' or '>+'). 3.20 - 1-9 : Explicit indentation modifier ('|1' or '>2'). 3.21 - # Modifiers can be combined ('|2-', '>+1'). 3.22 -Alias indicators: 3.23 - '&' : Anchor property. 3.24 - '*' : Alias indicator. 3.25 -Tag property: # Usually unspecified. 3.26 - none : Unspecified tag (automatically resolved by application). 3.27 - '!' : Non-specific tag (by default, "!!map"/"!!seq"/"!!str"). 3.28 - '!foo': Primary (by convention, means a local "!foo" tag). 3.29 - '!!foo': Secondary (by convention, means "tag:yaml.org,2002:foo"). 3.30 - '!h!foo': Requires "%TAG !h! <prefix>" (and then means "<prefix>foo"). 3.31 - '!<foo>': Verbatim tag (always means "foo"). 3.32 -Document indicators: 3.33 - '%' : Directive indicator. 3.34 - '---' : Document header. 3.35 - '...' : Document terminator. 3.36 -Misc indicators: 3.37 - ' #' : Throwaway comment indicator. 3.38 - '`@' : Both reserved for future use. 3.39 -Special keys: 3.40 - '=' : Default "value" mapping key. 3.41 - '<<' : Merge keys from another mapping. 3.42 -Core types: # Default automatic tags. 3.43 - '!!map' : [ Hash table, dictionary, mapping ] 3.44 - '!!seq' : [ List, array, tuple, vector, sequence ] 3.45 - '!!str' : Unicode string 3.46 -More types: 3.47 - '!!set' : { cherries, plums, apples } 3.48 - '!!omap' : [ one: 1, two: 2 ] 3.49 -Language Independent Scalar types: 3.50 - { ~, null } : Null (no value). 3.51 - { 1234, 0x4D2, 02333 } : [ Decimal int, Hexadecimal int, Octal int ] 3.52 - { 1_230.15, 12.3015e+02 } : [ Fixed float, Exponential float ] 3.53 - { .inf, -.Inf, .NAN } : [ Infinity (float), Negative, Not a number ] 3.54 - { Y, true, Yes, ON } : Boolean true 3.55 - { n, FALSE, No, off } : Boolean false 3.56 - ? !!binary > 3.57 - R0lG...BADS= 3.58 - : >- 3.59 - Base 64 binary value. 3.60 -Escape codes: 3.61 - Numeric : { "\xXX": 8-bit, "\uXXXX": 16-bit, "\UXXXXXXXX": 32-bit } 3.62 - Protective: { "\\": '\', "\"": '"', "\ ": ' ', "\<TAB>": "<TAB>", "\^": '^' } 3.63 - C: { "\a": BEL, "\b": BS, "\f": FF, "\n": LF, "\r": CR, "\t": TAB, "\v": VTAB } 3.64 - Additional: { "\e": ESC, "\0": NUL, "\_": NBSP, "\N": NEL, "\L": LS, "\P": PS } 3.65 -...