Sisyphus repositório
Última atualização: 1 dezembro 2022 | SRPMs: 17944 | Visitas: 25434634
en ru br
ALT Linux repositórios
S:1.10.2-alt2
5.0: 1.9.9-alt3
4.1: 1.9.9-alt2.M41.1
4.0: 1.9.9-alt0.1
3.0: 1.9.2-alt1

Group :: Ciências/Química
RPM: xdrawchem

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: xdrawchem
Version: 1.9.9
Release: alt0.1

Summary: XDrawChem is a two-dimensional molecule drawing program
Summary(ru_RU.KOI8-R): XDrawChem --

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: GPL
Group: Sciences/Chemistry
Url: http://xdrawchem.sourceforge.net/

Source: http://dl.sf.net/%name/%name-%version.tar.bz2
Source1: xdrawchem.menu
Source2: xdrawchem.png
#Source3: %name-%version.ru.po

# manually removed: glibc-devel-static gcc-g77 gnustep-base libg2c-devel libobjc-lf2 sope-appserver xorg-x11-devel-static

# Automatically added by buildreq on Fri Dec 16 2005
BuildRequires: fontconfig freetype2 gcc-c++ libopenbabel-devel libqt3-devel libqt3-qsa-devel libstdc++-devel pkg-config

BuildPreReq: libopenbabel-devel >= 2.0.0

%description
XDrawChem is a two-dimensional molecule drawing program for Unix
operating systems.  It is similar in functionality to other molecule
drawing programs such as ChemDraw (TM, CambridgeSoft).  It can read
and write MDL Molfiles and CML files to allow sharing between
XDrawChem and other chemistry applications.

%description -l ru_RU.KOI8-R
XDrawChem --
Unix.
, ChemDraw (TM, CambridgeSoft).
MDL Molfiles CML,
XDrawChem .

%prep
%setup -q
#cp -f %%{SOURCE3} translation/%name-ru.po

%build
export QTDIR="%_libdir/qt3"
export PATH=%_libdir/qt3/bin:$PATH
export CFLAGS="-I$QTDIR/include %optflags"
export CXXFLAGS="-I$QTDIR/include %optflags"
#export LDFLAGS="-L$QTDIR/lib"
%configure --with-qt-thread=no
%make_build
msg2qm translation/%name-ru.po translation/%{name}_ru.qm

%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_datadir/%name
install -m 755 xdrawchem/xdrawchem %buildroot%_bindir
install -m 644 ring/xdrawchemrc %buildroot%_datadir/%name
install -m 644 ring/*.{xpm,cml,qm} %buildroot%_datadir/%name

install -D -m 644 %SOURCE1 %buildroot/%_menudir/xdrawchem
install -D -m 644 %SOURCE2 %buildroot/%_iconsdir/xdrawchem.png
install -m 644 translation/%{name}_ru.qm %buildroot%_datadir/%name/%{name}_ru.qm

%post
%update_menus

%postun
%clean_menus

%files
%doc doc/*.txt doc/*.html doc/*.png README.txt TODO.txt INSTALL.txt
%_bindir/*
%_datadir/xdrawchem
%_menudir/xdrawchem
%_iconsdir/xdrawchem.png

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009