SHA256
1
0
forked from pool/perl-gettext
perl-gettext/perl-gettext.spec

77 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# 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
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
%if 0%{?suse_version} < 1140
Requires: perl = %{perl_version}
%else
%{perl_requires}
%endif
%description
Gettext for perl.
Authors:
--------
Phillip Vandry <vandry@Mlink.NET>
%prep
%setup -q -n gettext-%{version}
%patch
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
# ---------------------------------------------------------------------------
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc README
%changelog