json-glib-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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.9.2
  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. * Mon Aug 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.9.2-1
  77. - new upstream release.
  78. * Fri Aug 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.6-1
  79. - new upstream release.
  80. * Thu Apr 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6.2-1
  81. - new upstream release.
  82. - dropped ldconfig scriptlets.
  83. * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.4-2
  84. - rebuilt with current envirpnment.
  85. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4.4-1
  86. - new upstream release.
  87. * Thu Jul 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-1
  88. - new upstream release
  89. * Sat Feb 13 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.4-2
  90. - create compat32-json-glib subpackage
  91. * Sat Mar 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.4-1
  92. - new upstream release
  93. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.2-1
  94. - new upstream release
  95. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.0-1
  96. - new upstream release
  97. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-2
  98. - rebuild with VineSeed environment
  99. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-1
  100. - new upstream release
  101. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
  102. - new upstream release
  103. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.2-1
  104. - new upstream release
  105. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.2-1
  106. - update to 0.14.2
  107. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.0-1
  108. - new upstream release
  109. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1
  110. - new upstream release
  111. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.4-1
  112. - new upstream release
  113. * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1
  114. - new upstream release
  115. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.0-1
  116. - initial build for Vine Linux
  117. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
  118. - Rebuild with new gobject-introspection
  119. * Thu Jul 1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
  120. - Rebuild for "Incompatible version 1.0 (supported: 1.1)"
  121. for introspection file
  122. * Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
  123. - Update to 0.10.4.
  124. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
  125. - Require the gobject-introspection-devel package, not the library
  126. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
  127. - Enable gobject-introspection support
  128. * Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
  129. - Update to 0.10.0.
  130. * Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
  131. - Update to 0.8.2.
  132. * Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
  133. - Update to 0.8.0.
  134. - Update source url.
  135. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
  136. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  137. * Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
  138. - Disable tests for now.
  139. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  141. * Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
  142. - Update to 0.6.2.
  143. - Enable tests.
  144. * Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
  145. - Update 0.6.0.
  146. - Disable tests for now.
  147. - Add requires on gtk-doc.
  148. * Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
  149. - Initial Fedora spec.