SPECS: perl-Net-IMAP-Client.spec (NEW) - new
radek
radek at pld-linux.org
Thu Feb 5 11:40:02 CET 2009
Author: radek Date: Thu Feb 5 10:40:02 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Net-IMAP-Client.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Net-IMAP-Client.spec
diff -u /dev/null SPECS/perl-Net-IMAP-Client.spec:1.1
--- /dev/null Thu Feb 5 11:40:03 2009
+++ SPECS/perl-Net-IMAP-Client.spec Thu Feb 5 11:39:57 2009
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Net
+%define pnam IMAP-Client
+Summary: Net::IMAP::Client - Not so simple IMAP client library
+#Summary(pl.UTF-8):
+Name: perl-Net-IMAP-Client
+Version: 0.9
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: b974ece04e4196f3baa12c5518fc15bd
+# generic URL, check or change before uncommenting
+#URL: http://search.cpan.org/dist/Net-IMAP-Client/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-IO-Socket-SSL
+BuildRequires: perl-List-MoreUtils
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Net::IMAP::Client provides methods to access an IMAP server. It aims
+to provide a simple and clean API, while employing a rigorous parser
+for IMAP responses in order to create Perl data structures from them.
+The code is simple, clean and extensible.
+
+It started as an effort to improve Net::IMAP::Simple but then I
+realized that I needed to change a lot of code and API so I started it
+as a fresh module. Still, the design is influenced by
+Net::IMAP::Simple and I even stole a few lines of code from it ;-)
+(very few, honestly).
+
+This software was developed for creating a web-based email (IMAP)
+client: www.xuheki.com. Xhueki uses Net::IMAP::Client.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Net/IMAP/*.pm
+%{perl_vendorlib}/Net/IMAP/Client
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/02/05 10:39:57 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list