SPECS: squirrelmail-plugin-username.spec (NEW) - separated from sq...
hawk
hawk at pld-linux.org
Tue May 30 09:56:40 CEST 2006
Author: hawk Date: Tue May 30 07:56:40 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- separated from squirrelmail.spec
---- Files affected:
SPECS:
squirrelmail-plugin-username.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/squirrelmail-plugin-username.spec
diff -u /dev/null SPECS/squirrelmail-plugin-username.spec:1.1
--- /dev/null Tue May 30 09:56:40 2006
+++ SPECS/squirrelmail-plugin-username.spec Tue May 30 09:56:35 2006
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+%define _plugin username
+%define mversion 1.0.0
+Summary: Plugin to show current username
+Summary(pl): Wtyczka wyświetlająca nazwę użytkownika
+Name: squirrelmail-plugin-%{_plugin}
+Version: 2.3
+Release: 1
+License: GPL
+Group: Applications/Mail
+Source0: http://www.squirrelmail.org/plugins/%{_plugin}-%{version}-%{mversion}.tar.gz
+# Source0-md5: c81670f5607835dc1e226653cf5c53b1
+URL: http://www.squirrelmail.org/
+Requires: squirrelmail >= 1.4.6-2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _plugindir %{_datadir}/squirrelmail/plugins/%{_plugin}
+%define _sysconfdir /etc/webapps/squirrelmail
+
+%description
+Plugin that shows current username above or below folder list and/or
+as Message of the Day.
+
+%description -l pl
+Wtyczka wyświetlająca aktualną nazwę użytkownika nad lub pod listą
+folderów i/lub jak Wiadomość Dnia.
+
+%prep
+%setup -q -n %{_plugin}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_plugindir} $RPM_BUILD_ROOT%{_sysconfdir}
+
+install *.php $RPM_BUILD_ROOT%{_plugindir}
+mv config.php.sample $RPM_BUILD_ROOT%{_sysconfdir}/%{_plugin}_config.php
+ln -s %{_sysconfdir}/%{_plugin}_config.php $RPM_BUILD_ROOT%{_plugindir}/config.php
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL README
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{_plugin}_config.php
+%dir %{_plugindir}
+%{_plugindir}/*.php
+
+%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/05/30 07:56:35 hawk
+- separated from squirrelmail.spec
+
================================================================
More information about the pld-cvs-commit
mailing list