]> git.pld-linux.org Git - packages/diffuse.git/commitdiff
- initial PLD spec
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Wed, 18 Dec 2002 16:29:44 +0000 (16:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    diffuse.spec -> 1.1

diffuse.spec [new file with mode: 0644]

diff --git a/diffuse.spec b/diffuse.spec
new file mode 100644 (file)
index 0000000..8e8d09a
--- /dev/null
@@ -0,0 +1,57 @@
+Name:          diffuse
+Summary:       No summary
+Version:       4.1b
+Release:       1
+Group:         Applications
+URL:           http://www.uni-wuerzburg.de/mineralogie/crystal/discus/discus.html
+Source0:       ftp://www.pa.msu.edu/pub/billinge/discus/Diffuse-%{version}.tar.gz
+Patch0:                %{name}-Makefiles.patch
+License:       Freeware (academic non commercial use)
+BuildRequires: readline-devel
+BuildRequires: pgplot-devel
+BuildRequires: XFree86-devel
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%package discus
+Summary:       Crystal structure simulation and analysis
+Summary(pl):   Symulacja i analiza struktur krystalicznych
+Group:         Applications
+
+%description discus
+DISCUS (DIffuse SCattering and defect strUcture Simulation) is a
+program written to simulate crystal structures and to calculate the
+corresponding Fourier transform. The main scope of the program is to
+simulate defect structures and thus diffuse scattering. It can,
+however, be equally well used for the simulation of perfect
+structures, of non crystalline materials and can be used as a very
+efficient tool in the teaching of diffraction physics. 
+
+%prep
+%setup -q -n Diffuse-%{version}
+%patch0 -p1
+
+%build
+cd discus/prog
+%{__make} CFLAGS="-DREADLINE %{optflags}"
+cd ../../kuplot/prog
+%{__make} CFLAGS="-DREADLINE %{optflags}"
+cd ../../pdffit/prog
+%{__make} CFLAGS="-DREADLINE %{optflags}"
+cd ../tools
+g77 asc2sbin.f -o asc2sbin
+g77 inp2stru.f -o inp2stru
+g77 sbin2asc.f -o sbin2asc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd discus/prog
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+cd ../../kuplot/prog
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+cd ../../pdffit/prog
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
This page took 0.072716 seconds and 4 git commands to generate.