From 952a8c271bc6b4c811d7db6e52955e197b5f957b9c4b7282a0276261b9544599 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 15 Feb 2011 17:14:24 +0000 Subject: [PATCH] Accepting request 60306 from devel:languages:python Accepted submit request 60306 from user ug OBS-URL: https://build.opensuse.org/request/show/60306 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libyaml?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + libyaml.changes | 10 +++++++ libyaml.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++ yaml-0.1.3.tar.gz | 3 +++ 5 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libyaml.changes create mode 100644 libyaml.spec create mode 100644 yaml-0.1.3.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libyaml.changes b/libyaml.changes new file mode 100644 index 0000000..0498de6 --- /dev/null +++ b/libyaml.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 9 19:05:55 UTC 2011 - pascal.bleser@opensuse.org + +- fixed erroneous license from GPLv2 to MIT, bnc#670525 + +------------------------------------------------------------------- +Tue Apr 6 22:55:47 UTC 2010 - mrueckert@suse.de + +- initial package of version 0.1.3 + diff --git a/libyaml.spec b/libyaml.spec new file mode 100644 index 0000000..f0e0c2c --- /dev/null +++ b/libyaml.spec @@ -0,0 +1,69 @@ +# norootforbuild + +Name: libyaml +Version: 0.1.3 +Release: 0 +# +License: MIT +Group: Development/Libraries/C and C++ +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# +Url: http://pyyaml.org/wiki/LibYAML +Source: http://pyyaml.org/download/libyaml/yaml-0.1.3.tar.gz +# +Summary: A YAML 1.1 parser and emitter written in C +%description +A YAML 1.1 parser and emitter written in C + +%define lib_name libyaml-0-2 +%package -n %{lib_name} +Group: Development/Libraries/C and C++ +# +Summary: Shared library from libyaml +%description -n %{lib_name} +A YAML 1.1 parser and emitter written in C + +This package holds the shared library of libyaml. + +%package devel +Group: Development/Libraries/C and C++ +Requires: %{lib_name} = %{version} +# +Summary: Development files for libyaml +%description devel +A YAML 1.1 parser and emitter written in C + +This package holds the development files for libyaml. + +%prep +%setup -n yaml-%{version} + +%build +%configure --with-pic --disable-static +make %{?_smp_flags} + +%install +%makeinstall +find %{buildroot} -name \*.la -delete -print + +%check +make check + +%clean +rm -rf %{buildroot} + +%post -n %{lib_name} -p /sbin/ldconfig +%postun -n %{lib_name} -p /sbin/ldconfig + +%files -n %{lib_name} +%defattr(-,root,root,-) +%{_libdir}/libyaml-0.so.2 +%{_libdir}/libyaml-0.so.2.0.1 + +%files devel +%defattr(-,root,root,-) +%{_includedir}/yaml.h +%{_libdir}/libyaml.so + +%changelog diff --git a/yaml-0.1.3.tar.gz b/yaml-0.1.3.tar.gz new file mode 100644 index 0000000..9f7d81f --- /dev/null +++ b/yaml-0.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8bbad7e5250b3735126b7e3bd9f6fce9db19d6be7cc13abad17a24b59ec144a +size 466845