]> git.pld-linux.org Git - packages/grace.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Sat, 20 May 2000 13:53:44 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    grace.spec -> 1.7

grace.spec

index e297901528304c9958688f733d67809f5b51701d..977706faa261b8a4bdd972b8dbeda65617356d01 100644 (file)
@@ -4,6 +4,7 @@ Version:        5.1.0
 Release:       1
 License:       GPL
 Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
 Source0:       ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
 Source1:       xmgrace
 Source2:       fftw.tar.gz
@@ -12,50 +13,53 @@ Icon:               %{name}.gif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Grace is a Motif application for two-dimensional data visualization. Grace
-can transform the data using free equations, FFT, cross- and
-auto-correlation, differences, integrals, histograms, and much more. The
-generated figures are of high quality. Grace is a very convenient tool for
-data inspection, data transformation, and and for making figures for
-publications.
+Grace is a Motif application for two-dimensional data visualization.
+Grace can transform the data using free equations, FFT, cross- and
+auto-correlation, differences, integrals, histograms, and much more.
+The generated figures are of high quality. Grace is a very convenient
+tool for data inspection, data transformation, and and for making
+figures for publications.
 
 %description -l pl
-Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji danych.
-Mo¿e przejszta³caæ dane za pomoc± wolnych równañ, FFT, autokorelacji,
-ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy maj± wysok± jako¶æ.
-Grace jest bardzo u¿ytecznym narzêdziem je¶li chodzi o monitorowanie i
-transformacjê danych oraz tworzenie wykresów do publikacji.
+Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
+danych. Mo¿e przejszta³caæ dane za pomoc± wolnych równañ, FFT,
+autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
+maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
+chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
+do publikacji.
 
 %package dynamic
 Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
 Summary:       Numerical Data Processing and Visualization Tool (grace)
 Provides:      %{name}
 Conflicts:     %{name}-semistatic
 
 %description dynamic
-Grace is a Motif application for two-dimensional data visualization. Grace
-can transform the data using free equations, FFT, cross- and
-auto-correlation, differences, integrals, histograms, and much more. The
-generated figures are of high quality. Grace is a very convenient tool for
-data inspection, data transformation, and and for making figures for
-publications.
+Grace is a Motif application for two-dimensional data visualization.
+Grace can transform the data using free equations, FFT, cross- and
+auto-correlation, differences, integrals, histograms, and much more.
+The generated figures are of high quality. Grace is a very convenient
+tool for data inspection, data transformation, and and for making
+figures for publications.
 
 %package semistatic
 Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
 Summary:       grace with statically linked Motif libraries
 Provides:      %{name}
 Conflicts:     %{name}-dynamic
 
 %description semistatic
-Grace is a Motif application for two-dimensional data visualization. Grace
-can transform the data using free equations, FFT, cross- and
-auto-correlation, differences, integrals, histograms, and much more. The
-generated figures are of high quality. Grace is a very convenient tool for
-data inspection, data transformation, and and for making figures for
-publications.
+Grace is a Motif application for two-dimensional data visualization.
+Grace can transform the data using free equations, FFT, cross- and
+auto-correlation, differences, integrals, histograms, and much more.
+The generated figures are of high quality. Grace is a very convenient
+tool for data inspection, data transformation, and and for making
+figures for publications.
 
-In this package the Motif libraries are linked statically for users who have
-no Motif runtime libraries.
+In this package the Motif libraries are linked statically for users
+who have no Motif runtime libraries.
 
 %prep
 %setup -q
@@ -86,31 +90,30 @@ mv xmgrace xmgrace.dynamic
 cd ..
 
 %install
-if [ "x$RPM_BUILD_ROOT" != "x/" ]; then
-    rm -rf $RPM_BUILD_ROOT
-fi
-mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
-make PREFIX=$RPM_BUILD_ROOT/usr/X11R6 \
-     GRACE_HOME=$RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace \
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/bin
+make PREFIX=$RPM_BUILD_ROOT%{_prefix}/X11R6 \
+GRACE_HOME=$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace \
      install
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace/bin/xmgrace
-mv $RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace/bin/xmgrace \
-    $RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace/bin/xmgrace.semistatic
-strip $RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace/bin/grconvert
-install -s src/xmgrace.dynamic $RPM_BUILD_ROOT/usr/X11R6/lib/X11/grace/bin
-rm -f $RPM_BUILD_ROOT/usr/X11R6/bin/xmgrace
-rm -f $RPM_BUILD_ROOT/usr/X11R6/bin/gracebat
-install -m755 $RPM_SOURCE_DIR/xmgrace $RPM_BUILD_ROOT/usr/X11R6/bin/xmgrace
-ln -sf /usr/X11R6/bin/xmgrace $RPM_BUILD_ROOT/usr/X11R6/bin/gracebat
-mkdir -p $RPM_BUILD_ROOT/usr/include
-ln -sf /usr/X11R6/lib/X11/grace/include/grace_np.h \
-    $RPM_BUILD_ROOT/usr/include/grace_np.h
-mkdir -p $RPM_BUILD_ROOT/usr/lib
-ln -sf /usr/X11R6/lib/X11/grace/lib/libgrace_np.a \
-    $RPM_BUILD_ROOT/usr/lib/libgrace_np.a
+strip $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace/bin/xmgrace
+mv $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace/bin/xmgrace \
+$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace/bin/xmgrace.semistatic
+strip $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace/bin/grconvert
+install -s src/xmgrace.dynamic $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/grace/bin
+rm -f $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/xmgrace
+rm -f $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gracebat
+install -m755 $RPM_SOURCE_DIR/xmgrace $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/xmgrace
+ln -sf %{_prefix}/X11R6/bin/xmgrace $RPM_BUILD_ROOT%{_prefix}/X11R6/bin/gracebat
+install -d $RPM_BUILD_ROOT%{_includedir}
+ln -sf %{_prefix}/X11R6/lib/X11/grace/include/grace_np.h \
+    $RPM_BUILD_ROOT%{_includedir}/grace_np.h
+install -d $RPM_BUILD_ROOT%{_libdir}
+ln -sf %{_prefix}/X11R6/lib/X11/grace/lib/libgrace_np.a \
+    $RPM_BUILD_ROOT%{_libdir}/libgrace_np.a
 
 cd $RPM_BUILD_ROOT
-find ./usr/X11R6/lib/X11/grace -type d \
+find .%{_prefix}/X11R6/lib/X11/grace -type d \
        | sed 's,^\.,\%attr(-\,root\,root) \%dir ,' \
        > $RPM_BUILD_DIR/file.list.%{name}
 find . -type f \
@@ -128,7 +131,9 @@ fi
 rm -f $RPM_BUILD_DIR/file.list.%{name}
 
 %files dynamic -f ../file.list.%{name}
-/usr/X11R6/lib/X11/grace/bin/xmgrace.dynamic
+%defattr(644,root,root,755)
+%{_prefix}/X11R6/lib/X11/grace/bin/xmgrace.dynamic
 
 %files semistatic -f ../file.list.%{name}
-/usr/X11R6/lib/X11/grace/bin/xmgrace.semistatic
+%defattr(644,root,root,755)
+%{_prefix}/X11R6/lib/X11/grace/bin/xmgrace.semistatic
This page took 0.085111 seconds and 4 git commands to generate.