]> git.pld-linux.org Git - packages/emirror.git/blobdiff - emirror.spec
- updated to 2.1.21
[packages/emirror.git] / emirror.spec
index e0c094bff9ee7799de43a4c4ca64b34a785c9111..7cf293289e069f8dd3c47c07fcbfcf49db1d80a8 100644 (file)
@@ -1,16 +1,16 @@
-Summary:       FTP mirroring program.
-Summary(pl):   Program do mirrorowania FTP.
+Summary:       FTP mirroring program
+Summary(pl):   Program do mirrorowania FTP
 Name:          emirror
-Version:       2.1.17
-Release:       2
+Version:       2.1.21
+Release:       1
 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
-BuildRequires: python-devel
-Requires:      python
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-devel >= 2.1
+Requires:      python >= 2.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,18 +22,21 @@ Program do mirrorowania FTP.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
+aclocal
 autoconf
 %configure \
-       --with-htmldir=/home/httpd/html
+       --with-htmldir=/home/httpd/html/mirrors
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
+
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
+gzip -9nf doc/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -41,6 +44,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %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
This page took 0.080963 seconds and 4 git commands to generate.