From 40198afcd9f9acd69fabdf61ed3626cf3274ed3a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:15:41 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.7.0-1mamba;Mon Apr 07 2014] --- README.md | 2 ++ syck.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 syck.spec diff --git a/README.md b/README.md index c12df68..101c87e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # syck +A library to make parsing and emitting YAML very simple for scripting languages through C bindings. + diff --git a/syck.spec b/syck.spec new file mode 100644 index 0000000..83f4bcb --- /dev/null +++ b/syck.spec @@ -0,0 +1,72 @@ +Name: syck +Version: 0.7.0 +Release: 1mamba +Summary: Parsing and emitting YAML very simple for scripting languages through C bindings +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/indeyets/syck +## GITSOURCE https://github.com/indeyets/syck.git master +Source: https://github.com/indeyets/syck.git/master/syck-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 syck' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library to make parsing and emitting YAML very simple for scripting languages through C bindings. + +%package -n lib%{name} +Group: System/Libraries +Summary: YAML to C binding library + +%description -n lib%{name} +A library to make parsing and emitting YAML very simple for scripting languages through C bindings. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +./bootstrap +%configure +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && 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}/libsyck.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/syck.h +%{_includedir}/syck_st.h +%{_libdir}/libsyck.a +%{_libdir}/libsyck.la +%{_libdir}/libsyck.so +%doc README README.BYTECODE README.EXT TODO + +%changelog +* Mon Apr 07 2014 Silvan Calarco 0.7.0-1mamba +- package created using the webbuild interface