jansson-vl.spec 3.2 KB

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