]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.spec
- updated to 5.8.2.
[packages/fetchmail.git] / fetchmail.spec
index b7c36cbd914db3d83d0fe9c2f41d0268debed3df..e03b7a2aa0098e649ee04f34edc6db9475788762 100644 (file)
@@ -7,7 +7,7 @@ Summary(pl):    Zdalny demon pocztowy do protoko
 Summary(pt):   Busca mensagens de um servidor usando POP ou IMAP
 Summary(tr):   POP2, POP3, APOP, IMAP protokolleri ile uzaktan mektup alma yazýlýmý
 Name:          fetchmail
-Version:       5.7.6
+Version:       5.8.2
 Release:       1
 License:       GPL
 Vendor:                Eric S. Raymond <esr@thyrsus.com>
@@ -20,9 +20,10 @@ Source1:     %{name}conf.desktop
 Source2:       %{name}.sysconfig
 Source3:       %{name}.init
 Source4:       %{name}.logrotate
+Patch0:                %{name}-shroud.patch
 Icon:          fetchmail.gif
 URL:           http://www.tuxedo.org/~esr/fetchmail/
-%{!?bcond_off_ssl:BuildRequires:       openssl-devel >= 0.9.4-2}
+%{!?bcond_off_ssl:BuildRequires:       openssl-devel >= 0.9.6a}
 BuildRequires: gettext-devel
 BuildRequires: flex
 BuildRequires: bison
@@ -131,6 +132,7 @@ SySV init skrypt do uruchamiania systemowego fetchmaila jako daemon.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 chmod -R u+w *
@@ -158,11 +160,14 @@ install -d $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel \
 
 install rh-config/*.{xpm,init} $RPM_BUILD_ROOT%{_libdir}/rhs/control-panel
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fetchmail
-install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/fetchmail
-install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/fetchmail
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/fetchmail
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name}
 
-gzip -9nf FEATURES README NEWS NOTES *.html FAQ
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
+ln -s fetchmail.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/fetchmailconf.1
+
+gzip -9nf FEATURES README NEWS NOTES ABOUT-NLS INSTALL README.NTLM *.html FAQ
 
 touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
 
@@ -173,7 +178,7 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/fetchmailrc
 if [ -f /var/lock/subsys/fetchmail ]; then
        /etc/rc.d/init.d/fetchmail restart >&2
 else
-       echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchamil daemon."
+       echo "Run \"/etc/rc.d/init.d/fetchmail start\" to start fetchmail daemon."
 fi
 
 %preun daemon
@@ -204,6 +209,6 @@ rm -rf $RPM_BUILD_ROOT
 %files daemon
 %defattr(644,root,root,755)
 %attr(600,root,root) %config(noreplace,missingok) %{_sysconfdir}/fetchmailrc
-%attr(754,root,root) /etc/rc.d/init.d/fetchmail
-%attr(640,root,root) %config(noreplace) /etc/sysconfig/fetchmail
-%attr(640,root,root) /etc/logrotate.d/fetchmail
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/fetchmail
+%attr(640,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/fetchmail
+%attr(640,root,root) %{_sysconfdir}/logrotate.d/fetchmail
This page took 0.037874 seconds and 4 git commands to generate.