# # Conditional build: %bcond_without tests # do not perform "make test" # %define pdir Email %define pnam FolderType-Net Summary: Email::FolderType::Net - Recognize folder types for network based message protocols Summary(pl.UTF-8): Email::FolderType::Net - Rozpoznawanie typu folderu dla protokołów sieciowych Name: perl-Email-FolderType-Net Version: 1.041 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Email/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 37ebccb31b937d4c83ea6a73aa772c99 URL: http://search.cpan.org/dist/Email-FolderType-Net/ %if %{with tests} BuildRequires: perl-Email-FolderType >= 0.8 %endif BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Registers several mail folder types that are known as network based messaging protocols. Folder names for these protocols should be specified using a URI syntax. %description -l pl.UTF-8 Ta klasa rejestruje kilka rodzajów folderów pocztowych znanych jako sieciowe protokoły komunikacji. Nazwy folderów dla tych protokołów powinny być podawane przy użyciu składni URI. %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} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README %{perl_vendorlib}/Email/FolderType/Net.pm %{_mandir}/man3/*