3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Convert::TNEF - Perl module to read TNEF files
9 Summary(pl): Convert::TNEF - modu³ Perla do odczytu plików TNEF
10 Name: perl-Convert-TNEF
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 31cddf42fae9495b4a686b17ec68d7e0
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-MIME-tools
22 BuildRequires: perl(MIME::Body) >= 4.109
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 TNEF stands for Transport Neutral Encapsulation Format, and if you've
29 ever been unfortunate enough to receive one of these files as an email
30 attachment, you may want to use the Convert::TNEF Perl module.
33 TNEF oznacza niezale¿ny od transportu format enkapsulacji (Transport
34 Neutral Encapsulation Format) i je¶li otrzyma siê jeden z takich
35 plików jako za³±cznik w e-mailu, mo¿e zaistnieæ potrzeba pos³u¿enia
36 siê modu³em Perla Convert::TNEF.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
61 %{perl_vendorlib}/Convert/TNEF.pm