json-glib-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. %define glib_ver 2.40.0
  2. Name: json-glib
  3. Version: 1.0.0
  4. Release: 1%{?_dist_release}
  5. Summary: Library for JavaScript Object Notation format
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://live.gnome.org/JsonGlib
  9. #VCS: git:git://git.gnome.org/json-glib
  10. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: glib2-devel >= %{glib_ver}
  13. BuildRequires: gobject-introspection-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. %{name} is a library providing serialization and deserialization support
  19. for the JavaScript Object Notation (JSON) format.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: glib2-devel >= %{glib_ver}
  25. Requires: gtk-doc
  26. Requires: pkgconfig
  27. %description devel
  28. The %{name}-devel package contains libraries and header files for
  29. developing applications that use %{name}.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --enable-static=no
  34. make %{?_smp_mflags} V=1
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  39. # Copy the files from the tarball to avoid the IDs generated by gtk-doc being
  40. # different on different builds
  41. mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
  42. cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
  43. %find_lang %{name}-1.0
  44. %check
  45. # make check
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files -f %{name}-1.0.lang
  51. %defattr(-,root,root,-)
  52. %doc COPYING NEWS
  53. %{_bindir}/json-glib-format
  54. %{_bindir}/json-glib-validate
  55. %{_libdir}/lib%{name}*.so.*
  56. %{_libdir}/girepository-1.0/Json-1.0.typelib
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %{_libdir}/lib%{name}*.so
  60. %{_libdir}/pkgconfig/%{name}-1.0.pc
  61. %{_includedir}/%{name}-1.0/
  62. %{_datadir}/gtk-doc/html/%{name}/
  63. %{_datadir}/gir-1.0/Json-1.0.gir
  64. %changelog
  65. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.0-1
  66. - new upstream release
  67. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-2
  68. - rebuild with VineSeed environment
  69. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.2-1
  70. - new upstream release
  71. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16.0-1
  72. - new upstream release
  73. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.2-1
  74. - new upstream release
  75. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.2-1
  76. - update to 0.14.2
  77. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.14.0-1
  78. - new upstream release
  79. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1
  80. - new upstream release
  81. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.4-1
  82. - new upstream release
  83. * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1
  84. - new upstream release
  85. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.0-1
  86. - initial build for Vine Linux
  87. * Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
  88. - Rebuild with new gobject-introspection
  89. * Thu Jul 1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
  90. - Rebuild for "Incompatible version 1.0 (supported: 1.1)"
  91. for introspection file
  92. * Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
  93. - Update to 0.10.4.
  94. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
  95. - Require the gobject-introspection-devel package, not the library
  96. * Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
  97. - Enable gobject-introspection support
  98. * Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
  99. - Update to 0.10.0.
  100. * Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
  101. - Update to 0.8.2.
  102. * Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
  103. - Update to 0.8.0.
  104. - Update source url.
  105. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
  106. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  107. * Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
  108. - Disable tests for now.
  109. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  111. * Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
  112. - Update to 0.6.2.
  113. - Enable tests.
  114. * Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
  115. - Update 0.6.0.
  116. - Disable tests for now.
  117. - Add requires on gtk-doc.
  118. * Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
  119. - Initial Fedora spec.