]> git.pld-linux.org Git - packages/man-pages.git/blobdiff - man-pages.spec
- updated to 5.13, ja 20210815
[packages/man-pages.git] / man-pages.spec
index d43874a8ab8dd9ea418c3b5658f6636abea24802..b379f63cb9e6ef2e4416e66530b45f8224da3781 100644 (file)
@@ -15,7 +15,7 @@ Summary(ru.UTF-8):    Страницы руководства из Проекта 
 Summary(tr.UTF-8):     Linux Belgeleme Projesinin sistem kılavuz sayfaları
 Summary(uk.UTF-8):     Сторінки мануалу (man) з Linux Documentation Project
 Name:          man-pages
-Version:       5.07
+Version:       5.13
 Release:       1
 License:       distributable
 Group:         Documentation
@@ -29,7 +29,7 @@ Group:                Documentation
 %define                hu_version              20010119
 %define                id_version              20011116
 %define                it_version              5.06
-%define                ja_version              20200615
+%define                ja_version              20210815
 %define                ko_version              20050219
 %define                nl_version              0.13.3
 %define                pl_version              20051105
@@ -39,9 +39,9 @@ Group:                Documentation
 %define                ru_asp_version          1.4
 %define                tr_version              1.0.5
 %define                zh_version              1.5.2
-%define                posix_version           2013-a
+%define                posix_version           2017-a
 Source0:       https://www.kernel.org/pub/linux/docs/man-pages/%{name}-%{version}.tar.xz
-# Source0-md5: 4423c3e8d8e8224382ff244449c29468
+# Source0-md5: 3ac24e8c6fae26b801cb87ceb63c0a30
 Source1:       ftp://ftp.linux.cz/pub/localization/linux/czman/%{name}-cs-%{cs_version}.tar.bz2
 # Source1-md5: a3df67d98ab63a0a360cd0794ec87e0e
 # there is no LDP man page here, yet - but include it in sources for completeness
@@ -78,7 +78,7 @@ Source10:     ftp://ftp.pluto.linux.it/pub/pluto/ildp/man/%{name}-it-%{it_version}.t
 # note: man-pages-it-extra-0.5.0.tar.gz is also covered by the above version
 #Source11Download: http://linuxjm.osdn.jp/download.html
 Source11:      http://linuxjm.osdn.jp/%{name}-ja-%{ja_version}.tar.gz
-# Source11-md5:        6de2164a4d1dcd0c705d405b755dcfc9
+# Source11-md5:        c7874d0f9515d150ae0612a42dc87379
 Source12:      http://download.kldp.net/man/man-pages-ko/%{ko_version}/%{name}-ko-%{ko_version}.tar.gz
 # Source12-md5:        e31dc6a51c02436371373dedaeeeacab
 # TODO: check 20051127 in Debian/Ubuntu?
@@ -107,7 +107,7 @@ Source19:   http://www.linux.org.ua/twiki/pub/Projects/ManUk/man-pages-uk_UA.alfa.
 Source20:      https://github.com/lidaobing/manpages-zh/archive/v%{zh_version}/manpages-zh-%{zh_version}.tar.gz
 # Source20-md5:        1bbdc4f32272df0b95146518b27bf4be
 Source30:      https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-%{posix_version}.tar.xz
-# Source30-md5:        825fde78e6fddd02426ecdd50e2cbe0d
+# Source30-md5:        16972095f1ec0820d51b2390e055c59d
 Source50:      %{name}-links.list
 Source100:     %{name}-tars.list
 Patch0:                %{name}-zh_fixes.patch
@@ -121,6 +121,7 @@ Patch10:    %{name}-extra-files.patch
 URL:           https://www.kernel.org/doc/man-pages/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake
+BuildRequires: iconv
 BuildRequires: rpmbuild(macros) >= 1.566
 BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
@@ -301,10 +302,10 @@ Summary(pl.UTF-8):        Podręczniki systemowe z Linux Documentation Project dotyczą
 Group:         Documentation
 
 %description posix
-Part of POSIX 1003.1-2003 in man pages format.
+Part of POSIX 1-2017 in man pages format.
 
 %description posix -l pl.UTF-8
-Fragmenty POSIX 1003.1-2003 w postaci stron podręcznika systemowego.
+Fragmenty POSIX 1-2017 w postaci stron podręcznika systemowego.
 
 %prep
 %setup -q -c -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a30
@@ -321,7 +322,7 @@ install -d man-pages-extra/C
 # prepare somehow unified source trees
 install -d src
 %{__mv} man-pages-%{version} src/C
