%define gitver %(echo %version | tr _ -) Name: manpages-l10n Version: 4.19.0 Release: 1mamba Summary: Translations of man pages Group: System/Internationalization Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://salsa.debian.org/manpages-l10n-team/manpages-l10n Source0: https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/%{version}/manpages-l10n-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: po4a %description French version of the Linux man-pages. %package -n man-pages-cs Group: System/Internationalization Summary: Czech translations of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-cs) %description -n man-pages-cs Czech translations of the Linux man pages. %package -n man-pages-da Group: System/Internationalization Summary: Danish translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-da) %description -n man-pages-da Danish translations of the Linux man pages. %package -n man-pages-de Group: System/Internationalization Summary: German translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-de) %description -n man-pages-de German translations of the Linux man pages. %package -n man-pages-es Group: System/Internationalization Summary: Spanish translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-es) %description -n man-pages-es Spanish translations of the Linux man pages. %package -n man-pages-fr Group: System/Internationalization Summary: French translations of the Linux man pages Requires: man-db Requires: man-pages Obsoletes: man-pages-i18n-fr < 4.10.0 Supplements: (man-pages and langpacks-fr) %description -n man-pages-fr French translations of the Linux man pages. %package -n man-pages-hu Group: System/Internationalization Summary: Hungarian translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-hu) %description -n man-pages-hu Hungarian translations of the Linux man pages. %package -n man-pages-mk Group: System/Internationalization Summary: Macedonian translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-mk) %description -n man-pages-mk Macedonian translations of the Linux man pages. %package -n man-pages-nl Group: System/Internationalization Summary: Dutch translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-nl) %description -n man-pages-nl Dutch translations of the Linux man pages. %package -n man-pages-pl Group: System/Internationalization Summary: Polish translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-pl) %description -n man-pages-pl Polish translations of the Linux man pages. %package -n man-pages-pt_BR Group: System/Internationalization Summary: Portuguese (Brazil) translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-pt_BR) %description -n man-pages-pt_BR Portuguese (Brazil) translations of the Linux man pages. %package -n man-pages-ro Group: System/Internationalization Summary: Romanian translation of the Linux man pages Requires: man-db Requires: man-pages Supplements: (man-pages and langpacks-ro) %description -n man-pages-ro Romanian translations of the Linux man pages. %prep %setup -q #% setup -q -c -D -T #:<< _EOF %build #:<< _EOF ./configure --prefix=%{_prefix} # NOTE: keeping current stand-alone packages for es, it, pl for _lang in cs da de es fr mk nl pl pt_BR ro; do make -C po/${_lang} done %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" for _lang in cs da de es fr mk nl pl pt_BR ro; do %makeinstall -C po/${_lang} done # Conflicting pages provided by shadow rm -f %{buildroot}%{_mandir}/*/man1/groups.1* rm -f %{buildroot}%{_mandir}/*/man3/getspnam.3* rm -f %{buildroot}%{_mandir}/*/man1/su.1* # Conflicting pages provided by util-linux rm -f %{buildroot}%{_mandir}/*/man*/{\ colrm,getopt,last,lastb,look,more,namei,newgrp,ul,write,fstab,\ ctrlaltdel,tunelp,vigr,vipw,dmesg,fallocate,flock,getopt,ionice,\ ipcmk,ipcrm,ipcs,irqtop,last,logger,lscpu,mcookie,mesg,more,mountpoint,\ nsenter,prlimit,runuser,script,scriptreplay,setsid,setterm,utmpdump,\ wall,whereis,uuid,uuid_clear,uuid_compare,uuid_copy,uuid_generate,\ uuid_is_null,uuid_parse,uuid_time,uuid_unparse,terminal-colors.d,\ addpart,agetty,blkdiscard,blkid,blockdev,cfdisk,chcpu,ctrlaltdel,\ delpart,fdisk,findfs,fsck,fsck.cramfs,fsck.minix,fsfreeze,fstrim,\ isosize,lslocks,mkfs,mkfs.cramfs,mkfs.minix,mount,pivot_root,resizepart,\ rtcwake,setarch,sulogin,swaplabel,switch_root,umount,uuidd,wdctl,choom,\ chrt,col,colcrt,column,eject,fincore,hardlink,hexdump,lsipc,lsirq,\ lslogins,lsmem,mountpoint,renice,rev,scriptlive,setpriv,taskset,ul,\ unshare,uuidgen,uuidparse,libblkid,adjtime_config,blkzone,chmem,findmnt,\ fsfreeze,hwclock,isosize,ldattach,losetup,lsblk,lsns,mkfs.bfs,mkswap,partx,\ readprofile,rfkill,sfdisk,swapon,wipefs,zramctl}\.* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n man-pages-cs %defattr(-,root,root) %dir %{_mandir}/cs %{_mandir}/cs/man*/* %files -n man-pages-da %defattr(-,root,root) %dir %{_mandir}/da %{_mandir}/da/man*/* %files -n man-pages-de %defattr(-,root,root) %dir %{_mandir}/de %{_mandir}/de/man*/* %files -n man-pages-es %defattr(-,root,root) %dir %{_mandir}/es %{_mandir}/es/man*/* %files -n man-pages-fr %defattr(-,root,root) %dir %{_mandir}/fr %{_mandir}/fr/man*/* #%files -n man-pages-hu #%defattr(-,root,root) #%dir %{_mandir}/hu #%{_mandir}/hu/man*/* %files -n man-pages-mk %defattr(-,root,root) %dir %{_mandir}/mk %{_mandir}/mk/man*/* %files -n man-pages-nl %defattr(-,root,root) %dir %{_mandir}/nl %{_mandir}/nl/man*/* %files -n man-pages-pl %defattr(-,root,root) %dir %{_mandir}/pl %{_mandir}/pl/man*/* %files -n man-pages-pt_BR %defattr(-,root,root) %dir %{_mandir}/pt_BR %{_mandir}/pt_BR/man*/* %files -n man-pages-ro %defattr(-,root,root) %dir %{_mandir}/ro %{_mandir}/ro/man*/* %changelog * Sun Jun 04 2023 Automatic Build System 4.19.0-1mamba - automatic version update by autodist * Sun May 21 2023 Silvan Calarco 4.18.1-3mamba - removal of last conflicts with util-linux * Sat May 20 2023 Silvan Calarco 4.18.1-2mamba - remove conflicts with util-linux 2.39; add spanish language * Sun Apr 09 2023 Automatic Build System 4.18.1-1mamba - automatic version update by autodist * Thu Mar 30 2023 Silvan Calarco 4.18.0-2mamba - fix removal of conflicting man3/getspnam.3 * Tue Mar 28 2023 Silvan Calarco 4.18.0-1mamba - update to 4.18.0 - source renamed from man-pages-l10n * Fri Nov 25 2022 Automatic Build System 4.16.0-1mamba - automatic version update by autodist * Sat Oct 22 2022 Silvan Calarco 4.13-2mamba - man-pages-fr: remove su manpage conflicting with shadow * Tue Feb 22 2022 Automatic Build System 4.13-1mamba - automatic version update by autodist * Fri Dec 24 2021 Automatic Build System 4.12.1-1mamba - automatic version update by autodist * Wed Sep 29 2021 Silvan Calarco 4.11.0-2mamba - remove a couple of conflicting pages provided by shadow * Thu Sep 16 2021 Automatic Build System 4.11.0-1mamba - automatic version update by autodist * Wed Jul 21 2021 Silvan Calarco 4.10.0-1mamba - update to 4.10.0 - renamed from man-pages-i18n-fr as a base package for more languages subpackages * Sun Apr 04 2021 Silvan Calarco 4.9.3-1mamba - update to 4.9.3 * Sun Apr 04 2021 Silvan Calarco 4.16_2-1mamba - update to 4.16_2 * Sat Sep 25 2010 Davide Madrisan 3.23-2mamba - do compress manpages * Sat Sep 25 2010 Davide Madrisan 3.23-1mamba - new package