2010-11-15 12:59:44 +00:00
|
|
|
#
|
2011-05-18 13:00:21 +00:00
|
|
|
# spec file for package perl-Locale-Maketext-Gettext
|
2010-11-15 12:59:44 +00:00
|
|
|
#
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2010-11-15 12:59:44 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-09-10 13:51:21 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-11-15 12:59:44 +00:00
|
|
|
#
|
|
|
|
|
2011-05-18 13:00:21 +00:00
|
|
|
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
%define cpan_name Locale-Maketext-Gettext
|
2010-11-15 12:59:44 +00:00
|
|
|
Name: perl-Locale-Maketext-Gettext
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
Version: 1.32
|
2019-09-10 13:51:21 +00:00
|
|
|
Release: 0
|
2010-11-15 12:59:44 +00:00
|
|
|
Summary: Joins the gettext and Maketext frameworks
|
2019-09-10 13:51:21 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-09-10 13:51:21 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IM/IMACAT/%{cpan_name}-%{version}.tar.gz
|
2019-09-17 10:08:03 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:05 +02:00
|
|
|
Source100: README.md
|
2010-11-15 12:59:44 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.420000
|
2019-09-10 13:51:21 +00:00
|
|
|
%{perl_requires}
|
2010-11-15 12:59:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Locale::Maketext::Gettext joins the GNU gettext and Maketext frameworks. It
|
|
|
|
is a subclass of Locale::Maketext(3) that follows the way GNU gettext
|
2019-09-10 13:51:21 +00:00
|
|
|
works. It works seamlessly, _both in the sense of GNU gettext and
|
|
|
|
Maketext_. As a result, you _enjoy both their advantages, and get rid of
|
|
|
|
both their problems, too._
|
|
|
|
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
You start as a usual GNU gettext localization project: Work on PO files
|
2019-09-10 13:51:21 +00:00
|
|
|
with the help of translators, reviewers and Emacs. Turn them into MO files
|
|
|
|
with _msgfmt_. Copy them into the appropriate locale directory, such as
|
|
|
|
_/usr/share/locale/de/LC_MESSAGES/myapp.mo_.
|
|
|
|
|
|
|
|
Then, build your Maketext localization class, with your base class changed
|
|
|
|
from Locale::Maketext(3) to Locale::Maketext::Gettext. That is all.
|
2010-11-15 12:59:44 +00:00
|
|
|
|
|
|
|
%prep
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2010-11-15 12:59:44 +00:00
|
|
|
|
|
|
|
%build
|
2019-09-10 13:51:21 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
2010-11-15 12:59:44 +00:00
|
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%install
|
2019-09-10 13:51:21 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
2010-11-15 12:59:44 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
Accepting request 870488 from devel:languages:perl:autoupdate
- updated to 1.32
see /usr/share/doc/packages/perl-Locale-Maketext-Gettext/Changes
2021-02-08 version 1.32
1. Makefile.PL, Build.PL: Added the CPAN distribution metadata.
2021-02-07
1. maketext: Fixed the version number.
2021-02-07 version 1.31
1. Updated .gitignore.
2. Added MANIFEST.SKIP.
3. MANIFEST, META.json, META.yml, SIGNATURE: Generated files
removed from the Git repository.
4. COPYING: Removed the redundant and irrelevant GPL license.
5. BUGS, INSTALL, README, THANKS, TODO, README.md: Replaced the
messy GNU-styled documents with a single Markdown README.md,
and updated the URLs.
6. Gettext.pm, Functions.pm, maketext, 11-command-line.t,
12-cache.t, Changes: Various fixes to avoid JetBrains IDE
problem detection.
OBS-URL: https://build.opensuse.org/request/show/870488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Locale-Maketext-Gettext?expand=0&rev=15
2021-02-11 11:25:53 +00:00
|
|
|
%doc Changes README.md
|
|
|
|
%license Artistic
|
2010-11-15 12:59:44 +00:00
|
|
|
|
|
|
|
%changelog
|