Group :: File tools
RPM: grepmail
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 5.30.30
%define realver 5.3030
Name: grepmail
Version: %version
Release: alt1
Summary: Search mailboxes for a particular email
License: GPL
Group: File tools
URL: http://grepmail.sourceforge.net/
Source0: %name-%realver.tar.bz2
Source1: nnir-%name.el
Source2: vm-%name.el
BuildArch: noarch
# Added by buildreq2 on Tue May 03 2005
BuildRequires: perl-DateManip perl-Mail-Mbox-MessageParser perl-TimeDate perl-devel
%description
Grepmail searches a normal, gzip'd, bzip'd, or tzip'd mailbox
for a given regular expression, and returns those emails that
match it. Piped input is allowed, and date and size restrictions
are supported, as are searches using logical operators.
%prep
%setup -q -n %name-%realver
%__rm -rfv inc/Test
%__install -p -m644 %SOURCE1 %SOURCE2 .
# clarify dependencies
%__perl -pi.orig -e 's/\beval\s+(["'\''])require\s+([\w:]+);?\1/require $2/g' grepmail
! diff -u grepmail{.orig,}
%build
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302703
# Force TZ=UTC during build to avoid test suite failure with other timezone settings.
export TZ=UTC
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc CHANGES README *.el
%_bindir/%name
%_man1dir/%name.*
%changelog
…
Full changelog you can see here
%define realver 5.3030
Name: grepmail
Version: %version
Release: alt1
Summary: Search mailboxes for a particular email
License: GPL
Group: File tools
URL: http://grepmail.sourceforge.net/
Source0: %name-%realver.tar.bz2
Source1: nnir-%name.el
Source2: vm-%name.el
BuildArch: noarch
# Added by buildreq2 on Tue May 03 2005
BuildRequires: perl-DateManip perl-Mail-Mbox-MessageParser perl-TimeDate perl-devel
%description
Grepmail searches a normal, gzip'd, bzip'd, or tzip'd mailbox
for a given regular expression, and returns those emails that
match it. Piped input is allowed, and date and size restrictions
are supported, as are searches using logical operators.
%prep
%setup -q -n %name-%realver
%__rm -rfv inc/Test
%__install -p -m644 %SOURCE1 %SOURCE2 .
# clarify dependencies
%__perl -pi.orig -e 's/\beval\s+(["'\''])require\s+([\w:]+);?\1/require $2/g' grepmail
! diff -u grepmail{.orig,}
%build
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=302703
# Force TZ=UTC during build to avoid test suite failure with other timezone settings.
export TZ=UTC
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc CHANGES README *.el
%_bindir/%name
%_man1dir/%name.*
%changelog
…
Full changelog you can see here