# # spec file for package perl-gettext (Version 1.05) # # Copyright (c) 2010 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 ; GPLv2+ 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: 138 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 %{?jobs:-j%jobs} # --------------------------------------------------------------------------- %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