Blame SPECS/libfastjson.spec

ac498b
Name:		libfastjson
ac498b
Version:	0.99.9
ac498b
Release:	3%{?dist}
ac498b
Summary:	A JSON implementation in C
ac498b
License:	MIT
ac498b
URL:		https://github.com/rsyslog/libfastjson
ac498b
Source0:	http://download.rsyslog.com/libfastjson/libfastjson-%{version}.tar.gz
ac498b
ac498b
BuildRequires: autoconf automake libtool
ac498b
BuildRequires: make
ac498b
ac498b
%description
ac498b
LIBFASTJSON implements a reference counting object
ac498b
model that allows you to easily construct JSON
ac498b
objects in C, output them as JSON formatted strings
ac498b
and parse JSON formatted strings back into the
ac498b
C representation of JSON objects.
ac498b
ac498b
%package	devel
ac498b
Summary:	Development files for libfastjson
ac498b
Requires:	%{name}%{?_isa} = %{version}-%{release}
ac498b
ac498b
%description	devel
ac498b
This package contains libraries and header files for
ac498b
developing applications that use libfastjson.
ac498b
ac498b
%prep
ac498b
%setup -q
ac498b
ac498b
for doc in ChangeLog; do
ac498b
 iconv -f iso-8859-1 -t utf8 $doc > $doc.new &&
ac498b
 touch -r $doc $doc.new &&
ac498b
 mv $doc.new $doc
ac498b
done
ac498b
ac498b
%build
ac498b
autoreconf -iv
ac498b
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # temporary workaround for EPEL5, fixed upstream
ac498b
%configure --enable-shared --disable-static
ac498b
ac498b
%install
ac498b
make V=1 DESTDIR=%{buildroot} install
ac498b
find %{buildroot} -name '*.la' -delete -print
ac498b
ac498b
%check
ac498b
make V=1 check
ac498b
ac498b
%ldconfig_scriptlets
ac498b
ac498b
%files
ac498b
%{!?_licensedir:%global license %%doc}
ac498b
%license COPYING
ac498b
%doc AUTHORS ChangeLog README.html
ac498b
%{_libdir}/libfastjson.so.*
ac498b
ac498b
%files devel
ac498b
%{_includedir}/libfastjson
ac498b
%{_libdir}/libfastjson.so
ac498b
%{_libdir}/pkgconfig/libfastjson.pc
ac498b
ac498b
%changelog
ac498b
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.9-3
ac498b
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ac498b
  Related: rhbz#1991688
ac498b
ac498b
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.9-2
ac498b
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ac498b
ac498b
* Mon Mar 08 2021 Attila Lakatos <alakatos@redhat.com> - 0.99.9-1
ac498b
- rebase to v0.99.9
ac498b
Resolves: rhbz#1920145
ac498b
ac498b
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-8
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ac498b
ac498b
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-7
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ac498b
ac498b
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-6
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ac498b
ac498b
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-5
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ac498b
ac498b
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-4
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ac498b
ac498b
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-3
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ac498b
ac498b
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.8-2
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ac498b
ac498b
* Thu Jan 11 2018 Jiri Vymazal <jvymazal@redhat.com> - 0.99.8-1
ac498b
- rebase to v0.99.8
ac498b
ac498b
* Mon Oct 23 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.7-1
ac498b
- rebase to v0.99.7
ac498b
ac498b
* Tue Aug 15 2017 Marek Tamaskovic <mtamasko@redhat.com> - 0.99.6-1
ac498b
- rebase to v0.99.6
ac498b
ac498b
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-3
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ac498b
ac498b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.5-2
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ac498b
ac498b
* Mon May 22 2017 Radovan Sroka <rsroka@redhat.com> - 0.99.5-1
ac498b
- added autoreconf
ac498b
- rebase to v0.99.5
ac498b
ac498b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.4-2
ac498b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ac498b
ac498b
* Tue Sep 27 2016 Radovan Sroka <rsroka@redhat.com> - 0.99.4-1
ac498b
- Package created