]> git.pld-linux.org Git - packages/ncompress.git/commitdiff
- updated non english man pages master auto/th/ncompress-4.2.4.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Nov 2019 09:57:57 +0000 (10:57 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Nov 2019 09:57:57 +0000 (10:57 +0100)
ncompress-make.patch
ncompress.spec

index e911f2a18928bccd7b9b768d8f225f4324bbbe66..4e3b7c47263db47495b63974fba36327f166e1fc 100644 (file)
@@ -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=
index 2ecb6a9d93fa987ba307b815bdf7e594510aa055..5d1fe9843181b34892a43a79392935f17eb31d10 100644 (file)
@@ -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/*
This page took 0.07851 seconds and 4 git commands to generate.