]> git.pld-linux.org Git - packages/email.git/blobdiff - email.spec
- make default config useable; rel 2
[packages/email.git] / email.spec
index 9a1c3fc5455ab084c63a3fcb6a1896d657517ddd..38350a5645e39fb012eb8c6c180e908b3397bbb5 100644 (file)
@@ -1,27 +1,32 @@
 Summary:       Email can send email using remote SMTP
 Summary(pl):   Email potrafi wysy³aæ pocztê u¿ywaj±c zdalnych SMTP
 Name:          email
-Version:       2.3.0
-Release:       1
+Version:       2.5.0
+Release:       2
 License:       GPL
 Group:         Applications/Mail
 Source0:       http://email.cleancode.org/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 46aefdf1e8ef23b168712b3fa30631d2
+# Source0-md5: d6e5f5764e3655226b5a6f9a07622836
+Patch0:                %{name}-conf.patch
 URL:           http://email.cleancode.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# configure fails to check strftime() otherwise
+%undefine      with_ccache
+
 %description
-Email is a program for the Unix environment that sends messages.
-It can send email from the command line using your SMTP server 
-instead of sendmail.
+Email is a program for the Unix environment that sends messages. It
+can send email from the command line using your SMTP server instead of
+sendmail.
 
 %description -l pl
-Email jest programem przeznaczonym do wysy³ania wiadomo¶ci w 
+Email jest programem przeznaczonym do wysy³ania wiadomo¶ci w
 ¶rodowisku UNIX. Jest uruchamiany z wiersza poleceñ. Potrafi wysy³aæ
 pocztê u¿ywaj±c zdalnych serwerów SMTP.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
@@ -30,8 +35,9 @@ poczt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
-install email.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/email,%{_mandir}/man1}
+
+install email.conf email.sig $RPM_BUILD_ROOT%{_sysconfdir}/email
 install src/email $RPM_BUILD_ROOT%{_bindir}
 install email.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
@@ -40,7 +46,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README RFC821 email.help email.address.template
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/email.conf
+%doc AUTHORS ChangeLog README RFC821 email.help email.address.template TODO
+%dir %{_sysconfdir}/email
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/email/email*
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.070635 seconds and 4 git commands to generate.