packages: pwdutils/pwdutils.spec - fixed pl.po encoding - release: 4
sparky
sparky at pld-linux.org
Thu Jun 10 20:00:35 CEST 2010
Author: sparky Date: Thu Jun 10 18:00:35 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fixed pl.po encoding
- release: 4
---- Files affected:
packages/pwdutils:
pwdutils.spec (1.95 -> 1.96)
---- Diffs:
================================================================
Index: packages/pwdutils/pwdutils.spec
diff -u packages/pwdutils/pwdutils.spec:1.95 packages/pwdutils/pwdutils.spec:1.96
--- packages/pwdutils/pwdutils.spec:1.95 Sun Jun 6 12:47:48 2010
+++ packages/pwdutils/pwdutils.spec Thu Jun 10 20:00:30 2010
@@ -11,7 +11,7 @@
Summary(pl.UTF-8): Narzędzia do zarządzania informacjami o użytkownikach z passwd i shadow
Name: pwdutils
Version: 3.2.8
-Release: 3
+Release: 4
License: GPL v2
Group: Applications/System
Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
@@ -42,10 +42,10 @@
BuildRequires: libnscd-devel
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: libtool
+BuildRequires: libxcrypt-devel
%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
BuildRequires: openslp-devel
%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7d}
-BuildRequires: libxcrypt-devel
BuildRequires: pam-devel
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
@@ -102,9 +102,9 @@
rpasswd changes passwords for user accounts on a remote server over a
secure SSL connection. A normal user may only change the password for
their own account, if the user knows the password of the administrator
-account (in the moment this is the root password on the server), he may
-change the password for any account if he calls rpasswd with the -a
-option.
+account (in the moment this is the root password on the server), he
+may change the password for any account if he calls rpasswd with the
+-a option.
%description -n rpasswd -l pl.UTF-8
rpasswd pozwala zmieniać hasła użytkowników na zdalnym serwerze przy
@@ -164,6 +164,14 @@
rm -f po/stamp-po
+# pl.po has been recoded incorrectly
+iconv -f UTF-8 -t ISO-8859-1 po/pl.po | iconv -f ISO-8859-2 -t UTF-8 > pl.tmp
+sed '/Content-Type/s/ISO-8859-2/UTF-8/' pl.tmp > po/pl.po
+rm pl.tmp
+
+# make sure it is correct now
+grep -q "Hasło" po/pl.po
+
%build
%{__gettextize}
%{__libtoolize}
@@ -333,6 +341,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.96 2010/06/10 18:00:30 sparky
+- fixed pl.po encoding
+- release: 4
+
Revision 1.95 2010/06/06 10:47:48 wiget
- added stat.patch (missing included for stat/fchmod/S_ISDIR and co)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pwdutils/pwdutils.spec?r1=1.95&r2=1.96&f=u
More information about the pld-cvs-commit
mailing list