[Tizen-submit] 5700: Changes to Tizen/perl-gettext

noreply at tizen.org noreply at tizen.org
Mon May 20 11:15:29 GMT 2013


Hi,
Prajwal Mohan have made the following changes to perl-gettext in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #5700

  submit:       Tizen:build/perl-gettext(cleanup) -> Tizen


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

State:   accepted   2013-05-16T20:39:27 pkarurmo
Comment: Ok

History: new        2013-05-16T19:38:02 tizenrobot
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:
----
  0001-POSIX.patch
  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,53 @@
+Name:           perl-gettext
+Version:        1.05
+Release:        151
+VCS:            platform/upstream/perl-gettext#submit/tizen/20130517.023753-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
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-POSIX.patch
+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}
+# 0001-POSIX.patch
+%patch0 -p1
+
+%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:
--------------

++++++ 0001-POSIX.patch (new)
--- 0001-POSIX.patch

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list