source: projects/specs/branches/6/j/json-glib/json-glib-vl.spec @ 3801

Revision 3801, 3.7 KB checked in by Takemikaduchi, 13 years ago (diff)

GNOME packages: new upstream release, bogofilter: fix perl requirements, perl-modules: new package

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