2006-12-19 00:17:27 +01:00
|
|
|
#
|
|
|
|
# spec file for package perl-gettext (Version 1.05)
|
|
|
|
#
|
2010-01-14 15:14:06 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:17:27 +01:00
|
|
|
#
|
2009-06-18 17:05:15 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-05-27 18:38:31 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2006-12-19 00:17:27 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 17:05:15 +02:00
|
|
|
|
2007-05-27 18:38:31 +02:00
|
|
|
Name: perl-gettext
|
2008-01-30 03:36:45 +01:00
|
|
|
Url: http://archive.cpan.cz/authors/id/P/PV/PVANDRY/
|
2010-01-14 15:14:06 +01:00
|
|
|
License: Artistic ; GPLv2+
|
2007-05-27 18:38:31 +02:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
BuildRequires: perl
|
|
|
|
Obsoletes: perl_gtx
|
|
|
|
Provides: perl_gtx
|
|
|
|
Requires: perl = %{perl_version}
|
2008-01-30 03:36:45 +01:00
|
|
|
AutoReqProv: on
|
2007-05-27 18:38:31 +02:00
|
|
|
Summary: gettext for perl
|
|
|
|
Version: 1.05
|
2010-01-14 15:14:06 +01:00
|
|
|
Release: 138
|
2008-01-30 03:36:45 +01:00
|
|
|
Source: gettext-%{version}.tar.bz2
|
|
|
|
Patch: %{name}-%{version}-POSIX.diff
|
2007-05-27 18:38:31 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2006-12-19 00:17:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Gettext for perl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Phillip Vandry <vandry@Mlink.NET>
|
|
|
|
|
|
|
|
%prep
|
2008-01-30 03:36:45 +01:00
|
|
|
%setup -q -n gettext-%{version}
|
|
|
|
%patch
|
2006-12-19 00:17:27 +01:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-14 15:14:06 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
2006-12-19 00:17:27 +01:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
2008-01-30 03:36:45 +01:00
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
2006-12-19 00:17:27 +01:00
|
|
|
%install
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
2008-01-30 03:36:45 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-19 00:17:27 +01:00
|
|
|
%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
|
|
|
|
|
2007-05-27 18:38:31 +02:00
|
|
|
%changelog
|