libyaml/libyaml.spec

86 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libyaml
Version: 0.2.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
Source: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
### 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 -n yaml-%{version}
%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.md
%changelog
* Tue Apr 21 2020 Automatic Build System <autodist@mambasoft.it> 0.2.4-1mamba
- automatic version update by autodist
* Fri Jul 19 2019 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
- automatic version update by autodist
* Sun Aug 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- update to 0.2.1
* Fri Sep 02 2016 Automatic Build System <autodist@mambasoft.it> 0.1.7-1mamba
- automatic version update by autodist
* Wed Dec 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.6-2mamba
- rebuilt with gcc 5.2.0
* Sat Dec 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.6-1mamba
- update to 0.1.6
* Sun Oct 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
- package created using the webbuild interface