jansson-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: jansson
  2. Version: 2.12
  3. Release: 2%{?_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. Vendor: Project Vine
  12. Distribution: Vine Linux
  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: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: pkgconfig
  21. %description devel
  22. Header files for developing applications making use of jansson.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure --disable-static
  27. make %{?_smp_mflags}
  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
  37. /sbin/ldconfig
  38. %postun
  39. /sbin/ldconfig
  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. * Fri Mar 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-2
  53. - rebuilt with current environment.
  54. * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.12-1
  55. - new upstream release.
  56. * Sat Feb 24 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.11-1
  57. - new upstream release.
  58. - dropped Patch1000 (fixed in upstream).
  59. * Fri May 20 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
  60. - added Patch1000 to fix CVE-2016-4425.
  61. * Wed Jul 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-1
  62. - new upstream release.
  63. * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-1
  64. - initial build for Vine Linux
  65. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  67. * Sat Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1
  68. - Update to Jansson 2.1.
  69. - Drop Sphinx patch, no longer necessary.
  70. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Sat Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1
  73. - Update to Jansson 1.3.
  74. - Disable warnings-as-errors for Sphinx documentation.
  75. * Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1
  76. - Update to Jansson 1.2.
  77. * Mon Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4
  78. - Update jansson description per upstream's suggestions.
  79. - Removed README from docs.
  80. * Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3
  81. - Correct misspelling of jansson in the pkg-config file.
  82. * Sat Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2
  83. - Fix Changelog dates.
  84. - Mix autoheader warning.
  85. - Added make check.
  86. - Build and install HTML documentation in -devel package.
  87. * Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1
  88. - Initial packaging for Fedora.