]> git.pld-linux.org Git - packages/perl-Mail-Webmail-Gmail.git/blob - perl-Mail-Webmail-Gmail.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Mail-Webmail-Gmail.git] / perl-Mail-Webmail-Gmail.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Mail
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
10 Version:        1.09
11 Release:        2
12 # same as perl
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
20 %if %{with tests}
21 BuildRequires:  perl-Crypt-SSLeay
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
32
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.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Changes README
62 %dir %{perl_vendorlib}/Mail/Webmail
63 %{perl_vendorlib}/Mail/Webmail/*.pm
64 %{_mandir}/man3/*
This page took 0.081751 seconds and 4 git commands to generate.