# # Conditional build: %bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl Summary: mime-construct - construct and optionally mail MIME messages Summary(pl): mime-construct - tworzenie i opcjonalnie wysyłanie wiadomości MIME Name: perl-mime-construct Version: 1.9 Release: 1 Vendor: Roderick Schertler License: GPL v2+ Group: Applications/Mail Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/mime-construct-%{version}.tar.gz URL: http://search.cpan.org/dist/mime-construct/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description mime-construct constructs and (by default) mails MIME messages. It is entirely driven from the command line, it is designed to be used by other programs, or people who act like programs. %description -l pl mime-construct tworzy i (domyślnie) wysyła wiadomości MIME. Jest sterowane całkowicie z linii poleceń i zostało zaprojektowane z myślą o używaniu przez inne programy lub ludzi zachowujących się jak programy. %prep %setup -q -n mime-construct-%{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 README debian/changelog %attr(755,root,root) %{_bindir}/mime-construct %{_mandir}/man1/mime-construct.1*