rpms/grepmail/devel grepmail.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Wed Oct 12 15:42:37 UTC 2005


Author: pghmcfc

Update of /cvs/extras/rpms/grepmail/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28680/devel

Modified Files:
	.cvsignore sources 
Added Files:
	grepmail.spec 
Log Message:
auto-import grepmail-5.3032-1 on branch devel from grepmail-5.3032-1.src.rpm


--- NEW FILE grepmail.spec ---
# This is a perl-based application, not a module, hence the
# package is named "grepmail" rather than "perl-grepmail"

Summary:	Search mailboxes for a particular email
Name:		grepmail
Version:	5.3032
Release:	1%{?dist}
License:	GPL
Group:		Applications/Text
Source0:	http://dl.sf.net/grepmail/grepmail-%{version}.tar.gz
Url:		http://grepmail.sourceforge.net/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:	perl(Mail::Mbox::MessageParser) >= 1.4001
BuildRequires:	perl(Mail::Mbox::MessageParser) >= 1.4001, perl(Date::Parse), perl(Date::Manip)
# The following module requirements are optional and hence not picked up by RPM automatically.
# Adding manual deps for them improves grepmail's functionality.
Requires:	perl(Date::Parse), perl(Date::Manip)
# perl(Date::Parse) can be found in the perl-TimeDate package

%description
Grepmail searches a normal or compressed 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}-%{version}

# Permissions wrong in tarball
%{__chmod} -x CHANGES LICENSE README

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
%{_bindir}/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
%{_bindir}/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%check
export LANG=C
export TZ=GMT0
%{__make} test

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%doc README* CHANGES LICENSE
%{_bindir}/grepmail
%{_mandir}/man1/grepmail.1*

%changelog
* Wed Oct 12 2005 Paul Howarth <paul at city-fan.org> 5.3032-1
- Fedora Extras submission


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/grepmail/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Oct 2005 15:40:51 -0000	1.1
+++ .cvsignore	12 Oct 2005 15:42:35 -0000	1.2
@@ -0,0 +1 @@
+grepmail-5.3032.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/grepmail/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Oct 2005 15:40:52 -0000	1.1
+++ sources	12 Oct 2005 15:42:35 -0000	1.2
@@ -0,0 +1 @@
+2b6572d35ad28392ab092fd5bd7f7aff  grepmail-5.3032.tar.gz




More information about the fedora-extras-commits mailing list