- release 2
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 9 Sep 2000 18:02:22 +0000 (18:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new patch (many fixes)
- spec adapterized

Changed files:
    emirror.spec -> 1.18

emirror.spec

index 46316b1..e0c094b 100644 (file)
@@ -1,14 +1,15 @@
-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:       1
+Release:       2
 License:       GPL
 Group:         Networking/Utilities
 Group(pl):     Sieciowe/Narzêdzia
-Source0:       ftp://eclipt.uni-klu.ac.at:/pub/projects/emirror/%{name}-%{version}.tar.gz
-Patch0:                %{name}-cfg.patch
-BuildRequires: python
+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
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,28 +25,13 @@ Program do mirrorowania FTP.
 %patch -p1
 
 %build
-%configure
+autoconf
+%configure \
+       --with-htmldir=/home/httpd/html
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
-       prefix=$RPM_BUILD_ROOT%{_prefix} \
-       bindir=$RPM_BUILD_ROOT%{_bindir} \
-       mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
-       libdir=$RPM_BUILD_ROOT%{_libdir}/emirror \
-       etcdir=$RPM_BUILD_ROOT%{_sysconfdir}/emirror \
-       docdir=$RPM_BUILD_ROOT%{_docdir}/emirror
-
-(\
-cd $RPM_BUILD_ROOT%{_bindir}; \
-mv -f mirror mirror.bak; \
-sed 's#@OUTPUTDIRECTORY@#/home/httpd/htdocs/mirrors#' mirror.bak > mirror; \
-mv -f updateindex updateindex.bak; \
-sed 's#@OUTPUTDIRECTORY@#/home/httpd/htdocs/mirrors#' updateindex.bak > updateindex;\
-rm -f *.bak
-)
-
-install general.cfg $RPM_BUILD_ROOT%{_sysconfdir}/emirror
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 gzip -9nf doc/* $RPM_BUILD_ROOT%{_mandir}/man1/*
 
This page took 0.03254 seconds and 4 git commands to generate.