X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=emirror.spec;h=d19fc5a26663ffb80a0ca187f6d626b1d826f0d1;hb=refs%2Ftags%2Fauto%2Fac%2Femirror-2_1_21-3;hp=095b811aba0954afaf5e723c8b32a7ee1da677f7;hpb=d2bbee9820ceb506a195850d0354436186bf38af;p=packages%2Femirror.git diff --git a/emirror.spec b/emirror.spec index 095b811..d19fc5a 100644 --- a/emirror.spec +++ b/emirror.spec @@ -1,16 +1,19 @@ -Summary: FTP mirroring program. -Summary(pl): Program do mirrorowania FTP. -Name: emirror -Version: 2.1 -Release: 1pre9 -Copyright: GPL -Source: ftp://ftp.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}-pre9.tar.bz2 -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: 3 +License: GPL +Group: Networking/Utilities +Source0: ftp://eclipt.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}.tar.gz +# Source0-md5: 4223966e49284e70a8eeabe9603d1ae3 +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. @@ -19,32 +22,31 @@ FTP mirroring program. Program do mirrorowania FTP. %prep -%setup -q -n %{name}-%{version}-pre9 -%patch -p1 +%setup -q +%patch0 -p1 %build -./configure --prefix=/usr +%{__aclocal} +%{__autoconf} +%configure \ + --with-htmldir=/home/services/httpd/html/mirrors %install rm -rf $RPM_BUILD_ROOT -make install \ - prefix=$RPM_BUILD_ROOT/usr \ - bindir=$RPM_BUILD_ROOT%{_bindir} \ - libdir=$RPM_BUILD_ROOT%{_libdir}/emirror \ - etcdir=$RPM_BUILD_ROOT/etc/emirror \ - docdir=$RPM_BUILD_ROOT/usr/doc/emirror +install -d $RPM_BUILD_ROOT/home/services/httpd/html/mirrors + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc documentation/* html README scripts/mirror -%attr(755,root,root) %{_bindir}/emconvert -%attr(755,root,root) %{_bindir}/emirror -%{_libdir}/emirror - -%changelog -* Sat Dec 05 1998 Arkadiusz Mi¶kiewicz - [2.0b6-1] -- initial rpm release. +%doc doc/* +%dir /home/services/httpd/html/mirrors +/home/services/httpd/html/mirrors/* +%config(noreplace) %{_sysconfdir}/emirror +%attr(755,root,root) %{_bindir}/* +%{_prefix}/lib/emirror +%{_mandir}/man1/*