libyaml-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Summary: YAML 1.1 parser and emitter written in C
  2. Name: libyaml
  3. Version: 0.1.6
  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. %{_libdir}/pkgconfig/yaml-0.1.pc
  42. %{_includedir}/yaml.h
  43. %changelog
  44. * Fri Apr 18 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  45. - update to 0.1.6
  46. * Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.4-1
  47. - new upstream release
  48. * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
  49. - initial build for Vine Linux
  50. * Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
  51. - Remove static libraries
  52. * Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
  53. - Remove README and LICENSE from docs on -devel package
  54. - Remove -static package and merge contents into the -devel package
  55. * Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
  56. - Initial packaging for Fedora