]> git.pld-linux.org Git - packages/emirror.git/blobdiff - emirror.spec
- move %{_libdir} to %{_prefix}/lib - it's noarch archive
[packages/emirror.git] / emirror.spec
index b180122f4e6eb1e590c419451fc722672b4095d3..79886e10cbca515dd386affd6e904a74883e6c22 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       FTP mirroring program
 Summary(pl):   Program do mirrorowania FTP
 Name:          emirror
-Version:       2.1.19
+Version:       2.1.21
 Release:       2
 License:       GPL
 Group:         Networking/Utilities
-Group(de):     Netzwerkwesen/Werkzeuge
-Group(pl):     Sieciowe/Narzêdzia
 Source0:       ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
+# Source0-md5: 4223966e49284e70a8eeabe9603d1ae3
 Patch0:                %{name}-pld.patch
-BuildRequires: python-devel
-Requires:      python >= 2.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-devel >= 2.1
+Requires:      python >= 2.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,16 +26,17 @@ Program do mirrorowania FTP.
 %patch0 -p1
 
 %build
-%configure2_13 \
-       --with-htmldir=/home/httpd/html/mirrors
+%{__aclocal}
+%{__autoconf}
+%configure \
+       --with-htmldir=/home/services/httpd/html/mirrors
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
+install -d $RPM_BUILD_ROOT/home/services/httpd/html/mirrors
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,9 +44,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc doc/*
-%dir /home/httpd/html/mirrors
-/home/httpd/html/mirrors/*
+%dir /home/services/httpd/html/mirrors
+/home/services/httpd/html/mirrors/*
 %config(noreplace) %{_sysconfdir}/emirror
 %attr(755,root,root) %{_bindir}/*
-%{_libdir}/emirror
+%{_prefix}/lib/emirror
 %{_mandir}/man1/*
This page took 0.049452 seconds and 4 git commands to generate.