]> git.pld-linux.org Git - packages/emirror.git/blobdiff - emirror.spec
- dropped pre-cvs changelog
[packages/emirror.git] / emirror.spec
index 297a56169924e36235ba800c7b7a7a0c6bfe6804..4187d3f006bd65c63e78f662dd4f3d10d47ae6ff 100644 (file)
@@ -1,14 +1,17 @@
+# TODO: webapps or so
 Summary:       FTP mirroring program
-Summary(pl):   Program do mirrorowania FTP
+Summary(pl.UTF-8):     Program do mirrorowania FTP
 Name:          emirror
 Version:       2.1.21
-Release:       1
+Release:       4
 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: fhs-compliance
 BuildRequires: python-devel >= 2.1
 Requires:      python >= 2.1
 BuildArch:     noarch
@@ -17,7 +20,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 FTP mirroring program.
 
-%description -l pl
+%description -l pl.UTF-8
 Program do mirrorowania FTP.
 
 %prep
@@ -25,18 +28,17 @@ Program do mirrorowania FTP.
 %patch0 -p1
 
 %build
-aclocal
+%{__aclocal}
 %{__autoconf}
 %configure \
-       --with-htmldir=/home/httpd/html/mirrors
+       --with-htmldir=/srv/httpd/html/mirrors
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/home/httpd/html/mirrors
+install -d $RPM_BUILD_ROOT/srv/httpd/html/mirrors
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf doc/*
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -44,9 +46,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc doc/*
-%dir /home/httpd/html/mirrors
-/home/httpd/html/mirrors/*
+%dir /srv/httpd/html/mirrors
+/srv/httpd/html/mirrors/*
 %config(noreplace) %{_sysconfdir}/emirror
 %attr(755,root,root) %{_bindir}/*
-%{_libdir}/emirror
+%{_prefix}/lib/emirror
 %{_mandir}/man1/*
This page took 0.48945 seconds and 4 git commands to generate.