LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File debyer.spec of Package debyer (Project home:zhonghuaren)

Name:           debyer
Version:        0.2
Release:        1
Summary:        A tool for calculation of diffraction patterns for atomistic models
BuildRequires:  gcc-c++
Group:          Applications/Egnineering
License:        GPLv2+
URL:            http://www.unipress.waw.pl/debyer/
Source0:        http://www.unipress.waw.pl/debyer/files/%{name}-%{version}.tar.gz

Debyer is software for calculation of diffraction patterns and PDFs
from a set of atomic positions. 

Typically, the atomic positions are:
- the result of molecular dynamics or other simulations, 
- or simply a geometrical model of investigated structure (i.e. just positions
  are generated, no interactions or time evolution -- such modeling is 
  sometimes used in analysis of experimental diffraction data).

Even tens of millions of atoms can be handled.

%setup -q
sed -i -e 's/char \*eq/const char *eq/' -e 's/char \*e\[/const char *e[/' -e 's/char \*ptr = e/const char *ptr = e/' debyer/fileio.cc

export CXXFLAGS="%{optflags} -std=c++98 -fPIC"
make %{?_smp_mflags} CFLAGS="%{optflags}"

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"



* Thu Feb 09 2012 Huaren Zhong <huaren.zhong@gmail.com> 0.2
- Rebuild for Fedora

* Sun Apr 19 2009 Fabian Affolter <fabian@bernewireless.net> - 0.2-1
- Initial package for Fedora