]> git.pld-linux.org Git - packages/grace.git/blobdiff - grace.spec
- updated to 5.1.17
[packages/grace.git] / grace.spec
index faa3b805350cc461d5797b741c041ae45915b13d..57ae3936801ebd44ce080caa359bc9113f659149 100644 (file)
-%define version 5.0.5
-%define name grace
-%define serial 28
-Name:          %{name}
-Version:       %{version}
-Serial:                %{serial}
+Summary:       Numerical Data Processing and Visualization Tool (grace)
+Summary(pl):   Narzêdzie do numerycznej obróbki i wizualizacji danych
+Name:          grace
+Version:       5.1.17
 Release:       1
 License:       GPL
+Group:         Applications/Math
 Source0:       ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
-Source1:       xmgrace
-Source2:       fftw.tar.gz
-Patch0:                %{name}.perl.patch
-Icon:          %{name}.gif
+# Source0-md5: a20c1edf572f1a78025e2010d5bb6e83
+Source1:       %{name}.desktop
+Patch0:                %{name}-FHS.patch
+Patch1:                %{name}-home_etc.patch
+Patch2:                %{name}-etc.patch
+Patch3:                %{name}-fontsdir.patch
+URL:           http://plasma-gate.weizmann.ac.il/Grace/
+BuildRequires: XFree86-devel
+BuildRequires: Xbae-devel
+BuildRequires: XmHTML-devel >= 1.1.5
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: fftw-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel >= 0.9.6
+BuildRequires: libtiff-devel
+BuildRequires: motif-devel >= 1.2
+BuildRequires: netcdf-devel >= 3.0
+BuildRequires: pdflib-devel >= 4.0.3
+BuildRequires: t1lib-devel >= 5.0.0
+Requires:      ghostscript-fonts-std
+Requires:      libpng >= 0.9.6
+Requires:      pdflib >= 4.0.3
+Requires:      zlib >= 1.0.3
+Obsoletes:     xmgr
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-ExclusiveArch: i386 alpha
-Group:         Applications/Math
-Summary:       Numerical Data Processing and Visualization Tool (grace)
+
 %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.
+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 dynamic
-Group:         Applications/Math
-Summary:       Numerical Data Processing and Visualization Tool (grace)
-Provides:      %{name}
-Conflicts:     %{name}-semistatic
+%description -l pl
+Grace jest motifow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
+danych. Mo¿e przekszta³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.
 
-%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.
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
-%package semistatic
-Group:         Applications/Math
-Summary:       grace with statically linked Motif libraries
-Provides:      %{name}
-Conflicts:     %{name}-dynamic
+%build
+cp -f /usr/share/automake/config.* ac-tools
+cp -f ac-tools/configure.in .
+%{__autoconf}
+%configure \
+       --enable-grace-home=%{_datadir}/%{name} \
+       --enable-editres \
+       --enable-extra-incpath=$PKG_BUILD_DIR/include \
+       --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
+       --without-bundled-xbae \
+       %{!?debug:--disable-debug}
+%{__make}
 
-%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.
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/grace/doc/{*.sgml,*.dvi,*.1} \
+       $RPM_BUILD_ROOT%{_datadir}/grace/examples/dotest
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
+
+gzip -9nf $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.dat \
+       $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.agr \
+       $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.sh
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-In this package the Motif libraries are linked statically for users who have
-no Motif runtime libraries.
+%files
+%defattr(644,root,root,755)
+%docdir %{_datadir}/grace/doc
+%docdir %{_datadir}/grace/examples
+%{_datadir}/grace/doc
+%{_datadir}/grace/examples
+%dir %{_sysconfdir}/grace
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/grace/*
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%{_libdir}/grace
+%{_includedir}/*
+%dir %{_datadir}/grace
+%{_datadir}/grace/auxiliary
+%dir %{_datadir}/grace/templates
+%config(noreplace) %verify(not size mtime md5) %{_datadir}/grace/templates/*
+%dir %{_datadir}/grace/fonts
+%{_datadir}/grace/fonts/enc
+%{_datadir}/grace/fonts/FontDataBase
+%{_desktopdir}/*.desktop
This page took 0.138295 seconds and 4 git commands to generate.