libfastjson-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: libfastjson
  2. Summary: A JSON implementation in C
  3. Version: 1.2304.0
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: MIT
  9. URL: https://github.com/rsyslog/libfastjson
  10. Source0: https://download.rsyslog.com/libfastjson/libfastjson-%{version}.tar.gz
  11. BuildRequires: autoconf automake libtool
  12. %description
  13. LIBFASTJSON implements a reference counting object
  14. model that allows you to easily construct JSON
  15. objects in C, output them as JSON formatted strings
  16. and parse JSON formatted strings back into the
  17. C representation of JSON objects.
  18. %package devel
  19. Summary: Development files for libfastjson
  20. Group: programming
  21. Requires: %{name}%{?_isa} = %{version}-%{release}
  22. %description devel
  23. This package contains libraries and header files for
  24. developing applications that use libfastjson.
  25. %debug_package
  26. %prep
  27. %setup -q
  28. for doc in ChangeLog; do
  29. iconv -f iso-8859-1 -t utf8 $doc > $doc.new &&
  30. touch -r $doc $doc.new &&
  31. mv $doc.new $doc
  32. done
  33. %build
  34. autoreconf -iv
  35. export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # temporary workaround for EPEL5, fixed upstream
  36. %configure --enable-shared --disable-static
  37. %install
  38. make V=1 DESTDIR=%{buildroot} install
  39. find %{buildroot} -name '*.la' -delete -print
  40. %check
  41. make V=1 check
  42. %files
  43. %{!?_licensedir:%global license %%doc}
  44. %license COPYING
  45. %doc AUTHORS ChangeLog README.md
  46. %{_libdir}/libfastjson.so.*
  47. %files devel
  48. %{_includedir}/libfastjson
  49. %{_libdir}/libfastjson.so
  50. %{_libdir}/pkgconfig/libfastjson.pc
  51. %changelog
  52. * Wed Aug 14 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2340.0-1
  53. - new upstream release.
  54. * Thu Mar 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.9-1
  55. - new upstream release.
  56. * Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.8-4
  57. - rebuilt with current environment.
  58. * Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.8-3
  59. - initisl build for Vine Linux.
  60. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  62. * Thu Jan 11 2018 Jiri Vymazal <jvymazal@redhat.com> - 0.99.8-1
  63. - rebase to v0.99.8
  64. * Mon Oct 23 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.7-1
  65. - rebase to v0.99.7
  66. * Tue Aug 15 2017 Marek Tamaskovic <mtamasko@redhat.com> - 0.99.6-1
  67. - rebase to v0.99.6
  68. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  70. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  72. * Mon May 22 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.5-1
  73. - added autoreconf
  74. - rebase to v0.99.5
  75. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.4-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  77. * Tue Sep 27 2016 Radovan Sroka <rsroka@redhat.com> - 0.99.4-1
  78. - Package created