3 %bcond_without tests # do not perform "make test"
6 %define pnam Webmail-Gmail
7 Summary: Mail::Webmail::Gmail - An interface to Google's webmail service
8 Summary(pl.UTF-8): Mail::Webmail::Gmail - Interfejs do serwisu Google webmail
9 Name: perl-Mail-Webmail-Gmail
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Mail/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 441c0eac1fa6afac777b0404dec79ed2
17 URL: http://search.cpan.org/dist/Mail-Webmail-Gmail/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Crypt-SSLeay
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Because Gmail is currently in Beta testing, expect this module to
28 break as they make updates to their interface. I will attempt to keep
29 this module in line with the changes they make, but, if after updating
30 to the newest version of this module, the feature that you require
31 still doesn't work, please contact me with the issue.
33 %description -l pl.UTF-8
34 Ponieważ Gmail jest aktualnie w stanie testów beta, ten moduł może
35 przestać działać w miarę uaktualnień ich interfejsu. Autor będzie
36 próbował utrzymać ten moduł w synchronizacji ze zmianami, ale, jeśli
37 po uaktualnieniu do najnowszej wersji modułu, jakaś opcja nadal nie
38 działa, należy się skontaktować z autorem.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %dir %{perl_vendorlib}/Mail/Webmail
63 %{perl_vendorlib}/Mail/Webmail/*.pm