]> git.pld-linux.org Git - packages/emirror.git/blobdiff - emirror.spec
- updated to 2.1.21
[packages/emirror.git] / emirror.spec
index b664c4d96c766e0b238e60880463d0366ac01c44..7cf293289e069f8dd3c47c07fcbfcf49db1d80a8 100644 (file)
@@ -1,16 +1,18 @@
-Summary:     FTP mirroring program.
-Summary(pl): Program do mirrorowania FTP.
-Name:        emirror
-Version:     2.0b6
-Release:     1
-Copyright:   GPL
-Source:      ftp://ftp.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
-Patch:      emirror.cfg.diff
-Group:       Networking/Utilities
-Group(pl):   Sieæ/Narzêdzia
-BuildRoot:   /tmp/%{name}-%{version}-root
-Requires:    python
-BuildArch:   noarch
+Summary:       FTP mirroring program
+Summary(pl):   Program do mirrorowania FTP
+Name:          emirror
+Version:       2.1.21
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz
+Patch0:                %{name}-pld.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: python-devel >= 2.1
+Requires:      python >= 2.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 FTP mirroring program.
@@ -20,31 +22,31 @@ Program do mirrorowania FTP.
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 
 %build
-./configure --prefix=/usr
+aclocal
+autoconf
+%configure \
+       --with-htmldir=/home/httpd/html/mirrors
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install \
-       prefix=$RPM_BUILD_ROOT/usr \
-       bindir=$RPM_BUILD_ROOT/usr/bin \
-       libdir=$RPM_BUILD_ROOT/usr/lib/emirror \
-       etcdir=$RPM_BUILD_ROOT/etc/emirror \
-       docdir=$RPM_BUILD_ROOT/usr/doc/emirror
+install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf doc/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644, root, root, 755)
-%doc documentation/* html README scripts/mirror
-%attr(755, root, root) /usr/bin/emconvert
-%attr(755, root, root) /usr/bin/emirror
-/usr/lib/emirror
-
-%changelog
-* Sat Dec 05 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-  [2.0b6-1]
-- initial rpm release.
+%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
+%{_mandir}/man1/*
This page took 0.066347 seconds and 4 git commands to generate.