Hello community,

here is the log from the commit of package perl-gettext for openSUSE:Factory
checked in at Fri Apr 15 20:28:13 CEST 2011.



--------
--- perl-gettext/perl-gettext.changes   2010-12-01 14:45:36.000000000 +0100
+++ perl-gettext/perl-gettext.changes   2011-04-11 12:59:09.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Apr 11 10:57:59 UTC 2011 - [email protected]
+
+- recreated by cpanspec 1.78.03
+- removed old Obsoletes/Provides perl_gtx
+
+-------------------------------------------------------------------
+Sun Apr 10 16:08:29 UTC 2011 - [email protected]
+
+- USe perl macros to generate filelist 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-gettext.spec ++++++
--- /var/tmp/diff_new_pack.K1e4Vk/_old  2011-04-15 20:26:10.000000000 +0200
+++ /var/tmp/diff_new_pack.K1e4Vk/_new  2011-04-15 20:26:10.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package perl-gettext (Version 1.05)
+# spec file for package perl-gettext
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,60 +15,63 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           perl-gettext
-Url:            http://archive.cpan.cz/authors/id/P/PV/PVANDRY/
+%define cpan_name gettext
+Summary:        Message handling functions
+Version:        1.05
+Release:        151
 License:        Artistic ; GPLv2+
 Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/gettext/
+#Source:         
http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
+Source:         %{cpan_name}-%{version}.tar.bz2
+Patch0:         %{name}-%{version}-POSIX.diff
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-Obsoletes:      perl_gtx
-Provides:       perl_gtx
-AutoReqProv:    on
-Summary:        gettext for perl
-Version:        1.05
-Release:        146
-Source:         gettext-%{version}.tar.bz2
-Patch:          %{name}-%{version}-POSIX.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %{perl_requires}
 
 %description
-Gettext for perl.
-
+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.
 
-Authors:
---------
-    Phillip Vandry <[email protected]>
+_bindtextdomain(domain, dirname)_ instructs the retrieval functions to look
+for the databases belonging to domain 'domain' in the directory 'dirname'
 
 %prep
-%setup -q -n gettext-%{version}
-%patch
-# ---------------------------------------------------------------------------
+%setup -q -n %{cpan_name}-%{version}
+%patch0
 
 %build
-perl Makefile.PL
-make %{?jobs:-j%jobs}
-# ---------------------------------------------------------------------------
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__make} %{?_smp_mflags}
 
 %check
-make test
+%{__make} test
 
 %install
-make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
 %perl_process_packlist
+%perl_gen_filelist
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf %{buildroot}
 
-%files
-%defattr(-,root,root)
-%{perl_vendorarch}/Locale
-%{perl_vendorarch}/auto/Locale
-%doc %{_mandir}/man3/Locale::gettext.3pm.gz
+%files -f %{name}.files
+%defattr(644,root,root,755)
 %doc README
 
 %changelog


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to