Name: hypermail Version: 2.3.0 Release: 1%{?dist} Summary: Convert email from Unix mailbox format to HTML Group: Applications/Archiving License: GPLv2+ URL: http://www.hypermail-project.org/ Source0: http://www.hypermail-project.org/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: byacc BuildRequires: bison Requires: pcre %description Hypermail is a program that takes a file of mail messages in UNIX mailbox format and generates a set of cross-referenced HTML documents. %package doc Summary: Hypermail Documentation Group: Applications/Archiving Requires: %{name} = %{version} BuildArch: noarch %description doc Documentation files for hypermail converter %prep %setup -q -n %{name} %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install prefix=%{buildroot}%{prefix} \ bindir=%{buildroot}%{_bindir} \ mandir=%{buildroot}%{_mandir} \ infodir=%{buildroot}%{_infodir} \ htmldir=%{buildroot}%{_defaultdocdir}/%{name}-%{version} \ httpdir=%{buildroot}%{_defaultdocdir}/%{name}-%{version} \ DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc KNOWN_BUGS README TODO UPGRADE Changelog COPYING configs %{_bindir}/* %{_mandir}/* %files doc %defattr(-,root,root) %doc docs contrib %changelog * Wed Dec 29 2010 Claudio Rodrigo Pereyra Diaz - 2.3.0-1 - Initial packaging