libyaml-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Summary: YAML 1.1 parser and emitter written in C
  2. Name: libyaml
  3. Version: 0.1.2
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: MIT
  7. URL: http://pyyaml.org/
  8. Source0: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. %description
  11. YAML is a data serialization format designed for human readability and
  12. interaction with scripting languages. LibYAML is a YAML parser and
  13. emitter written in C.
  14. %package devel
  15. Summary: Development libraries and headers for developing LibYAML applications
  16. Group: Development/Libraries
  17. Requires: libyaml = %{version}-%{release}
  18. %description devel
  19. Development libraries and headers for developing LibYAML applications.
  20. %prep
  21. %setup -q -n yaml-%{version}
  22. %build
  23. %configure
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf %{buildroot}
  27. make DESTDIR=%{buildroot} INSTALL="install -p" install
  28. rm -f %{buildroot}%{_libdir}/*.{la,a}
  29. %clean
  30. rm -rf %{buildroot}
  31. %post -p /sbin/ldconfig
  32. %postun -p /sbin/ldconfig
  33. %files
  34. %defattr(-,root,root,-)
  35. %doc README LICENSE
  36. %{_libdir}/%{name}*.so.*
  37. %files devel
  38. %defattr(-,root,root,-)
  39. %doc doc/html
  40. %{_libdir}/%{name}*.so
  41. %{_includedir}/yaml.h
  42. %changelog
  43. * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
  44. - initial build for Vine Linux
  45. * Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
  46. - Remove static libraries
  47. * Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
  48. - Remove README and LICENSE from docs on -devel package
  49. - Remove -static package and merge contents into the -devel package
  50. * Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
  51. - Initial packaging for Fedora