libyaml/libyaml.spec

67 lines
1.6 KiB
RPMSpec

Name: libyaml
Version: 0.1.4
Release: 1mamba
Summary: LibYAML - A C library for parsing and emitting YAML
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pyyaml.org/wiki/LibYAML
## GITSOURCE https://github.com/yaml/libyaml.git 0.1.4
Source: https://github.com/yaml/libyaml.git/%{version}/libyaml-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LibYAML - A C library for parsing and emitting YAML.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./bootstrap
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libyaml-0.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/yaml.h
%{_libdir}/libyaml.a
%{_libdir}/libyaml.la
%{_libdir}/libyaml.so
%{_libdir}/pkgconfig/yaml-0.1.pc
%doc README
%changelog
* Sun Oct 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
- package created using the webbuild interface