[packages/ncompress] - updated non english man pages
qboosh
qboosh at pld-linux.org
Sat Nov 16 10:57:42 CET 2019
commit f4f21eb366481d96017544e0e674a24ee1bd5cde
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Nov 16 10:57:57 2019 +0100
- updated non english man pages
ncompress-make.patch | 2 +-
ncompress.spec | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/ncompress.spec b/ncompress.spec
index 2ecb6a9..5d1fe98 100644
--- a/ncompress.spec
+++ b/ncompress.spec
@@ -10,12 +10,15 @@ License: Public Domain
Group: Applications/Archiving
Source0: http://downloads.sourceforge.net/ncompress/%{name}-%{version}.tar.gz
# Source0-md5: 9ab5d54d764d38050e9256b635bf09a9
-Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
-# Source1-md5: 1f664b832aee8282bc50f54635b98130
+# from man-pages.spec --with tars
+Source1: %{name}-man-pages.tar.xz
+# Source1-md5: d780e5ec6fdceb9f2ab730f0cbae68da
Patch0: %{name}-make.patch
Patch1: %{name}-gcc34.patch
URL: http://ncompress.sourceforge.net/
BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -83,14 +86,10 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
install compress $RPM_BUILD_ROOT%{_bindir}
ln -sf compress $RPM_BUILD_ROOT%{_bindir}/uncompress
-install compress.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p compress.1 $RPM_BUILD_ROOT%{_mandir}/man1
echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/man1/uncompress.1
-for a in de it pl ; do
- install -d $RPM_BUILD_ROOT%{_mandir}/$a/man1
- cp -p $a/man1/* $RPM_BUILD_ROOT%{_mandir}/$a/man1
- echo ".so compress.1" > $RPM_BUILD_ROOT%{_mandir}/$a/man1/uncompress.1
-done
+tar xf %{SOURCE1} -C $RPM_BUILD_ROOT%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -105,3 +104,4 @@ rm -rf $RPM_BUILD_ROOT
%lang(de) %{_mandir}/de/man1/*
%lang(it) %{_mandir}/it/man1/*
%lang(pl) %{_mandir}/pl/man1/*
+%lang(tr) %{_mandir}/tr/man1/*
diff --git a/ncompress-make.patch b/ncompress-make.patch
index e911f2a..4e3b7c4 100644
--- a/ncompress-make.patch
+++ b/ncompress-make.patch
@@ -31,7 +31,7 @@
+# -DDEF_ERRNO=1 Define error (not defined in errno.h).
+# -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
+#
-+options= -DDIRENT=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024 -DBYTEORDER=$(ENDIAN)
++options= -DDIRENT=1 -DLSTAT=1 -DNOFUNCDEF=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024 -DBYTEORDER=$(ENDIAN)
+
+# libary options
+LBOPT=
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ncompress.git/commitdiff/f4f21eb366481d96017544e0e674a24ee1bd5cde
More information about the pld-cvs-commit
mailing list