3 %bcond_without tests # do not perform "make test"
6 %define pnam ListDetector-Detector-Fml
7 Summary: Mail::ListDetector::Detector::Fml - FML message detector
8 Summary(pl.UTF-8): Mail::ListDetector::Detector::Fml - wykrywanie wiadomości FML
9 Name: perl-Mail-ListDetector-Detector-Fml
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 483f4459e6a4837907b68a3815733764
17 URL: http://search.cpan.org/dist/Mail-ListDetector-Detector-Fml/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Mail-ListDetector >= 0.18
22 BuildRequires: perl-Test-Simple >= 0.32
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Mail::ListDetector::Detector::Fml is an implementation of a mailing
29 list detector, for FML. See http://www.fml.org/ for details about FML.
31 When used, this module installs itself to Mail::ListDetector. FML
32 maling list message is RFC2369 compliant, so can be matched with
33 RFC2369 detector, but this module allows you to parse more FML
34 specific information about the mailing list.
36 %description -l pl.UTF-8
37 Mail::ListDetector::Detector::Fml to implementacja wykrywania list
38 dyskusyjnych dla FML. Szczegóły na temat FML można znaleźć pod adresem
39 <http://www.fml.org/>.
41 W przypadku użycia moduł ten instaluje się wewnątrz klasy
42 Mail::ListDetector. Wiadomości list dyskusyjnych FML są zgodne z
43 RFC2369, więc mogą być dopasowywane wykrywaczem RFC2369, ale ten moduł
44 umożliwia analizowanie większej liczby informacji o liście
45 specyficznych dla FML-a.
48 %setup -q -n %{pdir}-%{pnam}-%{version}
51 %{__perl} Makefile.PL \
55 %{?with_tests:%{__make} test}
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %{perl_vendorlib}/Mail/ListDetector/Detector/*.pm