6 |
Summary: An advanced molecular editor for chemical purposes |
Summary: An advanced molecular editor for chemical purposes |
7 |
Group: System/Libraries |
Group: System/Libraries |
8 |
Version: 1.0.1 |
Version: 1.0.1 |
9 |
Release: %mkrel 4 |
Release: %mkrel 5 |
10 |
License: GPLv2 |
License: GPLv2 |
11 |
URL: http://avogadro.openmolecules.net/ |
URL: http://avogadro.openmolecules.net/ |
12 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
13 |
Patch0: avogadro-1.0.1-fix-build-with-newer-sip.patch |
Patch0: avogadro-1.0.1-fix-build-with-newer-sip.patch |
14 |
Patch1: avogadro-1.0.1-py27.patch |
Patch1: avogadro-1.0.1-py27.patch |
15 |
|
Patch2: avogadro-1.0.1-fix-cmake-rpath.patch |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: cmake >= 2.6.0 |
BuildRequires: cmake >= 2.6.0 |
18 |
BuildRequires: qt4-devel |
BuildRequires: qt4-devel |
26 |
BuildRequires: python-numpy-devel |
BuildRequires: python-numpy-devel |
27 |
BuildRequires: python-devel |
BuildRequires: python-devel |
28 |
Requires: openbabel >= 2.2.3 |
Requires: openbabel >= 2.2.3 |
|
|
|
29 |
%description |
%description |
30 |
An advanced molecular editor designed for cross-platform use |
An advanced molecular editor designed for cross-platform use |
31 |
in computational chemistry,molecular modeling, bioinformatics, |
in computational chemistry,molecular modeling, bioinformatics, |
32 |
materials science,and related areas, which offers flexible |
materials science,and related areas, which offers flexible |
33 |
rendering and a powerful plugin architecture. |
rendering and a powerful plugin architecture. |
34 |
|
|
35 |
%files |
%files |
36 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
37 |
%doc AUTHORS ChangeLog COPYING |
%doc AUTHORS ChangeLog COPYING |
38 |
%{_bindir}/%name |
%{_bindir}/%name |
60 |
%description -n %libname |
%description -n %libname |
61 |
Libraries for Avogadro molecular editor. |
Libraries for Avogadro molecular editor. |
62 |
|
|
63 |
%files -n %libname |
%files -n %libname |
64 |
%defattr(-,root,root,-) |
%defattr(-,root,root,-) |
65 |
%{_libdir}/libavogadro.so.%{major}* |
%{_libdir}/libavogadro.so.%{major}* |
66 |
|
|
90 |
%setup -q |
%setup -q |
91 |
%patch0 -p0 |
%patch0 -p0 |
92 |
%patch1 -p0 |
%patch1 -p0 |
93 |
|
%patch2 -p0 |
94 |
|
|
95 |
%build |
%build |
96 |
%{cmake_qt4}\ |
%{cmake_qt4}\ |