73 lines
2.0 KiB
RPMSpec
73 lines
2.0 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.7.0-1mamba
|
||
|
- package created using the webbuild interface
|