[packages/libfastjson] - pl, more docs; release 2
qboosh
qboosh at pld-linux.org
Sun May 24 15:43:58 CEST 2020
commit d96c387e7e1ddae8bb1de7f5fb7689c5c02e5857
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 24 15:44:38 2020 +0200
- pl, more docs; release 2
libfastjson.spec | 49 +++++++++++++++++++++++++++++--------------------
1 file changed, 29 insertions(+), 20 deletions(-)
---
diff --git a/libfastjson.spec b/libfastjson.spec
index a0ce716..dcfd02b 100644
--- a/libfastjson.spec
+++ b/libfastjson.spec
@@ -1,14 +1,15 @@
#
# Conditional build:
-%bcond_without static_libs # don't build static libraries
+%bcond_without static_libs # static library
#
Summary: A JSON implementation in C
+Summary(pl.UTF-8): Implementacja JSON w C
Name: libfastjson
Version: 0.99.8
-Release: 1
+Release: 2
License: MIT
Group: Libraries
-Source0: http://download.rsyslog.com/libfastjson/%{name}-%{version}.tar.gz
+Source0: https://download.rsyslog.com/libfastjson/%{name}-%{version}.tar.gz
# Source0-md5: fe7b4eae1bf40499f6f92b51d7e5899e
URL: https://github.com/rsyslog/libfastjson
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,37 +20,45 @@ you to easily construct JSON objects in C, output them as JSON
formatted strings and parse JSON formatted strings back into the C
representation of JSON objects.
+%description -l pl.UTF-8
+LIBFASTJSON implementuje model obiektów ze zliczaniem referencji,
+pozwalający na łatwe konstruowanie obiektów JSON w C, wypisywanie ich
+jako sformatowanych łańcuchów JSON oraz analizowanie sformatowanych
+łańcuchów JSON z powrotem do reprezentacji obiektów JSON w C
+
%package devel
-Summary: Header files for %{name} library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
+Summary: Header files for LIBFASTJSON library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki LIBFASTJSON
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-Header files for %{name} library.
+Header files for LIBFASTJSON library.
%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki %{name}.
+Pliki nagłówkowe biblioteki LIBFASTJSON.
%package static
-Summary: Static %{name} library
-Summary(pl.UTF-8): Statyczna biblioteka %{name}
+Summary: Static LIBFASTJSON library
+Summary(pl.UTF-8): Statyczna biblioteka LIBFASTJSON
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
-Static %{name} library.
+Static LIBFASTJSON library.
%description static -l pl.UTF-8
-Statyczna biblioteka %{name}.
+Statyczna biblioteka LIBFASTJSON.
%prep
%setup -q
%build
%configure \
+ --disable-silent-rules \
%{!?with_static_libs:--disable-static}
-%{__make} V=1
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -57,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libfastjson.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -67,19 +76,19 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS README
-%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{name}.so.4
+%doc AUTHORS COPYING ChangeLog README.html
+%attr(755,root,root) %{_libdir}/libfastjson.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfastjson.so.4
%files devel
%defattr(644,root,root,755)
%doc ChangeLog NEWS
-%attr(755,root,root) %{_libdir}/%{name}.so
-%{_includedir}/%{name}
-%{_pkgconfigdir}/%{name}.pc
+%attr(755,root,root) %{_libdir}/libfastjson.so
+%{_includedir}/libfastjson
+%{_pkgconfigdir}/libfastjson.pc
%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/%{name}.a
+%{_libdir}/libfastjson.a
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libfastjson.git/commitdiff/d96c387e7e1ddae8bb1de7f5fb7689c5c02e5857
More information about the pld-cvs-commit
mailing list