forked from pool/i18nspector
Accepting request 177101 from home:Lazy_Kent
A very useful package. OBS-URL: https://build.opensuse.org/request/show/177101 OBS-URL: https://build.opensuse.org/package/show/M17N/i18nspector?expand=0&rev=1
This commit is contained in:
commit
17d36b38b4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
i18nspector-0.9.1.tar.gz
Normal file
3
i18nspector-0.9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e3cfe507320d3abd12fd8857427716da94c66e50c630ff159e29b1f6b62e229d
|
||||
size 69539
|
17
i18nspector-0.9.1.tar.gz.asc
Normal file
17
i18nspector-0.9.1.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.12 (GNU/Linux)
|
||||
|
||||
iQIcBAABCAAGBQJRljIZAAoJEC1Os6YBVHX1bNwQAK+fawUDHey9ZHtxqklmXtyP
|
||||
L0AIxSSYUtNQ+kYoUY5TA0lW+rWKvGenQfO0K5TYhMTCKKh9qsrv1kNWD2ien7M1
|
||||
RdMW+Zawin0Vv2X9G+gMRmZ17hyz4dFlV+JT0Vau906cXNwJe1DTNgRm96G9OoeW
|
||||
GXgy9EQO89gVGv/+7K1PAHUXtEysPwPU2wTBqdzXKH8jWxNruTin3zy8MSkfAdeH
|
||||
TGxY4Ap+ZNLzmNXwaGE9Cv09xriTice/5D8wGf6DYXWz8dXogKZYzpSx8iSKjgLZ
|
||||
h4VC0IEMQNovvaoErmwvMNYeQ9+PZBeBh4pxmm8GVKrZ4YAYQENwFxw1LFatv9Rw
|
||||
WH0VjwaDSs8OlDMvx3+IRMS9rhZ0641QDiiRlf+v1X/CZ1xaJOtz+lwHM+fR6Kw7
|
||||
OdDejjOYiYbgVq264TQSQDGUqWk6xI+7mCZQq7brDxpUcSYRArklepRGAS1nsKqy
|
||||
oppO7eSLPNKPw8CuWBFL6udBanfGE12bI5KcPPDCMy8ghpaX2beu4NjaLsWDtQYJ
|
||||
PY22D2m6+RUCxYjk4OLx2Ixs9glj8HiMXJQxWwi+a2yPIKrZDxyt29lwSTT8/I4F
|
||||
nXmCYDFFRdIyUzJPDL1LVWferNXFG5X5yNWIQZW8eMOZzO0COejWSPb5nu+vGAQm
|
||||
oAVyyz6GPNIHaUqtPkh6
|
||||
=Sqlt
|
||||
-----END PGP SIGNATURE-----
|
60
i18nspector.changes
Normal file
60
i18nspector.changes
Normal file
@ -0,0 +1,60 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 25 19:58:18 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Update to 0.9.1.
|
||||
* Brown paper bag release.
|
||||
* Don't complain about leading/trailing newlines in fuzzy
|
||||
messages.
|
||||
* Improve the test suite.
|
||||
- Changes in 0.9.
|
||||
* Summary of tag changes:
|
||||
+ Added:
|
||||
- inconsistent-leading-newlines
|
||||
- inconsistent-trailing-newlines
|
||||
* Check for inconsistent leading/trailing newlines in messages.
|
||||
* Check for unusual characters also in plural translations.
|
||||
* Add information about version and date to the manual page.
|
||||
* Fix stripping delay annotations from terminfo capabilities.
|
||||
- Changes in 0.8.3.
|
||||
* Improve the test suite.
|
||||
+ Skip some tests when run with (pseudo-)root privileges.
|
||||
* Add “test” target to Makefile.
|
||||
* Recognize “PROJECT VERSION” as boilerplate in the
|
||||
Project-Id-Version header field.
|
||||
- Drop i18nspector-0.8.2-run_tests.patch (fixed upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 1 08:04:52 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Run test suite (add i18nspector-0.8.2-run_tests.patch: add "test"
|
||||
target to Makefile; BuildRequires: python3-curses, python3-nose,
|
||||
python3-polib).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 18 07:41:49 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Update to 0.8.2.
|
||||
* Make it possible to declare that a language has more than one
|
||||
correct Plural-Forms.
|
||||
* Add plural forms information for the following languages:
|
||||
Belarusian, Bosnian, Croatian, Hungarian, Russian, Serbian,
|
||||
Turkish, Ukrainian.
|
||||
* Improve the test suite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 21:51:43 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Update to 0.8.1.
|
||||
* Improve the documentation.
|
||||
* Remove an incorrect assertion in the plural expression parser.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 17 18:41:41 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Requires python3 for openSUSE < 12.3.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 16:20:54 UTC 2013 - lazy.kent@opensuse.org
|
||||
|
||||
- Initial package created - 0.8.
|
||||
|
82
i18nspector.keyring
Normal file
82
i18nspector.keyring
Normal file
@ -0,0 +1,82 @@
|
||||
pub 4096R/015475F5 2009-10-23 [expires: 2014-01-01]
|
||||
uid Jakub Wilk <jwilk@jwilk.net>
|
||||
uid Jakub Wilk <jwilk@debian.org>
|
||||
uid Jakub Wilk <ubanus@users.sf.net>
|
||||
sub 4096R/E5874F63 2009-10-23
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBEriG80BEADRWluqqGiV3JDkqAJvLcd8GpdJ1ILAeVceR0rWENpVP8f8qLp+
|
||||
d423rMEd2M5IagCngKUhTDt7zylCttRulUzde2VrhFSX+LsVaOhZrDTLjzdxOKZJ
|
||||
W6sDBUbEhZA9O40sC7wOc60On7SIbAHewOiVlSSzrpuaNOcmeFqxxqXnl03a13ip
|
||||
Jj8BYlkTGtpWK5eAxcl8Tnu8zuxwlXjJ6CANmYnctA/JOwDVr86Vqx7We46yCt6T
|
||||
+uE1f/6qdV9yzPG4sCJOcCe2nr52W0drqcm4AV03MRf5Gfyk0q6ZcyoNiZGMbmP0
|
||||
87pvkC14YQuelPnucUpT29zuZdJDlnl0nxk7MG77S7TafBrJii4cd1UIvbbfti0s
|
||||
e3S6xuW5VG2VmkN7tIGrVxt4f+x3Gmsimk665HZClbSbTjEUV6XGk77LoCzYFZR7
|
||||
aubQDUPq59Gj5ES98QjMEAUVp70ZqIwok9SQ3ZQlHcdcjGwSFFJcCPAS5z3Cx+1l
|
||||
57uaqEaF7lSkL9mqlBTpokb6NO9KNbi7gC2Weh5Kp2nl5ka0eCFe0dxPk0f4d8xq
|
||||
9YuCxYtGungL36J0JVhaxiMwLaNX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s09FW/+n9DTw=
|
||||
=AA/F
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
84
i18nspector.spec
Normal file
84
i18nspector.spec
Normal file
@ -0,0 +1,84 @@
|
||||
#
|
||||
# spec file for package i18nspector
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: i18nspector
|
||||
Version: 0.9.1
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Tool for Checking gettext POT/PO/MO Files
|
||||
Url: http://jwilk.net/software/i18nspector
|
||||
Group: Development/Tools/Other
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz.asc
|
||||
Source2: %{name}.keyring
|
||||
BuildRequires: python3-devel
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1220
|
||||
# Requires for tests.
|
||||
BuildRequires: python3-curses
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-polib
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1230
|
||||
Requires: python3 >= 3.2
|
||||
%endif
|
||||
Requires: python3-polib
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
i18nspector is a tool for checking translation templates (POT), message
|
||||
catalogues (PO) and compiled message catalogues (MO) files for common
|
||||
problems. These files are used by the GNU gettext translation functions
|
||||
and tools in many different development environments.
|
||||
|
||||
Checks include: incorrect or inconsistent character encoding, missing
|
||||
headers, incorrect language codes and improper plural forms.
|
||||
|
||||
%prep
|
||||
%if 0%{?gpg_verify:1}
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
# Python byte compile.
|
||||
%if 0%{?suse_version} >= 1210
|
||||
cd %{buildroot}%{_datadir}/%{name}/
|
||||
%py3_compile .
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1220
|
||||
%check
|
||||
make test
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/{changelog,tags.txt,todo.txt}
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%doc %{_mandir}/man?/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user