]> git.pld-linux.org Git - packages/rrdtool.git/commitdiff
- added automake, autoconf to BuildRequires,
authorkloczek <kloczek@pld-linux.org>
Wed, 21 Feb 2001 19:09:26 +0000 (19:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added using %%{_examplesdir} macro in %install.

Changed files:
    rrdtool.spec -> 1.19

rrdtool.spec

index d024c1e74b8fe02d5dd3ced67021d3b31098ca91..3d50d4fbfd178624ab96f6569e1e715ed01c8048 100644 (file)
@@ -9,6 +9,8 @@ Group(pl):      Aplikacje/Bazy danych
 Source0:       http://ee-staff.ethz.ch/~oetiker/webtools/rrdtools/pub/%{name}-%{version}.tar.gz
 Patch0:                %{name}-makefile.patch
 URL:           http://ee-staff.ethz.ch/~oetiker/webtools/rrdtol/
+BuildRequired: autoconf
+BuildRequired: automake
 #BuildRequired:        tcl-devel
 %requires_eq   perl
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,8 +61,8 @@ Statyczne biblioteki RRDtools.
 
 %build
 aclocal
-automake -a -c
 autoconf
+automake -a -c
 %configure \
        --enable-shared=yes \
        --without-tclib
@@ -70,12 +72,12 @@ autoconf
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
 %{__make} DESTDIR=$RPM_BUILD_ROOT site-perl-install
 
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-
-(cd $RPM_BUILD_ROOT%{_prefix}/src/examples/%{name};
+(cd $RPM_BUILD_ROOT%{_examplesdir}/%{name};
 mv -f ../../../examples/* .;
 mv -f ../../../contrib .)
 
This page took 0.161741 seconds and 4 git commands to generate.