]>
Commit | Line | Data |
---|---|---|
0ac0b759 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
5 | %include /usr/lib/rpm/macros.perl | |
d83230b1 | 6 | Summary: mime-construct - construct and optionally mail MIME messages |
bdcfcbb0 | 7 | Summary(pl.UTF-8): mime-construct - tworzenie i opcjonalnie wysyłanie wiadomości MIME |
d83230b1 JB |
8 | Name: perl-mime-construct |
9 | Version: 1.9 | |
10 | Release: 1 | |
11 | Vendor: Roderick Schertler <roderick@argon.org> | |
0ac0b759 | 12 | License: GPL v2+ |
cf6e190c | 13 | Group: Applications/Mail |
d83230b1 | 14 | Source0: http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/mime-construct-%{version}.tar.gz |
06b8e01d | 15 | # Source0-md5: 727a5b622fae6e2800caffae9b034f24 |
d83230b1 | 16 | URL: http://search.cpan.org/dist/mime-construct/ |
0ac0b759 JB |
17 | BuildRequires: perl-devel >= 1:5.8.0 |
18 | BuildRequires: rpm-perlprov >= 4.1-13 | |
cf6e190c | 19 | BuildArch: noarch |
d83230b1 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cf6e190c | 21 | |
22 | %description | |
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. | |
26 | ||
bdcfcbb0 JR |
27 | %description -l pl.UTF-8 |
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 | |
d83230b1 | 31 | programy. |
cf6e190c | 32 | |
33 | %prep | |
34 | %setup -q -n mime-construct-%{version} | |
cf6e190c | 35 | |
36 | %build | |
0ac0b759 JB |
37 | %{__perl} Makefile.PL \ |
38 | INSTALLDIRS=vendor | |
cf6e190c | 39 | |
0ac0b759 | 40 | %{__make} |
cf6e190c | 41 | |
0ac0b759 | 42 | %{?with_tests:%{__make} test} |
cf6e190c | 43 | |
0ac0b759 JB |
44 | %install |
45 | rm -rf $RPM_BUILD_ROOT | |
cf6e190c | 46 | |
0ac0b759 JB |
47 | %{__make} install \ |
48 | DESTDIR=$RPM_BUILD_ROOT | |
cf6e190c | 49 | |
0ac0b759 JB |
50 | %clean |
51 | rm -rf $RPM_BUILD_ROOT | |
cf6e190c | 52 | |
0ac0b759 | 53 | %files |
cf6e190c | 54 | %defattr(644,root,root,755) |
0ac0b759 JB |
55 | %doc README debian/changelog |
56 | %attr(755,root,root) %{_bindir}/mime-construct | |
57 | %{_mandir}/man1/mime-construct.1* |