Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > ba93e473e437ecae669e0dbf1194f0ee > files > 2

gabedit-2.0.6-1mdk.src.rpm

%define name	gabedit
%define version	2.0.6
%define tardate 051906
%define release %mkrel 1

Name: 	 	%{name}
Summary: 	GUI for comupational chemistry
Version: 	%{version}
Release: 	%{release}

Source:		http://lasim.univ-lyon1.fr/allouche/gabedit/Gabedit2_%{tardate}.tar.bz2
URL:		http://hplasim2.univ-lyon1.fr/allouche/gabedit
License:	BSD
Group:		Sciences/Chemistry
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	jpeg-devel gtk2-devel libmesaglu-devel

%description
Gabedit is a Graphical User Interface to Gamess-US, Gaussian, Molcas, Molpro
and MPQC computational chemistry packages. Gabedit includes graphical
facilities for generating keywords and options, molecule specifications and
their input sections for even the most advanced calculation types. Gabedit
includes an advanced Molecule Builder. You can use it to rapidly sketch in
molecules and examine them in three dimensions. You can build molecules by
atom, ring, group, amino acid and nucleoside. You can also read geometry from
a file. Most major molecular file formats are supported.

Gabedit includes a Gamess-US, Gaussian, Molcas, Molpro and MPQC Calculation
Setup window which allows you to set up Gamess-US, Gaussian, Molcas, Molpro
and MPQC jobs in a simple and straightforward manner.

Gabedit can graphically display a variety of Gamess-US, Gaussian, Molcas,
Molpro, MPQC and (partially) ADF calculation results, including the following:
- Molecular orbitals
- Surfaces from the electron density, electrostatic potential, NMR shielding
  density, and other properties.
- Surfaces may be displayed in solid, translucent and wire mesh modes. They
  are can be colorcoded by a separate property.
- Contours (colorcoded), Planes colorcoded, Dipole. XYZ axes and the principal
  axes of the molecule.
- Animation of the normal modes corresponding to vibrational frequencies.
- Animation of the rotation of geometry, surfaces, contours, planes colorcoded,
  xyz and the principal axes of the molecule.
- Animation of contours, Animation of planes colorcoded.

Gabedit can display IR and Raman computed spectra.

Gabedit can generate a povray file for geometry (including hydrogen's bond),
surfaces (including colorcoded surfaces), contours, planes colorcoded.

Gabedit can save picture in BMP, JPEG, PNG, PPM and PS format.

Gabedit can generate automatically a series of pictures for animation
(vibration, geometry convergence, rotation, contours, planes colorcoded).

%prep
%setup -q -n Gabedit2_%{tardate}

%build
make
# CFLAGS="-Wall $RPM_OPT_FLAGS `gtk-config --cflags`"
										
%install
mkdir -p $RPM_BUILD_ROOT/%_bindir
cp %name $RPM_BUILD_ROOT/%_bindir

#menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}): command="%{name}" icon="%{name}.png" needs="x11" title="Gabedit" longtitle="Computational Chem GUI" section="More Applications/Sciences/Chemistry"
EOF

#icons
mkdir -p $RPM_BUILD_ROOT/%_liconsdir
cp icons/Gabedit48.png $RPM_BUILD_ROOT/%_liconsdir/%name.png
mkdir -p $RPM_BUILD_ROOT/%_iconsdir
cp icons/Gabedit32.png $RPM_BUILD_ROOT/%_iconsdir/%name.png
mkdir -p $RPM_BUILD_ROOT/%_miconsdir
cp icons/Gabedit16.png $RPM_BUILD_ROOT/%_miconsdir/%name.png

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_menus
		
%postun
%clean_menus

%files
%defattr(-,root,root)
%doc License utils
%{_bindir}/%name
%{_menudir}/%name
%{_liconsdir}/%name.png
%{_iconsdir}/%name.png
%{_miconsdir}/%name.png

%changelog
* Tue May 23 2006 Austin Acton <austin@mandriva.org> 2.0.6-1mdk
- new release
- mkrel
- update description
- move to gtk2
- use included icons
- package utils in docdir

* Mon Jan 31 2005 Austin Acton <austin@mandrake.org> 1.2.8-1mdk
- 1.2.8

* Mon Dec 6 2004 Austin Acton <austin@mandrake.org> 1.2.6-1mdk
- 1.2.6
- source URL

* Thu Sep 30 2004 Austin Acton <austin@mandrake.org> 1.2.4-1mdk
- 1.2.4
- new menu

* Wed Jun 30 2004 Austin Acton <austin@mandrake.org> 1.1.9-1mdk
- 1.1.9
- fix buildrequires for lib64
- new menu

* Mon Sep 1 2003 Austin Acton <aacton@yorku.ca> 1.1.4-1mdk
- 1.1.4

* Sun Apr 27 2003 Austin Acton <aacton@yorku.ca> 1.1.1-3mdk
- fix URL

* Fri Apr 25 2003 Austin Acton <aacton@yorku.ca> 1.1.1-2mdk
- buildrequires glu

* Mon Mar 31 2003 Austin Acton <aacton@yorku.ca> 1.1.1-1mdk
- initial package