jansson-vl.spec 3.5 KB

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