libyaml-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Summary: YAML 1.1 parser and emitter written in C
  2. Name: libyaml
  3. Version: 0.1.6
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/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. * Sun Oct 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.1.6-2
  45. - moved libyaml to System Environment/Libraries Group
  46. * Fri Apr 18 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.6-1
  47. - update to 0.1.6
  48. * Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.4-1
  49. - new upstream release
  50. * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
  51. - initial build for Vine Linux
  52. * Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
  53. - Remove static libraries
  54. * Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
  55. - Remove README and LICENSE from docs on -devel package
  56. - Remove -static package and merge contents into the -devel package
  57. * Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
  58. - Initial packaging for Fedora