3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: mime-construct - construct and optionally mail MIME messages
7 Summary(pl): mime-construct - tworzenie i opcjonalnie wysy³anie wiadomo¶ci MIME
8 Name: perl-mime-construct
11 Vendor: Roderick Schertler <roderick@argon.org>
13 Group: Applications/Mail
14 Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/mime-construct-%{version}.tar.gz
15 # Source0-md5: 727a5b622fae6e2800caffae9b034f24
16 URL: http://search.cpan.org/dist/mime-construct/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 mime-construct constructs and (by default) mails MIME messages. It
24 is entirely driven from the command line, it is designed to be used by
25 other programs, or people who act like programs.
28 mime-construct tworzy i (domy¶lnie) wysy³a wiadomo¶ci MIME. Jest
29 sterowane ca³kowicie z linii poleceñ i zosta³o zaprojektowane z my¶l±
30 o u¿ywaniu przez inne programy lub ludzi zachowuj±cych siê jak
34 %setup -q -n mime-construct-%{version}
37 %{__perl} Makefile.PL \
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc README debian/changelog
56 %attr(755,root,root) %{_bindir}/mime-construct
57 %{_mandir}/man1/mime-construct.1*