[PATCH] squirrelmail
Michal Kochanowicz
michal w michal.waw.pl
Pon, 14 Cze 2004, 22:46:19 CEST
On Mon, Jun 14, 2004 at 03:49:10PM +0200, Paweł Gołaszewski wrote:
> Osobne spece.
> Tak naprawdę te co są należy wywalić do osobnych.
<colgate>spróbujmy jeszcze raz</colgate>
Przeniosłem wszystkie pluginy do oddzielnych speców. Został jeden
*zakomentowany*, ponieważ wymaga SM 1.5.0. Jak 1.5.0 zostanie wydane
będzie można zrobić oddzielnego speca.
--
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin abook_import_export
%define _plugin_version 0.7
%define _squirrel_version_required 1.4.0
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: Import / export of address book
Summary(pl): Import / eksport książki adresowej
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{_version_tgz}.tar.gz
# Source0-md5: 8cedf2275f973e6848db222c5e7beaf5
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= %{_squirrel_version_required}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
Import / export of address book.
%description -l pl
Import / eksport książki adresowej.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}
install *.php $RPM_BUILD_ROOT%{_plugindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README CHANGELOG
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin address_add
%define _plugin_version 1.9
%define _squirrel_version_required 1.2.8
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: Allows adding of message sender to address book
Summary(pl): Pozwala dodawać nadawcę listu do książki adresowej
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}.%{_version_tgz}.tar.gz
# Source0-md5: 8fe5832904b94d6ca2c06551df5290e1
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= %{_squirrel_version_required}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
Allows adding of message sender to address book.
%description -l pl
Pozwala dodawać nadawcę listu do książki adresowej.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}
cp -R *.php classes locale $RPM_BUILD_ROOT%{_plugindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin archive_mail
%define _plugin_version 0.6
%define _squirrel_version_required 1.2.8
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: Downloads entire mail folder in ZIP file
Summary(pl): Ściąga cały folder poczty jako plik ZIP
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}.%{_version_tgz}.tar.gz
# Source0-md5: b8e5c7a70d1433c7c95a17817511b38a
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= %{_squirrel_version_required}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
Downloads entire mail folder in ZIP file.
%description -l pl
Ściąga cały folder poczty jako plik ZIP.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}{,/includes}
install *.php $RPM_BUILD_ROOT%{_plugindir}
install includes/*.php $RPM_BUILD_ROOT%{_plugindir}/includes
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin change_pass
%define _plugin_version 2.6
%define _squirrel_version_required 1.4.x
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: A squirrel interface to change passwords
Summary(pl): Wiewiórczy interfejs do zmiany haseł
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{_version_tgz}.tar.gz
# Source0-md5: 1114caccd9fd1c30d7031eac76c08da5
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= 1.4.0
Requires: poppassd
Obsoletes: squirrelmail-change_pass
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
This package contains a interface to change passwords using poppassd
protocol.
%description -l pl
Ten pakiet zawiera interfejs do zmiany haseł poprzez protokół poppassd.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}
cp -R *.php locale $RPM_BUILD_ROOT%{_plugindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README ChangeLog
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin change_passwd
%define _plugin_version 4.0
%define _squirrel_version_required 1.2.8
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: A squirrel interface to change passwords
Summary(pl): Wiewiórczy interfejs do zmiany haseł
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{_version_tgz}.tar.gz
# Source0-md5: 22b5ee1698b2e59a88f2150a96ec17f3
Source1: %{name}-polish.po
Patch0: %{name}-i18n.patch
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= %{_squirrel_version_required}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
This package contains a interface to change passwords.
%description -l pl
Ten pakiet zawiera interfejs do zmiany haseł.
%prep
%setup -q -n %{_plugin}
install -d locale/pl_PL/LC_MESSAGES
msgfmt %{SOURCE1} -o locale/pl_PL/LC_MESSAGES/change_passwd.mo
# use poppassd from separate package; don't include x86 binaries!!!
rm -rf {courierpassd,poppassd}*
rm -f chpasswd
rm -f plugins/mail_fwd/fwdfile/wfwd
%build
%{__cc} %{rpmldflags} %{rpmcflags} -Wall -o chpasswd \
chpasswd.c -lcrypt
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}
cp -R *.php locale $RPM_BUILD_ROOT%{_plugindir}
install config.php.sample $RPM_BUILD_ROOT%{_plugindir}/config.php
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin extract
%define _plugin_version 0.1
%define _squirrel_version_required 1.4.0
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: Download of single files from ZIP/gz/tar attachements
Summary(pl): Pozwala ściągnąć pojedyncze pliki z załącznika ZIP/gz/tar
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}.%{_version_tgz}.tar.gz
# Source0-md5: a35dd91f109c99107cbe97a7b22fead4
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= %{_squirrel_version_required}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
Download of single files from ZIP/gz/tar attachements.
%description -l pl
Pozwala ściągnąć pojedyncze pliki z załącznika ZIP/gz/tar.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}{,/compression,/includes}
install *.php $RPM_BUILD_ROOT%{_plugindir}
install compression/*.php $RPM_BUILD_ROOT%{_plugindir}/compression
install includes/*.php $RPM_BUILD_ROOT%{_plugindir}/includes
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
# $Revision: 1.4 $, $Date: 2004/04/01 14:35:05 $
%define _plugin folder_sizes
%define _plugin_version 1.4
%define _squirrel_version_required 1.4
%define _version_rpm %{_plugin_version}_%{_squirrel_version_required}
%define _version_tgz %{_plugin_version}-%{_squirrel_version_required}
Summary: Shows folder sizes and message counts
Summary(pl): Pokazuje rozmiary folderów i liczbę wiadomości
Name: squirrelmail-plugin-%{_plugin}
Version: %{_plugin_version}_%{_squirrel_version_required}
Release: 1
License: GPL
Group: Applications/Mail
Source0: http://www.squirrelmail.org/plugins/%{_plugin}.%{_version_tgz}.tar.gz
# Source0-md5: 8d752c45aefe9fea98d5a274398c81df
URL: http://www.squirrelmail.org/
Requires: squirrelmail >= 1.4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _plugindir /home/services/httpd/html/squirrel/plugins/%{_plugin}
%description
Shows folder sizes and message counts.
%description -l pl
Pokazuje rozmiary folderów i liczbę wiadomości.
%prep
%setup -q -n %{_plugin}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_plugindir}{,/compression,/includes}
install *.php $RPM_BUILD_ROOT%{_plugindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
%{_plugindir}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log: squirrelmail-plugin-virtusertable.spec,v $
-------------- następna część ---------
Index: squirrelmail.spec
===================================================================
RCS file: /cvsroot/SPECS/squirrelmail.spec,v
retrieving revision 1.82
diff -u -r1.82 squirrelmail.spec
--- squirrelmail.spec 8 Jun 2004 09:33:47 -0000 1.82
+++ squirrelmail.spec 14 Jun 2004 20:32:13 -0000
@@ -17,9 +17,8 @@
%define _compatibility_version 1.3
Source2: http://www.squirrelmail.org/plugins/compatibility-%{_compatibility_version}.tar.gz
# Source2-md5: 049c46507ef161ad4ba5f4d4a0b96d09
-%define _change_passwd_version 4.0
-Source3: http://www.squirrelmail.org/plugins/change_passwd-%{_change_passwd_version}-1.2.8.tar.gz
-# Source3-md5: 22b5ee1698b2e59a88f2150a96ec17f3
+#Source4: http://www.squirrelmail.org/plugins/download_all.0.1-1.5.0.tar.gz
+# Source4-md5: 15dd4c4a21f2cb1f7e09a83cdeb59761
Patch0: %{name}-ri_once.patch
Patch1: %{name}-abook_take.patch
Patch2: %{name}-addgraphics.patch
@@ -27,8 +26,6 @@
Patch4: %{name}-fortune.patch
Patch5: %{name}-gzip.patch
Patch6: %{name}-mail_fwd.patch
-Patch7: %{name}-change_pass-i18n.patch
-Patch8: %{name}-change_pass-polish.patch
URL: http://www.squirrelmail.org/
BuildRequires: gettext-devel
Requires: php
@@ -72,20 +69,6 @@
que vocę poderia desejar em um cliente de e-mail, incluindo um forte
suporte a MIME, livros de endereços e manipulaçăo de pastas.
-%package change_pass
-Summary: A squirreel interface to change passwords
-Summary(pl): Wiewiórczy interfejs do zmiany haseł
-Group: Applications/Mail
-Requires: poppassd
-Requires: %{name} = %{version}-%{release}
-Requires: squirrelmail-compatibility-%{_compatibility_version}
-
-%description change_pass
-This package contains a interface to change passwords.
-
-%description change_pass -l pl
-Ten pakiet zawiera interfejs do zmiany haseł.
-
%package ispell
Summary: A squirreel interface to ispel
Summary(pl): Wiewórczy inerfejs do ispela
@@ -144,11 +127,28 @@
%description newmail -l pl
Wiewiórcza wtyczka informująca o nowej poczcie.
+# TODO: requires 1.5 CVS 2003.07.30+
+#%package download_all
+#Summary: Downloads all attachements as one ZIP
+#Summary(pl): Ściąga wszystkie załączniki jako jeden ZIP
+#Group: Applications/Mail
+#Requires: %{name} = %{version}
+#
+#%description download_all
+#If multiple attachments are presented for download, it shows a "Download
+#All" link right below the attachments download link and will zip all the
+#attachments and allow you to download them.
+#
+#%description download_all -l pl
+#Jeśli email zawiera wiele załączników, ten plugin dodaje link "Download
+#All" który pozwala ściągnąć wszystkie załączniki jaki jedno archiwum
+#ZIP.
+
%prep
%setup -q -a1
# List of usefull plugins (ONLY usefull one should be here)
-for i in abook_take*tar.gz addgraphics*tar.gz auto_cc*tar.gz change_pass*tar.gz \
+for i in abook_take*tar.gz addgraphics*tar.gz auto_cc*tar.gz \
fortune*tar.gz gzip*tar.gz mail_fwd*tar.gz motd*tar.gz \
password_forget*tar.gz username*tar.gz quicksave*tar.gz \
retrieveuserdata*tar.gz vacation*tar.gz; do
@@ -156,12 +156,7 @@
done
tar -zxvf %{SOURCE2} -C plugins
-tar -zxvf %{SOURCE3} -C plugins
-
-# use poppassd from separate package; don't include x86 binaries!!!
-rm -rf plugins/change_pass/{courierpassd,poppassd}*
-rm -f plugins/change_passwd/chpasswd
-rm -f plugins/mail_fwd/fwdfile/wfwd
+#tar -zxvf %{SOURCE4} -C plugins
%patch0 -p1
%patch1 -p1
@@ -170,17 +165,15 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
-%patch8 -p1
+
+# use poppassd from separate package; don't include x86 binaries!!!
+rm -f plugins/mail_fwd/fwdfile/wfwd
%build
%{__make} -C plugins/mail_fwd/fwdfile \
CFLAGS="%{rpmcflags}" \
LFLAGS="%{rpmldflags}"
-%{__cc} %{rpmldflags} %{rpmcflags} -Wall -o plugins/change_passwd/chpasswd \
- plugins/change_passwd/chpasswd.c -lcrypt
-
cd po
./compilepo pl_PL
cd ..
@@ -323,12 +316,6 @@
%{_squirreldir}/src
%{_squirreldir}/themes
-%files change_pass
-%defattr(644,root,root,755)
-%doc plugins/change_pass/README
-%dir %{_squirreldir}/plugins/change_pass
-%{_squirreldir}/plugins/change_pass/*.php
-
%files ispell
%defattr(644,root,root,755)
%{_squirreldir}/plugins/squirrelspell
@@ -346,6 +333,11 @@
%files newmail
%defattr(644,root,root,755)
%{_squirreldir}/plugins/newmail
+
+# See note above.
+#%files download_all
+#%defattr(644,root,root,755)
+#%{_squirreldir}/plugins/download_all
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
Więcej informacji o liście dyskusyjnej pld-devel-pl