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

Revision 12372, 2.8 KB checked in by tomop, 4 years ago (diff)

updated 14 packages

acpica-tools-20190509-1

ethtool-5.4-1

flac-1.3.3-1

iproute-5.6.0-1

libcap-ng-0.7.10-1

libestr-0.1.11-2

libfastjson-0.99.8-4

libproxy-0.4.15-2

libpwquality-1.4.2-1

libunistring-0.9.10-2

mdadm-4.1-1

python-six-1.14.0-1

rsyslog-8.2002.0-1

speexdsp-1.2-0.16.rc3

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