3 %bcond_without tests # do not perform "make test"
7 Summary: Growl::GNTP - Perl implementation of GNTP Protocol (Client Part)
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Growl/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 482e242fc8d274d1138c361200e0b65d
16 URL: http://search.cpan.org/dist/Growl-GNTP/
17 BuildRequires: perl-Module-Build
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl(IO::Socket::PortState)
22 BuildRequires: perl-Crypt-CBC >= 2.29
23 BuildRequires: perl-Data-UUID >= 0.149
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Growl::GNTP is Perl implementation of GNTP Protocol (Client Part)
32 %setup -q -n %{pdir}-%{pnam}-%{version}
36 destdir=$RPM_BUILD_ROOT \
40 %{?with_tests:./Build test}
43 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %dir %{perl_vendorlib}/Growl
57 %{perl_vendorlib}/Growl/GNTP.pm
59 %{_examplesdir}/%{name}-%{version}