- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Thu, 18 May 2000 19:19:33 +0000 (19:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emirror.spec -> 1.13

emirror.spec

index 6224037..c20d2a4 100644 (file)
@@ -3,9 +3,9 @@ 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.patch
+License:       GPL
+Source0:       ftp://ftp.uni-klu.ac.at/pub/projects/emirror/%{name}-%{version}-pre9.tar.bz2
+Patch0:                emirror-cfg.patch
 Group:         Networking/Utilities
 Group(pl):     Sieciowe/Narz√™dzia
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -23,7 +23,7 @@ Program do mirrorowania FTP.
 %patch -p1
 
 %build
-./configure --prefix=/usr
+./configure --prefix=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -32,7 +32,7 @@ make install \
        bindir=$RPM_BUILD_ROOT%{_bindir} \
        mandir=$RPM_BUILD_ROOT%{_mandir}/man1 \
        libdir=$RPM_BUILD_ROOT%{_libdir}/emirror \
-       etcdir=$RPM_BUILD_ROOT/etc/emirror \
+       etcdir=$RPM_BUILD_ROOT%{_sysconfdir}/emirror \
        docdir=$RPM_BUILD_ROOT%{_docdir}/emirror
 
 (\
@@ -44,7 +44,7 @@ sed 's#@OUTPUTDIRECTORY@#/home/httpd/htdocs/mirrors#' updateindex.bak > updatein
 rm -f *.bak
 )
 
-install general.cfg $RPM_BUILD_ROOT/etc/emirror
+install general.cfg $RPM_BUILD_ROOT%{_sysconfdir}/emirror
 
 gzip -9nf doc/* Readme $RPM_BUILD_ROOT%{_mandir}/man1/*
 
This page took 0.031208 seconds and 4 git commands to generate.