jansson-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: jansson
  2. Version: 2.7
  3. Release: 1%{?_dist_release}
  4. Summary: C library for encoding, decoding and manipulating JSON data
  5. Summary(ja): JSONデータをエンコード・デコード・操作するためのライブラリ
  6. Group: System Environment/Libraries
  7. License: MIT
  8. URL: http://www.digip.org/jansson/
  9. Source0: http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: python-sphinx
  12. %description
  13. Small library for parsing and writing JSON documents.
  14. %package devel
  15. Summary: Header files for jansson
  16. Summary(ja): Header files for jansson
  17. Group: Development/Libraries
  18. Requires: %{name} = %{version}-%{release}
  19. Requires: pkgconfig
  20. %description devel
  21. Header files for developing applications making use of jansson.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --disable-static
  26. make %{?_smp_mflags}
  27. make html
  28. %check
  29. make check
  30. %install
  31. rm -rf "$RPM_BUILD_ROOT"
  32. make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT"
  33. rm "$RPM_BUILD_ROOT%{_libdir}"/*.la
  34. %clean
  35. rm -rf "$RPM_BUILD_ROOT"
  36. %post -p /sbin/ldconfig
  37. %postun -p /sbin/ldconfig
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc LICENSE CHANGES
  41. %{_libdir}/*.so.*
  42. %files devel
  43. %defattr(-,root,root,-)
  44. %doc doc/_build/html/*
  45. %{_libdir}/*.so
  46. %{_libdir}/pkgconfig/%{name}.pc
  47. %{_includedir}/*
  48. %changelog
  49. * Wed Jul 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-1
  50. - new upstream release.
  51. * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-1
  52. - initial build for Vine Linux
  53. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  55. * Sat Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
  56. - Update to Jansson 2.1.
  57. - Drop Sphinx patch, no longer necessary.
  58. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Sat Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
  61. - Update to Jansson 1.3.
  62. - Disable warnings-as-errors for Sphinx documentation.
  63. * Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
  64. - Update to Jansson 1.2.
  65. * Mon Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
  66. - Update jansson description per upstream's suggestions.
  67. - Removed README from docs.
  68. * Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
  69. - Correct misspelling of jansson in the pkg-config file.
  70. * Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
  71. - Fix Changelog dates.
  72. - Mix autoheader warning.
  73. - Added make check.
  74. - Build and install HTML documentation in -devel package.
  75. * Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
  76. - Initial packaging for Fedora.