json-glib-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define glib_ver 2.48.0
  3. Name: json-glib
  4. Summary: Library for JavaScript Object Notation format
  5. Version: 1.6.6
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPLv2+
  11. URL: http://live.gnome.org/JsonGlib
  12. #VCS: git:git://git.gnome.org/json-glib
  13. %global shortver %(echo %{version} | cut -d . -f 1,2)
  14. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  16. BuildRequires: meson
  17. BuildRequires: glib2-devel >= %{glib_ver}
  18. BuildRequires: gobject-introspection-devel
  19. %description
  20. %{name} is a library providing serialization and deserialization support
  21. for the JavaScript Object Notation (JSON) format.
  22. %package devel
  23. Summary: Development files for %{name}
  24. Group: programming
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: glib2-devel >= %{glib_ver}
  27. #Requires: gtk-doc
  28. Requires: pkgconfig
  29. %description devel
  30. The %{name}-devel package contains libraries and header files for
  31. developing applications that use %{name}.
  32. # compat32
  33. %package -n compat32-%{name}
  34. Summary: Library for JavaScript Object Notation format
  35. Group: system,legacy
  36. %description -n compat32-%{name}
  37. %{name} is a library providing serialization and deserialization support
  38. for the JavaScript Object Notation (JSON) format.
  39. %debug_package
  40. %prep
  41. %setup -q
  42. %build
  43. %meson -Dgtk_doc=disabled
  44. %meson_build
  45. %install
  46. rm -rf %{buildroot}
  47. %meson_install
  48. rm -rf %{buildroot}%{_libexecdir}/installed-tests
  49. rm -rf %{buildroot}%{_datadir}/installed-tests
  50. %find_lang %{name}-1.0
  51. %check
  52. # make check
  53. %clean
  54. rm -rf %{buildroot}
  55. %files -f %{name}-1.0.lang
  56. %defattr(-,root,root,-)
  57. %license COPYING
  58. %doc NEWS
  59. %{_bindir}/json-glib-format
  60. %{_bindir}/json-glib-validate
  61. %{_libdir}/lib%{name}*.so.*
  62. %{_libdir}/girepository-1.0/Json-1.0.typelib
  63. %files devel
  64. %defattr(-,root,root,-)
  65. #%{_datadir}/gtk-doc/html/%{name}
  66. %{_libdir}/lib%{name}*.so
  67. %{_libdir}/pkgconfig/%{name}-1.0.pc
  68. %{_includedir}/%{name}-1.0/
  69. %{_datadir}/gir-1.0/Json-1.0.gir
  70. %if %{build_compat32}
  71. %files -n compat32-%{name}
  72. %defattr(-,root,root,-)
  73. %{_libdir}/lib%{name}*.so.*
  74. %endif
  75. %changelog
  76. * Fri Aug 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.6-1
  77. - new upstream release.
  78. * Thu Apr 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.2-1
  79. - new upstream release.
  80. - dropped ldconfig scriptlets.
  81. * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.4-2
  82. - rebuilt with current envirpnment.
  83. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.4-1
  84. - new upstream release.
  85. * Thu Jul 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1
  86. - new upstream release
  87. * Sat Feb 13 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.4-2
  88. - create compat32-json-glib subpackage
  89. * Sat Mar 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.4-1
  90. - new upstream release
  91. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.2-1
  92. - new upstream release
  93. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.0-1
  94. - new upstream release
  95. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-2
  96. - rebuild with VineSeed environment
  97. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-1
  98. - new upstream release
  99. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
  100. - new upstream release
  101. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.2-1
  102. - new upstream release
  103. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.2-1
  104. - update to 0.14.2
  105. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.0-1
  106. - new upstream release
  107. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1
  108. - new upstream release
  109. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.4-1
  110. - new upstream release
  111. * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1
  112. - new upstream release
  113. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.0-1
  114. - initial build for Vine Linux
  115. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
  116. - Rebuild with new gobject-introspection
  117. * Thu Jul 1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
  118. - Rebuild for "Incompatible version 1.0 (supported: 1.1)"
  119. for introspection file
  120. * Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
  121. - Update to 0.10.4.
  122. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
  123. - Require the gobject-introspection-devel package, not the library
  124. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
  125. - Enable gobject-introspection support
  126. * Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
  127. - Update to 0.10.0.
  128. * Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
  129. - Update to 0.8.2.
  130. * Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
  131. - Update to 0.8.0.
  132. - Update source url.
  133. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
  134. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  135. * Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
  136. - Disable tests for now.
  137. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
  138. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  139. * Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
  140. - Update to 0.6.2.
  141. - Enable tests.
  142. * Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
  143. - Update 0.6.0.
  144. - Disable tests for now.
  145. - Add requires on gtk-doc.
  146. * Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
  147. - Initial Fedora spec.