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