- added php fixes and config files
Changed files:
emirror.spec -> 1.20
Summary(pl): Program do mirrorowania FTP.
Name: emirror
Version: 2.1.17
Summary(pl): Program do mirrorowania FTP.
Name: emirror
Version: 2.1.17
License: GPL
Group: Networking/Utilities
Group(pl): Sieciowe/Narzêdzia
Group(de): Netzwerkwesen/Werkzeuge
Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
Patch0: %{name}-pld.patch
License: GPL
Group: Networking/Utilities
Group(pl): Sieciowe/Narzêdzia
Group(de): Netzwerkwesen/Werkzeuge
Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
Patch0: %{name}-pld.patch
+Patch1: %{name}-php.patch
BuildRequires: python-devel
Requires: python
BuildArch: noarch
BuildRequires: python-devel
Requires: python
BuildArch: noarch
+%patch0 -p1
+%patch1 -p1
%install
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
%clean
gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
%clean
%defattr(644,root,root,755)
%doc doc/*
%dir /home/httpd/html/mirrors
%defattr(644,root,root,755)
%doc doc/*
%dir /home/httpd/html/mirrors
+/home/httpd/html/mirrors/*
%config(noreplace) %{_sysconfdir}/emirror
%attr(755,root,root) %{_bindir}/*
%{_libdir}/emirror
%config(noreplace) %{_sysconfdir}/emirror
%attr(755,root,root) %{_bindir}/*
%{_libdir}/emirror