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