3 %bcond_without tests # do not perform "make test"
5 Summary: mime-construct - construct and optionally mail MIME messages
6 Summary(pl.UTF-8): mime-construct - tworzenie i opcjonalnie wysyłanie wiadomości MIME
7 Name: perl-mime-construct
10 Vendor: Roderick Schertler <roderick@argon.org>
12 Group: Applications/Mail
13 Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/mime-construct-%{version}.tar.gz
14 # Source0-md5: 73834ea780fbea81b89dbd9b2fb54f58
15 URL: http://search.cpan.org/dist/mime-construct/
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 mime-construct constructs and (by default) mails MIME messages. It
23 is entirely driven from the command line, it is designed to be used by
24 other programs, or people who act like programs.
26 %description -l pl.UTF-8
27 mime-construct tworzy i (domyślnie) wysyła wiadomości MIME. Jest
28 sterowane całkowicie z linii poleceń i zostało zaprojektowane z myślą
29 o używaniu przez inne programy lub ludzi zachowujących się jak
33 %setup -q -n mime-construct-%{version}
36 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc README debian/changelog
55 %attr(755,root,root) %{_bindir}/mime-construct
56 %{_mandir}/man1/mime-construct.1*