Sisyphus repositório
Última atualização: 24 junho 2022 | SRPMs: 17496 | Visitas: 24436946
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.10.2
Release: alt1

Summary: XDrawChem is a two-dimensional molecule drawing program
Summary(ru_RU.UTF-8): XDrawChem - программа двумерного рисования молекул

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: GPL
Group: Sciences/Chemistry
Url: http://www.woodsidelabs.com/chemistry/xdrawchem.php

# Source-url: https://github.com/bryanherger/xdrawchem/archive/%version-1.tar.gz

Source: %name-%version.tar

Source1: xdrawchem.desktop
Source2: xdrawchem.png
#Source3: %name-%version.ru.po
Patch0: %name-gcc43.patch
Patch1: xdrawchem-ob22.patch
Patch2: new-openbabel-string-type-fix.patch
Patch3: xdrawchem-1.9.9-alt-glibc-2.16.patch

BuildRequires: gcc-c++ openbabel libopenbabel-devel qt5-base-devel

%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.UTF-8
XDrawChem - это программа двумерного рисования молекул для операционных
систем класса Unix. По функциональности она аналогична другим программам
рисования молекул, таким как ChemDraw (TM, CambridgeSoft). Она может
считывать и записывать файлы MDL Molfiles и CML, что позволяет
использовать XDrawChem вместе с другими приложениями для химии.

%prep
%setup
cd xdrawchem-qt5

%build
cd xdrawchem-qt5
qmake-qt5 PREFIX="%_prefix"
%make_build

%install
cd xdrawchem-qt5
%makeinstall_std INSTALL_ROOT=%buildroot
install -pD -m 644 %SOURCE1 %buildroot/%_desktopdir/xdrawchem.desktop
install -pD -m 644 %SOURCE2 %buildroot/%_niconsdir/xdrawchem.png

%files
%doc README.md
%_bindir/%name
%_datadir/xdrawchem/
%_desktopdir/xdrawchem.desktop
%_niconsdir/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