Blame SPECS/libfastjson.spec

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