SPECS: gurgitate-mail.spec (NEW) - added

aredridel aredridel at pld-linux.org
Wed Feb 1 09:46:32 CET 2006


Author: aredridel                    Date: Wed Feb  1 08:46:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   gurgitate-mail.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gurgitate-mail.spec
diff -u /dev/null SPECS/gurgitate-mail.spec:1.1
--- /dev/null	Wed Feb  1 09:46:32 2006
+++ SPECS/gurgitate-mail.spec	Wed Feb  1 09:46:27 2006
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	gurgitate mail filtering and mail delivery agent
+Name:		gurgitate-mail
+Version:	1.6.0
+Release:	0.1
+License:	GPL
+Group:		Development/Languages
+%define tarname rubymail
+Source0:	http://www.dagbrown.com/software/gurgitate-mail/%{name}-%{version}preview.tar.gz
+# Source0-md5:	7c7afef00c3c091148c15838357ad605
+URL:		http://www.dagbrown.com/software/gurgitate-mail/
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-devel
+%{?ruby_mod_ver_requires_eq}
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+"gurgitate-mail" is a program which reads your mail and filters it
+according to the .gurgitate-rules.rb file in your home directory. The
+configuration file uses Ruby syntax and is thus quite flexible.
+
+%prep
+%setup -q -n %{name}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/{%{_bindir},%{ruby_rubylibdir},%{_mandir}/man1}
+echo "#!/usr/bin/ruby" > $RPM_BUILD_ROOT/%{_bindir}/gurgitate-mail
+cat gurgitate-mail >> $RPM_BUILD_ROOT/%{_bindir}/gurgitate-mail
+chmod +x $RPM_BUILD_ROOT/%{_bindir}/gurgitate-mail
+cp -a gurgitate-mail.rb $RPM_BUILD_ROOT/%{ruby_rubylibdir}
+cp -a gurgitate $RPM_BUILD_ROOT/%{ruby_rubylibdir}
+install gurgitate-mail.man $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{ruby_rubylibdir}/*
+%{_mandir}/man1/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/02/01 08:46:27  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list