LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File squirrelmail-plugins.spec of Package squirrelmail-plugins (Project home:gbvalor)

# spec file for package squirrelmail-plugins (Version 1.4.3)
# Updated to 1.4.15 by G. Ballester Valor from openSUSE Buildservice
# Please submit bugfixes or comments to gbv@oxixares.com/

Name:         squirrelmail-plugins
License:      GPL
Group:        Productivity/Networking/Email/Clients
URL:          http://www.squirrelmail.org
Requires:     squirrelmail, vacation, ispell, gettext
Autoreqprov:  on
Version:      1.4.15
Release:      1.1
Summary:      some plugins for squirrelmail
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
BuildArch:    noarch
%define plug_path $RPM_BUILD_ROOT/srv/www/htdocs/squirrelmail/plugins
%define plug_doc $RPM_BUILD_ROOT/%{_defaultdocdir}/squirrelmail/plugins
Source0:      abook_import_export-1.1-1.4.4.tar.bz2
Source2:      addgraphics-2.3-1.0.3.tar.bz2
Source4:      attachment_tnef-0.7-1.4.0.tar.bz2
Source5:      autocomplete.2.0-1.0.0.tar.bz2
#Source6:      block_sender.2.02-1.4.0.tar.bz2
Source7:      email_footer-0.5-1.4.2.tar.bz2
Source8:      folder_synch.0.8-1.4.0.tar.bz2
Source9:      gpg-2.1.tar.bz2
Source11:     get_uuencode-3.1-1.4.x.tar.bz2
Source12:     login_alias-2.4-1.2.1.tar.bz2
Source13:     login_auto-1.1-1.2.tar.bz2
Source15:     move_all_messages.0.1-1.2.4.tar.bz2
Source17:     notes.1.2-1.4.0.tar.bz2
Source18:     picons-1.0-1.2.7.tar.bz2
Source21:     secure_login-1.4-1.2.8.tar.bz2
Source22:     smime-0.6-1.4.tar.bz2
Source24:     squirrel_logger-2.2-1.2.7.tar.bz2
Source25:     timeout_user-1.1.1-0.5.tar.bz2
Source26:     undelete.1.0-1.0.tar.bz2
Source27:     username-2.3-1.0.0.tar.bz2
#Source28:     local_autorespond_forward-3.0-1.4.0.tar.bz2
Source29:     vadmin-1.9.2.tar.bz2
Source30:     view_as_html-3.7a-1.4.x.tar.bz2
Source31:     vlogin-3.10-1.2.7.tar.bz2
Source32:     xheader.0.1.0-1.4.1.tar.bz2
Source33:     avelsieve-1.9.7.tar.bz2
Source34:     compatibility-2.0.13-1.0.tar.bz2
Source35:     weather-4.1.1-1.2.tar.bz2
Source36:     bounce-0.5-1.4.x.tar.bz2
#Source38:     change_passwd-4.0-1.2.8.tar.bz2
Source39:     folder_sizes-1.5-1.4.0.tar.bz2

This are some plugins for the web-mailer squirrelmail.

    Tyler Akins
    Brent Bice
    Luke Ehresman
    Ron Chinn
    Lewis Bergman
    Ray Black III
    Konstantin Riabitsev
    Jimmy Conner
    Nick Sayer
    Bill Shupp
    Derek Battams

%setup -T -b 0 -n abook_import_export
%setup -T -b 2 -n addgraphics
%setup -T -b 4 -n attachment_tnef
%setup -T -b 5 -n autocomplete
#%setup -T -b 6 -n block_sender
%setup -T -b 7 -n email_footer
%setup -T -b 8 -n folder_synch
%setup -T -b 9 -n gpg
%setup -T -b 11 -n get_uuencode
%setup -T -b 12 -n login_alias
%setup -T -b 13 -n login_auto
%setup -T -b 15 -n move_all_messages
%setup -T -b 17 -n notes
%setup -T -b 18 -n picons
%setup -T -b 21 -n secure_login
%setup -T -b 22 -n smime
%setup -T -b 24 -n squirrel_logger
%setup -T -b 25 -n timeout_user
%setup -T -b 26 -n undelete
%setup -T -b 27 -n username
#%setup -T -b 28 -n local_autorespond_forward
%setup -T -b 29 -n vadmin-1.9.2
%setup -T -b 30 -n view_as_html
%setup -T -b 31 -n vlogin
%setup -T -b 32 -n xheader
%setup -T -b 33 -n avelsieve
%setup -T -b 34 -n compatibility
%setup -T -b 35 -n weather
%setup -T -b 36 -n bounce
#%setup -T -b 38 -n change_passwd
%setup -T -b 39 -n folder_sizes

rm -rf vadmin
mv vadmin-1.9.2 vadmin

find $RPM_BUILD_DIR -type d | xargs chmod 755


[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}
cd ..
install -d -m 755 %{plug_doc}/{abook_import_export,addgraphics,attachment_tnef,autocomplete,email_footer,gpg,get_uuencode,login_alias,login_auto,move_all_messages,notes,picons,secure_login,smime,squirrel_logger,timeout_user,undelete,username,vadmin,view_as_html,vlogin,xheader,avelsieve,compatibility,weather,folder_sizes,bounce}

