# # spec file for package perl-gettext (Version 1.05) # # Copyright (c) 2009 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/ # # norootforbuild Name: perl-gettext Url: http://archive.cpan.cz/authors/id/P/PV/PVANDRY/ License: Artistic License; GPL v2 or later Group: Development/Libraries/Perl BuildRequires: perl Obsoletes: perl_gtx Provides: perl_gtx Requires: perl = %{perl_version} AutoReqProv: on Summary: gettext for perl Version: 1.05 Release: 137 Source: gettext-%{version}.tar.bz2 Patch: %{name}-%{version}-POSIX.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Gettext for perl. Authors: -------- Phillip Vandry %prep %setup -q -n gettext-%{version} %patch # --------------------------------------------------------------------------- %build perl Makefile.PL make # --------------------------------------------------------------------------- %check make test %install make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{perl_vendorarch}/Locale %{perl_vendorarch}/auto/Locale %doc %{_mandir}/man3/Locale::gettext.3pm.gz /var/adm/perl-modules/%{name} %doc README %changelog * Wed Jan 30 2008 pth@suse.de - Fix bug reference. * Tue Jan 29 2008 anicka@suse.de - fix mismatched prototypes [bnc#353715] - fix specfile (rpmlint warnings), enable tests * Sun May 27 2007 rguenther@suse.de - add perl BuildRequires * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jul 11 2005 schubi@suse.de - update to 1.05 * Fri Apr 15 2005 schubi@suse.de - update to 1.04 * Sun Jan 11 2004 adrian@suse.de - add %%defattr * Fri Aug 22 2003 mjancar@suse.cz - require the perl version we build with * Tue Jul 15 2003 schwab@suse.de - Update specfile. * Tue Jun 17 2003 choeger@suse.de - updated filelist * Thu Aug 08 2002 mls@suse.de - use sitearch macro * Thu Nov 16 2000 ro@suse.de - use BuildRoot * Thu Nov 16 2000 ro@suse.de - renamed package perl_gtx to perl-gettext * Wed Sep 20 2000 schwab@suse.de - Fix missing declarations. * Wed May 31 2000 choeger@suse.de - first version, 1.01