Package platon

Download platon.spec
Name: platon
Version: 20100121
Release: alt2

Summary: PLATON is a versatile SHELX97 compatible multipurpose crystallographic tool
License: Academic non-commercial use only
Group: Sciences/Chemistry

Source3: PERMISSION.txt

# Automatically added by buildreq on Fri Nov 28 2008
BuildRequires: gcc-fortran libX11-devel

PLATON is a versatile SHELX97 compatible multipurpose
crystallographic tool.

Most PLATON features complement those available in the excellent
and widely distributed SHELX97 package for crystal structure
determination and refinement.

Historically (1980) PLATON started out as a program for the
automated calculation of derived geometrical data (i.e. bond
distances, bond angles and torsion angles, including su's
(esd's)) for structures refined with SHELX76.  Since then,
that basic function evolved into an automatic function to
calculate everything of possible interest (both intra- and
intermolecular)for a given structural parameter set
(Instruction: CALC).

Over time, various other tools were introduced (Molecular
Graphics i.e. PLUTON & ORTEP, Absorption correction, Data
Validation etc.), some of which requiring a reflection datafile
as well.

Several functions in PLATON (e.g. SPGR and EXOR) are there to
implement calculations needed for datareduction, structure
determination and refinement with a program system called


Please note that commecrial users should apply for a license:

See also %_defaultdocdir/%{name}*/PERMISSION.txt

%setup -n %name
gunzip platon.f.Z
gunzip xdrvr.c.gz
tar -vvxf platon_html.tar.gz
mv platon doc
mv TEST test
cp -a %SOURCE2 Changelog
cp -a %SOURCE3 .

g77 -O0 -o platon platon.f xdrvr.c -lX11

install -d %buildroot%_bindir
install -d %buildroot%_datadir
install -d %buildroot%_libexecdir/%name

install -d %buildroot%_datadir/%name/ABSORB_EXAMPLE
install -d %buildroot%_datadir/%name/ABSTOMPA_EXAMPLE
install -d %buildroot%_datadir/%name/ABSTOMPA_TEST
install -d %buildroot%_datadir/%name/ADDSYM_EXAMPLE
install -d %buildroot%_datadir/%name/ASYM_EXAMPLE
install -d %buildroot%_datadir/%name/DELABS_EXAMPLE
install -d %buildroot%_datadir/%name/MULABS_EXAMPLE
install -d %buildroot%_datadir/%name/PSICOR_EXAMPLE
install -d %buildroot%_datadir/%name/SQUEEZE_EXAMPLE

install -pm644 check.def %buildroot%_datadir/%name
install -pm755 %name %buildroot%_libexecdir/%name
install -pm755 %SOURCE1 %buildroot%_bindir/pltn

install -pm644 test/ABSORB_EXAMPLE/* %buildroot%_datadir/%name/ABSORB_EXAMPLE/
install -pm644 test/ABSTOMPA_EXAMPLE/* %buildroot%_datadir/%name/ABSTOMPA_EXAMPLE/
install -pm644 test/ABSTOMPA_TEST/* %buildroot%_datadir/%name/ABSTOMPA_TEST/
install -pm644 test/ADDSYM_EXAMPLE/* %buildroot%_datadir/%name/ADDSYM_EXAMPLE/
install -pm644 test/ASYM_EXAMPLE/* %buildroot%_datadir/%name/ASYM_EXAMPLE/
install -pm644 test/DELABS_EXAMPLE/* %buildroot%_datadir/%name/DELABS_EXAMPLE/
install -pm644 test/MULABS_EXAMPLE/* %buildroot%_datadir/%name/MULABS_EXAMPLE/
install -pm644 test/PSICOR_EXAMPLE/* %buildroot%_datadir/%name/PSICOR_EXAMPLE/
install -pm644 test/SQUEEZE_EXAMPLE/* %buildroot%_datadir/%name/SQUEEZE_EXAMPLE/

%doc doc/* doc/images/*


# - spec cleanup
# - consider
# - move doc and examples to noarch subpackages?

* Sat Feb 20 2010 Michael Shigorin <> 20100121-alt2
- clarified License:
- added PERMISSION.txt to package documentation

* Sat Feb 20 2010 Michael Shigorin <> 20100121-alt1
- accepted changes by Denis (closes: #21582)
- spec cleanup

* Fri Jan 22 2010 Denis G. Samsonenko <> 20100121-alt0.sdg1
- New version

* Sun Jan 03 2010 Denis G. Samsonenko <> 20091218-alt0.sdg1
- New version.
- Minor changes in spec file.
- Biult with -O0 because of crashes (#21582).

* Wed Jun 03 2009 Pavel V. Solntsev <p_solntsev at> 20090603-alt1
- New version. Platon can be started by script pltn.

* Fri May 15 2009 Pavel V. Solntsev <p_solntsev at> 20090513-alt1.M41
- Backport to M41

* Fri May 15 2009 Pavel V. Solntsev <p_solntsev at> 20090513-alt1
- New version
- platon can be run by pltn command

* Thu Mar 12 2009 Pavel V. Solntsev <> 20090310-alt1
- New version.
- Start script has been updated.

* Fri Feb 27 2009 Pavel V. Solntsev <> 20090227-alt1
- New version

* Wed Feb 04 2009 Pavel V. Solntsev <> 20090204-alt1
- New version

* Fri Jan 09 2009 Pavel V. Solntsev <> 20090107-alt1.M41.1
- Backport M41.

* Fri Jan 09 2009 Pavel V. Solntsev <> 20090107-alt1
- New version.

* Mon Dec 29 2008 Pavel V. Solntsev <> 20081215-alt1
- New version. Source code and check.def file are updated.
- Desktop and icon file have been removed.

* Thu Nov 27 2008 Pavel V. Solntsev <p_solntsev at> 20081127-alt1
- First build package for ALTLinux Team
- Package based on the Pascal's Fedora package <pascal22p at parois dot net>.
Back to Top