install -d -m 755 %{plug_path}
cp -R {abook_import_export,addgraphics,attachment_tnef,autocomplete,email_footer,folder_synch,gpg,get_uuencode,login_alias,login_auto,move_all_messages,notes,picons,secure_login,smime,squirrel_logger,timeout_user,undelete,username,vadmin,view_as_html,vlogin,xheader,avelsieve,compatibility,weather,folder_sizes,bounce} %{plug_path}
# Moving doc files
mv %{plug_path}/abook_import_export/README %{plug_doc}/abook_import_export
mv %{plug_path}/addgraphics/{README,INSTALL} %{plug_doc}/addgraphics
mv %{plug_path}/attachment_tnef/README %{plug_doc}/attachment_tnef
mv %{plug_path}/autocomplete/README %{plug_doc}/autocomplete
#mv %{plug_path}/block_sender/README* %{plug_doc}/block_sender
mv %{plug_path}/email_footer/README %{plug_doc}/email_footer
mv %{plug_path}/gpg/INSTALL* %{plug_doc}/gpg
mv %{plug_path}/get_uuencode/README %{plug_doc}/get_uuencode
mv %{plug_path}/login_alias/{README,INSTALL} %{plug_doc}/login_alias
mv %{plug_path}/login_auto/{README,INSTALL} %{plug_doc}/login_auto
mv %{plug_path}/move_all_messages/INSTALL %{plug_doc}/move_all_messages
mv %{plug_path}/notes/README %{plug_doc}/notes
mv %{plug_path}/picons/{README,CHANGES} %{plug_doc}/picons
mv %{plug_path}/secure_login/README %{plug_doc}/secure_login
mv %{plug_path}/smime/{README.vasco,INSTALL} %{plug_doc}/smime
mv %{plug_path}/squirrel_logger/README %{plug_doc}/squirrel_logger
mv %{plug_path}/timeout_user/{README,INSTALL} %{plug_doc}/timeout_user
mv %{plug_path}/username/{README,INSTALL} %{plug_doc}/username
#mv %{plug_path}/local_autorespond_forward/{README,INSTALL} %{plug_doc}/local_autorespond_forward
mv %{plug_path}/vadmin/doc %{plug_doc}/vadmin
#rm -rf %{plug_path}/vadmin/doc
mv %{plug_path}/view_as_html/{README,ChangeLog} %{plug_doc}/view_as_html
mv %{plug_path}/xheader/README %{plug_doc}/xheader
mv %{plug_path}/vlogin/{INSTALL,README} %{plug_doc}/vlogin
mv %{plug_path}/compatibility/{INSTALL,README} %{plug_doc}/compatibility
mv %{plug_path}/avelsieve/doc/* %{plug_doc}/avelsieve
mv %{plug_path}/weather/{INSTALL,README} %{plug_doc}/weather
#mv %{plug_path}/change_passwd/{INSTALL,README,COPYING} %{plug_doc}/change_passwd
mv %{plug_path}/folder_sizes/{INSTALL,README} %{plug_doc}/folder_sizes
mv %{plug_path}/bounce/{INSTALL,README} %{plug_doc}/bounce
rm -rf %{plug_path}/avelsieve/{po,doc}
# del some files rpmlint dislike
find %{plug_path} -name .cvsignore -print | xargs /bin/rm -f 
find %{plug_path} -name *po.bak -print | xargs /bin/rm -f
find %{plug_path} -name CVS -print | xargs /bin/rm -rf

chmod 644 `find %{plug_path} -iname "*.php"`

[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf  %{buildroot}

%defattr(-, root, root)
%dir /srv/www/htdocs/squirrelmail
%dir /srv/www/htdocs/squirrelmail/plugins
%dir /usr/share/doc/packages/squirrelmail
%doc %attr(-, root, root) %{_defaultdocdir}/squirrelmail/plugins

%changelog -n squirrelmail-plugins
* Sat Nov 01 2008 - gbv@oxixares.com
- Fixed some rpmlint errors
* Thu Jul 31 2008 - gbv@oxixares.com 1.4.15
- Supressed some plugins to mak rpmlint happy
* Wed Jul 30 2008 - gbv@oxixares.com 1.4.15
- Added bounce
- Replaced vacation by local_autorespond_forward
- Updated to newer versions
* Mon Oct 02 2006 - gbv@oxixares.com
- Updated to newer versions of plugins
* Sat Jul 23 2005 - gbv@oxixares.com
- Updated some plugins
- Added plugins:
* Sun Jan 23 2005 - gbv@oxixares.com
- Updated some plugins
* Sun Aug 22 2004 - gbv@oxixares.com
- Added pluggins:
  - g/gpg 2.0.1
  - weather 4.1.1
- Updated pluggins
  - get_uuencode 3.0 
  - vlogin 3.4
* Mon May 31 2004 - gbv@oxixares.com
- Added compatibility plugin
* Mon Aug 11 2003 - postadal@suse.cz
- removed obsoleted plugins which was integrated to standard distribution:
  Address Book Take, MOTD, Focus Change and Quota Usage plugin
- new plugin Avelsieve - "SIEVE Mail Filters Plugin"
  * for creating SIEVE scripts on a Cyrus IMAP server
- fix for Avelsieve plugin
- updated plugins: Add a Graphic, Autocomplete, Block Sender, Disk Quota,
  Folder Synch, get_uuencode, Login_Alias, Login Auto, Notes, Picons,
  S/MIME, Timeout User, Username Display, Vacation, Vadmin, view_as_html,
  VLogin, X-Header
* Wed Jun 18 2003 - ro@suse.de
- fixed doc packaging
- added directories to filelist
* Tue Aug 06 2002 - ro@suse.de
- adapted server-root again ...
* Mon Aug 05 2002 - tsieden@suse.de
- Added, removed and updated plugins
* Mon Aug 05 2002 - ro@suse.de
- adapted server-root to /srv/www
* Wed Jun 26 2002 - ro@suse.de
- fixed directory permissions
* Wed Jan 16 2002 - postadal@suse.cz
- Cleaned up specfile
- Added and updated plugins
* Wed Nov 21 2001 - rbarn@suse.de
- Added new package squirrelmail-plugins