[Tizen-submit] 3869: New package devel:upstream/perl-gettext

noreply at tizen.org noreply at tizen.org
Fri May 3 23:16:32 GMT 2013


Hi,
Adding new package perl-gettext in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.231552
Git project: platform/upstream/perl-gettext
Tag: submit/tizen/20130503.231552
Commit: fb2d051 Remove old perl macro

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3869

  submit:       devel:upstream:build/perl-gettext(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.231552
Git project: platform/upstream/perl-gettext
Tag: submit/tizen/20130503.231552
Commit: fb2d051 Remove old perl macro

State:   new        2013-05-03T15:44:51 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- perl-gettext.changes
+++ perl-gettext.changes
@@ -0,0 +1,3 @@
+* Fri Mar 22 2013 Anas Nashif <anas.nashif at intel.com> upstream/1.05 at 75f56d2
+- Remove old perl macro
+

new:
----
  gettext-1.05.tar.gz
  perl-gettext.changes
  perl-gettext.spec

spec files:
-----------

++++++ new spec file:
--- perl-gettext.spec
+++ perl-gettext.spec
@@ -0,0 +1,49 @@
+Name:           perl-gettext
+Version:        1.05
+Release:        151
+VCS:        platform/upstream/perl-gettext#submit/tizen/20130503.231552-0-gfb2d051
+License:        Artistic-1.0 ; GPL-2.0+
+%define cpan_name gettext
+Summary:        Message handling functions
+Url:            http://search.cpan.org/dist/gettext/
+Group:          Development/Libraries/Perl
+Source:         http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
+BuildRequires:  perl
+
+%description
+The gettext module permits access from perl to the gettext() family of
+functions for retrieving message strings from databases constructed to
+internationalize software.
+
+gettext(), dgettext(), and dcgettext() attempt to retrieve a string
+matching their 'msgid' parameter within the context of the current locale.
+dcgettext() takes the message's category and the text domain as parameters
+while dcgettext() defaults to the LC_MESSAGES category and gettext()
+defaults to LC_MESSAGES and uses the current text domain. If the string is
+not found in the database, then 'msgid' is returned.
+
+textdomain() sets the current text domain and returns the previously active
+domain.
+
+_bindtextdomain(domain, dirname)_ instructs the retrieval functions to look
+for the databases belonging to domain 'domain' in the directory 'dirname'
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
+
+%check
+make test
+
+%install
+%perl_make_install
+%perl_process_packlist
+%perl_gen_filelist
+
+%files -f %{name}.files
+%defattr(644,root,root,755)
+
+%changelog

other changes:
--------------

++++++ gettext-1.05.tar.gz (new)


More information about the Tizen-submit mailing list