source: projects/specs/trunk/lib/libf/libfastjson/libfastjson-vl.spec @ 11546

Revision 11546, 2.7 KB checked in by tomop, 6 years ago (diff)

new: libfastjson-0.99.8-3

Line 
1Name:           libfastjson
2Version:        0.99.8
3Release:        3%{?_dist_release}
4Summary:        A JSON implementation in C
5License:        MIT
6URL:            https://github.com/rsyslog/libfastjson
7Source0:        http://download.rsyslog.com/libfastjson/libfastjson-%{version}.tar.gz
8
9Vendor:         Project Vine
10Distribution: Vine Linux
11Packager:       tomop
12
13BuildRequires: autoconf automake libtool
14
15%description
16LIBFASTJSON implements a reference counting object
17model that allows you to easily construct JSON
18objects in C, output them as JSON formatted strings
19and parse JSON formatted strings back into the
20C representation of JSON objects.
21
22%package        devel
23Summary:        Development files for libfastjson
24Group:          Development/Libraries
25Requires:       %{name}%{?_isa} = %{version}-%{release}
26
27%description    devel
28This package contains libraries and header files for
29developing applications that use libfastjson.
30
31%prep
32%setup -q
33
34for doc in ChangeLog; do
35 iconv -f iso-8859-1 -t utf8 $doc > $doc.new &&
36 touch -r $doc $doc.new &&
37 mv $doc.new $doc
38done
39
40%build
41autoreconf -iv
42export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # temporary workaround for EPEL5, fixed upstream
43%configure --enable-shared --disable-static
44
45%install
46make V=1 DESTDIR=%{buildroot} install
47find %{buildroot} -name '*.la' -delete -print
48
49%check
50make V=1 check
51
52%post -p /sbin/ldconfig
53
54%postun -p /sbin/ldconfig
55
56%files
57%{!?_licensedir:%global license %%doc}
58%license COPYING
59%doc AUTHORS ChangeLog README.html
60%{_libdir}/libfastjson.so.*
61
62%files devel
63%{_includedir}/libfastjson
64%{_libdir}/libfastjson.so
65%{_libdir}/pkgconfig/libfastjson.pc
66
67%changelog
68* Sun Feb 25 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.8-3
69- initisl build for Vine Linux.
70
71* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-2
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
73
74* Thu Jan 11 2018 Jiri Vymazal <jvymazal@redhat.com> - 0.99.8-1
75- rebase to v0.99.8
76
77* Mon Oct 23 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.7-1
78- rebase to v0.99.7
79
80* Tue Aug 15 2017 Marek Tamaskovic <mtamasko@redhat.com> - 0.99.6-1
81- rebase to v0.99.6
82
83* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-3
84- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
85
86* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-2
87- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
88
89* Mon May 22 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.5-1
90- added autoreconf
91- rebase to v0.99.5
92
93* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.4-2
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
95
96* Tue Sep 27 2016 Radovan Sroka <rsroka@redhat.com> - 0.99.4-1
97- Package created
Note: See TracBrowser for help on using the repository browser.