1 | Name: jansson |
---|
2 | Version: 2.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: C library for encoding, decoding and manipulating JSON data |
---|
5 | Summary(ja): JSONデータをエンコード・デコード・操作するためのライブラリ |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: MIT |
---|
9 | URL: http://www.digip.org/jansson/ |
---|
10 | Source0: http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2 |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildRequires: python-sphinx |
---|
14 | |
---|
15 | %description |
---|
16 | Small library for parsing and writing JSON documents. |
---|
17 | |
---|
18 | %package devel |
---|
19 | Summary: Header files for jansson |
---|
20 | Summary(ja): Header files for jansson |
---|
21 | Group: Development/Libraries |
---|
22 | Requires: %{name} = %{version}-%{release} |
---|
23 | Requires: pkgconfig |
---|
24 | |
---|
25 | %description devel |
---|
26 | Header files for developing applications making use of jansson. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q |
---|
30 | |
---|
31 | %build |
---|
32 | %configure --disable-static |
---|
33 | make %{?_smp_mflags} |
---|
34 | make html |
---|
35 | |
---|
36 | %check |
---|
37 | make check |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf "$RPM_BUILD_ROOT" |
---|
41 | make install INSTALL="install -p" DESTDIR="$RPM_BUILD_ROOT" |
---|
42 | rm "$RPM_BUILD_ROOT%{_libdir}"/*.la |
---|
43 | |
---|
44 | %clean |
---|
45 | rm -rf "$RPM_BUILD_ROOT" |
---|
46 | |
---|
47 | %post -p /sbin/ldconfig |
---|
48 | |
---|
49 | %postun -p /sbin/ldconfig |
---|
50 | |
---|
51 | %files |
---|
52 | %defattr(-,root,root,-) |
---|
53 | %doc LICENSE CHANGES |
---|
54 | %{_libdir}/*.so.* |
---|
55 | |
---|
56 | %files devel |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc doc/_build/html/* |
---|
59 | %{_libdir}/*.so |
---|
60 | %{_libdir}/pkgconfig/%{name}.pc |
---|
61 | %{_includedir}/* |
---|
62 | |
---|
63 | %changelog |
---|
64 | * Tue Jun 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-1 |
---|
65 | - initial build for Vine Linux |
---|
66 | |
---|
67 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2 |
---|
68 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
69 | |
---|
70 | * Thu Jun 11 2011 Sean Middleditch <sean@middleditch.us> 2.1-1 |
---|
71 | - Update to Jansson 2.1. |
---|
72 | - Drop Sphinx patch, no longer necessary. |
---|
73 | |
---|
74 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2 |
---|
75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
76 | |
---|
77 | * Thu Jul 03 2010 Sean Middleditch <sean@middleditch.us> 1.3-1 |
---|
78 | - Update to Jansson 1.3. |
---|
79 | - Disable warnings-as-errors for Sphinx documentation. |
---|
80 | |
---|
81 | * Thu Jan 21 2010 Sean Middleditch <sean@middleditch.us> 1.2-1 |
---|
82 | - Update to Jansson 1.2. |
---|
83 | |
---|
84 | * Thu Jan 11 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-4 |
---|
85 | - Update jansson description per upstream's suggestions. |
---|
86 | - Removed README from docs. |
---|
87 | |
---|
88 | * Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-3 |
---|
89 | - Correct misspelling of jansson in the pkg-config file. |
---|
90 | |
---|
91 | * Thu Jan 09 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-2 |
---|
92 | - Fix Changelog dates. |
---|
93 | - Mix autoheader warning. |
---|
94 | - Added make check. |
---|
95 | - Build and install HTML documentation in -devel package. |
---|
96 | |
---|
97 | * Thu Jan 07 2010 Sean Middleditch <sean@middleditch.us> 1.1.3-1 |
---|
98 | - Initial packaging for Fedora. |
---|