-%{__mv} man-pages-posix-%{posix_version}/man*p src/C
+%{__mv} man-pages-posix-%(echo %{posix_version} | sed -e s/-a//)/man*p src/C
 %{__mv} man-pages-cs-%{cs_version} src/cs
 %{__mv} manpages-da-%{da_version} src/da
 %{__mv} manpages-de-%{de_version} src/de
@@ -392,35 +393,49 @@ done
 # ja: merge per-package trees
 %{__mv} src/ja/manual/LDP_man-pages/man* src/ja
 # duplicates of LDP man pages
-%{__rm} -r src/ja/manual/{gnumaniak,ld.so,modutils/man2,glibc-linuxthreads/man3,man/man1/{apropos,man,whatis}.1,netkit/{man3/{daemon,err,login}.3,man5/ftpusers.5},bind/{man5/resolver.5,man7/mailaddr.7}}
+%{__rm} -r src/ja/manual/{gnumaniak,ld.so,modutils/man2,glibc-linuxthreads/man3}
+%{__rm} src/ja/manual/bind/{man5/resolver.5,man7/{hostname,mailaddr}.7}
+%{__rm} src/ja/manual/netkit/{man3/{daemon,err,login}.3,man5/ftpusers.5}
 # shadow manuals already in shadow package
 %{__rm} -r src/ja/manual/shadow
+# PLD uses:
+# coreutils not {file,sh-,text}utils
+%{__rm} -r src/ja/manual/GNU_{fileutils,sh-utils,textutils}
 # dhcp 3 not dhcp2
 %{__rm} -r src/ja/manual/dhcp2
+# kmod (ex-module-init-tools) not modutils
+%{__rm} -r src/ja/manual/modutils
 # nfs-utils not nfs-server
 %{__rm} -r src/ja/manual/nfs-server
 # ypbind-mt not ypbind
 %{__rm} -r src/ja/manual/ypbind
-# we use: net-tools/hostname, util-linux/{kill,last,lastb,write}, SysVinit/{mesg,wall,halt,reboot,shutdown}, textutils/od, quota/rquotad
-%{__rm} src/ja/manual/{GNU_sh-utils/man1/hostname.1,SysVinit/man1/{last,lastb}.1,procps/man1/kill.1,util-linux/man1/{mesg,wall}.1,netkit/man1/write.1,nfs-utils/man8/rquotad.8}
-# following modutils changes
-for f in src/ja/manual/modutils/man8/{depmod,insmod,lsmod,modinfo,modprobe,rmmod} ; do
-       %{__mv} ${f}.8 ${f}.modutils.8
-done
-# avoid filename conflict
-%{__mv} src/ja/manual/netkit/man8/ftpd.{8,8n}
-# remove files existing in main man-pages tarball
-# note: (should we keep those from main tarball or ja tarball?)
-%{__rm} src/ja/manual/GNU_fileutils/man1/{chgrp,chmod,chown,cp,dd,df,du,install,ln,ls,mkdir,mkfifo,mknod,mv,rm,rmdir,touch}.1
-%{__rm} src/ja/manual/GNU_sh-utils/man1/{basename,chroot,date,dirname,echo,env,expr,false,groups,hostid,id,logname,nice,nohup,pathchk,printenv,printf,pwd,sleep,stty,su,tee,test,true,tty,uname,users,who,whoami,yes}.1
-%{__rm} src/ja/manual/GNU_textutils/man1/{cat,cksum,comm,csplit,cut,expand,fmt,fold,head,join,md5sum,nl,od,paste,pr,sort,split,sum,tac,tail,tr,unexpand,uniq,wc}.1
-%{__rm} src/ja/manual/lpr-linux/man1/{lpq,lpr,lprm}.1
-%{__rm} src/ja/manual/net-tools/man1/hostname.1
+# man-db not man
+%{__rm} src/ja/manual/man/man1/{apropos,man,whatis}.1
+# hostname(1) from hostname (ex-net-tools)
+%{__rm} src/ja/manual/GNU_coreutils/man1/hostname.1
+# kill(1) from util-linux
+%{__rm} src/ja/manual/GNU_coreutils/man1/kill.1
+# uptime(1) from procps
+%{__rm} src/ja/manual/GNU_coreutils/man1/uptime.1
+# last(1),lastb(1),mesg(1) from util-linux
+%{__rm} src/ja/manual/SysVinit/man1/{last,lastb,mesg}.1
+# blkid(8) from util-linux
+%{__rm} src/ja/manual/e2fsprogs/man8/blkid.8
+# lpq(1),lpr(1),lprm(1),lpc(8) from cups (or LPRng)
+%{__rm} src/ja/manual/lpr-linux/{man1/{lpq,lpr,lprm}.1,man8/lpc.8}
+# timeout(1) from coreutils
 %{__rm} src/ja/manual/netatalk/man1/timeout.1
-%{__rm} src/ja/manual/procps/man1/uptime.1
-%{__rm} src/ja/manual/util-linux/man1/kill.1
-%{__rm} src/ja/manual/bind/man7/hostname.7
-%{__rm} src/ja/manual/cups/man8/lpc.8
+# write(1) from util-linux
+%{__rm} src/ja/manual/netkit/man1/write.1
+# rquotad(8) from quota
+%{__rm} src/ja/manual/nfs-utils/man8/rquotad.8
+# kill(1) from util-linux
+%{__rm} src/ja/manual/procps/man1/kill.1
+# wall(1) from SysVinit
+%{__rm} src/ja/manual/util-linux/man1/wall.1
+# resolve conflicts of alternatives
+%{__mv} src/ja/manual/netkit/man8/ftpd.8{,netkit}
+# merge the rest
 for f in 1 3 4 5 6 7 8 ; do
        mv -i src/ja/manual/*/man${f}/* src/ja/man${f}
 done
This page took 0.03823 seconds and 4 git commands to generate.