From 8fcc392e874f33f0290f3420108d5d8b993f5d70 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:55:59 +0100 Subject: [PATCH] update to 4.18.0 source renamed from man-pages-l10n [release 4.18.0-1mamba;Tue Mar 28 2023] --- README.md | 2 + manpages-l10n.spec | 237 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 239 insertions(+) create mode 100644 manpages-l10n.spec diff --git a/README.md b/README.md index ff40936..76d9455 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # manpages-l10n +French version of the Linux man-pages. + diff --git a/manpages-l10n.spec b/manpages-l10n.spec new file mode 100644 index 0000000..5154c37 --- /dev/null +++ b/manpages-l10n.spec @@ -0,0 +1,237 @@ +%define gitver %(echo %version | tr _ -) +Name: manpages-l10n +Version: 4.18.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-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 fr mk nl pl pt_BR ro; do + make -C po/${_lang} +done + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +for _lang in cs da de fr mk nl pl pt_BR ro; do + %makeinstall -C po/${_lang} +done + +# Conflicting pages provided by shadow +rm -f %{buildroot}%{_mandir}/{cs,da,de,fr,pl}/man1/groups.1* +rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man3/getspnam.1* +rm -f %{buildroot}%{_mandir}/{de,fr,pl}/man1/su.1* + +%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-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 +* 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