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