SHA256
8
0
forked from pool/perl-NetxAP
Files
perl-NetxAP/perl-NetxAP.spec
OBS User autobuild 5cc30cee9b Accepting request 28969 from devel:languages:perl
Copy from devel:languages:perl/perl-NetxAP based on submit request 28969 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-NetxAP?expand=0&rev=6
2010-01-11 15:42:36 +00:00

73 lines
2.1 KiB
RPMSpec

#
# spec file for package perl-NetxAP (Version 0.02)
#
# 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-NetxAP
License: Artistic
Group: Development/Libraries/Perl
Provides: p_netxap
Obsoletes: p_netxap
Requires: perl = %{perl_version}
Requires: perl-Digest-HMAC
AutoReqProv: on
Summary: Interface to the protocol family IMAP, IMSP, ACAP, and ICAP
Version: 0.02
Release: 694
Source: NetxAP-%{version}.tar.gz
Patch: NetxAP-%{version}.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides an interface to the protocol family represented by
IMAP, IMSP, ACAP, and ICAP. A usable IMAP module is also provide.
Authors:
--------
Kevin Johnson <kjj@pobox.com>
%prep
%setup -n NetxAP-%{version}
%patch
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make %{?_smp_mflags}
# ---------------------------------------------------------------------------
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/Net
%{perl_vendorarch}/auto/Net
%{perl_vendorlib}/Net/IMAP.pm
%{perl_vendorlib}/Net/xAP.pm
%doc %{_mandir}/man3/Net::IMAP.3pm.gz
%doc %{_mandir}/man3/Net::xAP.3pm.gz
/var/adm/perl-modules/perl-NetxAP
%doc ANNOUNCE BUGS CREDITS MANIFEST NEWS README TODO examples
%changelog