source: projects/specs/trunk/j/json-glib/json-glib-vl.spec @ 9475

Revision 9475, 4.8 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME-3.16.0

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