]> git.pld-linux.org Git - packages/perl-mime-construct.git/blob - perl-mime-construct.spec
a8c19693e642e3f16800afc374d4d37e4267c2af
[packages/perl-mime-construct.git] / perl-mime-construct.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
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
9 Version:        1.9
10 Release:        1
11 Vendor:         Roderick Schertler <roderick@argon.org>
12 License:        GPL v2+
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
27 %description -l pl
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
31 programy.
32
33 %prep
34 %setup -q -n mime-construct-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39
40 %{__make}
41
42 %{?with_tests:%{__make} test}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
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*
This page took 0.06936 seconds and 2 git commands to generate.