|
|
32108f |
%define tarballname yaml
|
|
|
32108f |
|
|
|
32108f |
#====================================================================#
|
|
|
32108f |
|
|
|
32108f |
Name: libyaml
|
|
|
32108f |
Version: 0.1.4
|
|
|
32108f |
Release: 4%{?dist}
|
|
|
32108f |
Summary: YAML 1.1 parser and emitter written in C
|
|
|
32108f |
|
|
|
32108f |
Group: System Environment/Libraries
|
|
|
32108f |
License: MIT
|
|
|
32108f |
URL: http://pyyaml.org/
|
|
|
32108f |
Source0: http://pyyaml.org/download/libyaml/%{tarballname}-%{version}.tar.gz
|
|
|
32108f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%description
|
|
|
32108f |
YAML is a data serialization format designed for human readability and
|
|
|
32108f |
interaction with scripting languages. LibYAML is a YAML parser and
|
|
|
32108f |
emitter written in C.
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%package devel
|
|
|
32108f |
Summary: Development files for LibYAML applications
|
|
|
32108f |
Group: Development/Libraries
|
|
|
32108f |
Requires: libyaml = %{version}-%{release}, pkgconfig
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%description devel
|
|
|
32108f |
The %{name}-devel package contains libraries and header files for
|
|
|
32108f |
developing applications that use LibYAML.
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%prep
|
|
|
32108f |
%setup -q -n %{tarballname}-%{version}
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%build
|
|
|
32108f |
%configure
|
|
|
32108f |
make %{?_smp_mflags}
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%install
|
|
|
32108f |
rm -rf %{buildroot}
|
|
|
32108f |
make DESTDIR=%{buildroot} INSTALL="install -p" install
|
|
|
32108f |
rm -f %{buildroot}%{_libdir}/*.{la,a}
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%check
|
|
|
32108f |
make check
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%clean
|
|
|
32108f |
rm -rf %{buildroot}
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%post -p /sbin/ldconfig
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%postun -p /sbin/ldconfig
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%files
|
|
|
32108f |
%defattr(-,root,root,-)
|
|
|
32108f |
%doc LICENSE README
|
|
|
32108f |
%{_libdir}/%{name}*.so.*
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%files devel
|
|
|
32108f |
%defattr(-,root,root,-)
|
|
|
32108f |
%doc doc/html
|
|
|
32108f |
%{_libdir}/%{name}*.so
|
|
|
32108f |
%{_libdir}/pkgconfig/yaml-0.1.pc
|
|
|
32108f |
%{_includedir}/yaml.h
|
|
|
32108f |
|
|
|
32108f |
|
|
|
32108f |
%changelog
|
|
|
32108f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-4
|
|
|
32108f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
32108f |
|
|
|
32108f |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
32108f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
32108f |
|
|
|
32108f |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
|
|
|
32108f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
32108f |
|
|
|
32108f |
* Thu Jun 23 2011 John Eckersberg <jeckersb@redhat.com> - 0.1.4-1
|
|
|
32108f |
- New upstream release 0.1.4
|
|
|
32108f |
|
|
|
32108f |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-3
|
|
|
32108f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
32108f |
|
|
|
32108f |
* Fri Oct 02 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.3-1
|
|
|
32108f |
- New upstream release 0.1.3
|
|
|
32108f |
|
|
|
32108f |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
|
|
|
32108f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
32108f |
|
|
|
32108f |
* Wed Jul 22 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-4
|
|
|
32108f |
- Minor tweaks to spec file
|
|
|
32108f |
- Enable %%check section
|
|
|
32108f |
- Thanks Gareth Armstrong <gareth.armstrong@hp.com>
|
|
|
32108f |
|
|
|
32108f |
* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
|
|
|
32108f |
- Remove static libraries
|
|
|
32108f |
|
|
|
32108f |
* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
|
|
|
32108f |
- Remove README and LICENSE from docs on -devel package
|
|
|
32108f |
- Remove -static package and merge contents into the -devel package
|
|
|
32108f |
|
|
|
32108f |
* Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
|
|
|
32108f |
- Initial packaging for Fedora
|