[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

squirrelmail rpms automagically (was Re: Autoresponder for Email)



On Thu, 2004-12-02 at 11:12 -0500, Thom Paine wrote:
> On Mon, 2004-29-11 at 13:56 -0800, Daryl Daly wrote:
> > Perhaps it is a problem with permissions.
> > 
> > I have the "compatibility" plugin installed. I can't remember if I needed
> > that for the vacation plugin or not but I do have it installed.
> > 
> 
> Which is the compatibility plugin? Is there an rpm for that?
> 

It's a squirrelmail plugin

see attachment
 
#!/bin/bash
rpmbuild -bb \
        --define 'pluginname procfilter' \
        --define 'pluginversion 2.0' \
        --define 'smversion 1.2.7' \
        squirrelmail-template.spec
rpmbuild -bb \
        --define 'pluginname secure_login' \
        --define 'pluginversion 1.2' \
        --define 'smversion 1.2.8' \
        squirrelmail-template.spec
rpmbuild -bb \
        --define 'pluginname serversidefilter' \
        --define 'pluginversion 1.32' \
        --define 'smversion 1.4' \
        squirrelmail-template.spec
rpmbuild -bb \
        --define 'pluginname show_headers' \
        --define 'pluginversion 1.2' \
        --define 'smversion 1.4' \
        squirrelmail-template.spec
rpmbuild -bb \
        --define 'pluginname vacation' \
        --define 'pluginversion 1.41' \
        --define 'smversion 1.4' \
        squirrelmail-template.spec



> Thanks.
> 
> -=/>Thom
> 
> 
> --
> Taroon-list mailing list
> Taroon-list redhat com
> http://www.redhat.com/mailman/listinfo/taroon-list
-- 
Christopher McCrory <chrismcc pricegrabber com>
%define dash -

Summary: SquirrelMail plugin %{pluginname}
Name: squirrelmail-%{pluginname}
Version: %{pluginversion}
Release: 0.04pg
License: GPL
URL: http://www.squirrelmail.org/plugins.php
Group: Applications/Internet
Source: %{pluginname}%{dash}%{pluginversion}-%{smversion}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
Requires: squirrelmail

%description
SquirrelMail plugin %{pluginname}

%prep
%setup -n %{pluginname}

%build

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/squirrelmail/plugins/%{pluginname}
cp -av * $RPM_BUILD_ROOT/usr/share/squirrelmail/plugins/%{pluginname}

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir /usr/share/squirrelmail/plugins/%{pluginname}
/usr/share/squirrelmail/plugins/%{pluginname}/*

%changelog
* Sun Jan 04 2004 Christopher McCrory <chrismcc pricegrabber com>
- template generated

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]