[packages/libidn2] - package locale files - added pl.po-update patch (one fuzzy entry) - release 2

qboosh qboosh at pld-linux.org
Sat Jun 9 09:47:41 CEST 2018


commit 176e065d202efc5b68b3c0696859fccf71008bd1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 9 09:48:54 2018 +0200

    - package locale files
    - added pl.po-update patch (one fuzzy entry)
    - release 2

 libidn2-pl.po-update.patch | 17 +++++++++++++++++
 libidn2.spec               | 10 ++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/libidn2.spec b/libidn2.spec
index d0160ec..ecf483f 100644
--- a/libidn2.spec
+++ b/libidn2.spec
@@ -2,12 +2,13 @@ Summary:	Free software implementation of IDNA2008
 Summary(pl.UTF-8):	Wolnodostępna implementacja IDNA2008
 Name:		libidn2
 Version:	2.0.5
-Release:	1
+Release:	2
 License:	LGPL v3+ or GPL v2+ (library), GPL v3+ (utilities)
 Group:		Libraries
 Source0:	http://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.lz
 # Source0-md5:	dcc9a9f861e3f886f45382fddcf9df3f
 Patch0:		%{name}-info.patch
+Patch1:		%{name}-pl.po-update.patch
 URL:		http://www.gnu.org/software/libidn/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.10
@@ -61,6 +62,9 @@ Statyczna biblioteka libidn2.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+
+%{__rm} po/stamp-po
 
 %build
 %{__gettextize}
@@ -81,6 +85,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -92,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/ldconfig
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README.md
 %attr(755,root,root) %{_bindir}/idn2
diff --git a/libidn2-pl.po-update.patch b/libidn2-pl.po-update.patch
new file mode 100644
index 0000000..e32234b
--- /dev/null
+++ b/libidn2-pl.po-update.patch
@@ -0,0 +1,17 @@
+--- libidn2-2.0.5/po/pl.po.orig	2018-06-09 09:42:23.319657214 +0200
++++ libidn2-2.0.5/po/pl.po	2018-06-09 09:42:25.832990518 +0200
+@@ -189,13 +189,12 @@
+ "      --no-tr46            Wyłączenie przetwarzania TR46\n"
+ 
+ #: src/idn2.c:94
+-#, fuzzy
+ msgid ""
+ "      --usestd3asciirules  Enable STD3 ASCII rules\n"
+ "      --debug              Print debugging information\n"
+ "      --quiet              Silent operation\n"
+ msgstr ""
+-"      --nostd3asciirules   Wyłączenie reguł STD3 ASCII\n"
++"      --usestd3asciirules  Włączenie reguł STD3 ASCII\n"
+ "      --debug              Wypisywanie informacji diagnostycznych\n"
+ "      --quiet              Działenie po cichu\n"
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libidn2.git/commitdiff/176e065d202efc5b68b3c0696859fccf71008bd1



More information about the pld-cvs-commit mailing list