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

Revision 4616, 3.9 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1%define glib_ver 2.28.8
2
3Name:           json-glib
4Version:        0.13.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}/0.13/%{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
20
21%description
22%{name} is a library providing serialization and deserialization support
23for the JavaScript Object Notation (JSON) format.
24
25
26%package devel
27Summary:        Development files for %{name}
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}
30Requires:       glib2-devel >= %{glib_ver}
31Requires:       gtk-doc
32Requires:       pkgconfig
33
34
35%description devel
36The %{name}-devel package contains libraries and header files for
37developing applications that use %{name}.
38
39
40%prep
41%setup -q
42
43
44%build
45%configure --enable-static=no
46make %{?_smp_mflags} V=1
47
48
49%install
50rm -rf $RPM_BUILD_ROOT
51make install DESTDIR=$RPM_BUILD_ROOT
52find $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
56mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
57cp -a doc/reference/html/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{name}/
58
59
60%check
61# make check
62
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67
68%post -p /sbin/ldconfig
69
70
71%postun -p /sbin/ldconfig
72
73
74%files
75%defattr(-,root,root,-)
76%doc COPYING README NEWS
77%{_libdir}/lib%{name}*.so.*
78%{_libdir}/girepository-1.0/Json-1.0.typelib
79
80%files devel
81%defattr(-,root,root,-)
82%{_libdir}/lib%{name}*.so
83%{_libdir}/pkgconfig/%{name}-1.0.pc
84%{_includedir}/%{name}-1.0/
85%{_datadir}/gtk-doc/html/%{name}/
86%{_datadir}/gir-1.0/Json-1.0.gir
87
88
89%changelog
90* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1
91- new upstream release
92
93* Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.4-1
94- new upstream release
95
96* Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1
97- new upstream release
98
99* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.0-1
100- initial build for Vine Linux
101
102
103* Thu Jul 15 2010 Colin Walters <walters@verbum.org> - 0.10.4-3
104- Rebuild with new gobject-introspection
105
106* Thu Jul  1 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.10.4-2
107- Rebuild for "Incompatible version 1.0 (supported: 1.1)"
108  for introspection file
109
110* Fri Mar 19 2010 Brian Pepple <bpepple@fedoraproject.org> - 0.10.4-1
111- Update to 0.10.4.
112
113* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-3
114- Require the gobject-introspection-devel package, not the library
115
116* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 0.10.0-2
117- Enable gobject-introspection support
118
119* Tue Dec 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.10.0-1
120- Update to 0.10.0.
121
122* Mon Nov 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.2-1
123- Update to 0.8.2.
124
125* Tue Sep 29 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.8.0-1
126- Update to 0.8.0.
127- Update source url.
128
129* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-4
130- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
131
132* Thu Feb 26 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-3
133- Disable tests for now.
134
135* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
137
138* Sat May 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.2-1
139- Update to 0.6.2.
140- Enable tests.
141
142* Mon May 19 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.6.0-1
143- Update 0.6.0.
144- Disable tests for now.
145- Add requires on gtk-doc.
146
147* Sun Apr 20 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.4.0-1
148- Initial Fedora spec.
149
Note: See TracBrowser for help on using the repository browser.