|
@@ -1,9 +1,11 @@
|
|
Name: libfastjson
|
|
Name: libfastjson
|
|
-Version: 0.99.8
|
|
|
|
-Release: 4%{?_dist_release}
|
|
|
|
Summary: A JSON implementation in C
|
|
Summary: A JSON implementation in C
|
|
|
|
+Version: 0.99.9
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
+
|
|
License: MIT
|
|
License: MIT
|
|
URL: https://github.com/rsyslog/libfastjson
|
|
URL: https://github.com/rsyslog/libfastjson
|
|
Source0: https://download.rsyslog.com/libfastjson/libfastjson-%{version}.tar.gz
|
|
Source0: https://download.rsyslog.com/libfastjson/libfastjson-%{version}.tar.gz
|
|
@@ -17,15 +19,20 @@ objects in C, output them as JSON formatted strings
|
|
and parse JSON formatted strings back into the
|
|
and parse JSON formatted strings back into the
|
|
C representation of JSON objects.
|
|
C representation of JSON objects.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for libfastjson
|
|
Summary: Development files for libfastjson
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
This package contains libraries and header files for
|
|
This package contains libraries and header files for
|
|
developing applications that use libfastjson.
|
|
developing applications that use libfastjson.
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
@@ -35,21 +42,21 @@ for doc in ChangeLog; do
|
|
mv $doc.new $doc
|
|
mv $doc.new $doc
|
|
done
|
|
done
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
autoreconf -iv
|
|
autoreconf -iv
|
|
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # temporary workaround for EPEL5, fixed upstream
|
|
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # temporary workaround for EPEL5, fixed upstream
|
|
%configure --enable-shared --disable-static
|
|
%configure --enable-shared --disable-static
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
make V=1 DESTDIR=%{buildroot} install
|
|
make V=1 DESTDIR=%{buildroot} install
|
|
find %{buildroot} -name '*.la' -delete -print
|
|
find %{buildroot} -name '*.la' -delete -print
|
|
|
|
|
|
|
|
+
|
|
%check
|
|
%check
|
|
make V=1 check
|
|
make V=1 check
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
%{!?_licensedir:%global license %%doc}
|
|
%{!?_licensedir:%global license %%doc}
|
|
@@ -62,7 +69,11 @@ make V=1 check
|
|
%{_libdir}/libfastjson.so
|
|
%{_libdir}/libfastjson.so
|
|
%{_libdir}/pkgconfig/libfastjson.pc
|
|
%{_libdir}/pkgconfig/libfastjson.pc
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Mar 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.9-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.8-4
|
|
* Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.99.8-4
|
|
- rebuilt with current environment.
|
|
- rebuilt with current environment.
|
|
|
|
|