Blob Blame History Raw
Name:		autodocksuite
Version:	4.2.5.1
Release:	5%{?dist}
Summary:	AutoDock is a suite of docking tools to study protein-ligand interaction

License:	GPLv2
URL:		http://autodock.scripps.edu/
Source0:	http://autodock.scripps.edu/downloads/autodock-registration/tars/dist4251/%{name}-%{version}-src.tar.gz

BuildRequires:	csh

%description
AutoDock is a suite of automated docking tools. It is designed to predict \
how small molecules, such as substrates or drug candidates, bind to a \
receptor of known 3D structure. AutoDock 4 actually consists of two main \
programs: autodock performs the docking of the ligand to a set of grids \
describing the target protein; autogrid pre-calculates these grids. In \
addition to using them for docking, the atomic affinity grids can be \
visualized. This can help, for example, to guide organic synthetic chemists \
design better binders.

%package doc
Summary:	Documentation files for %{name}
BuildArch:	noarch


%description doc
This package contains the AutoDock user guide as supplied by upstream\
developers.

%prep
%setup -q -n src

%build

pushd autodock
%configure
make %{?_smp_mflags}
popd

pushd %{_builddir}/src/autogrid
%configure
make V=1 %{?_smp_mflags}

%install
make -C autodock install DESTDIR=%{buildroot}
make -C autogrid install DESTDIR=%{buildroot}

%files
%doc autodock/COPYING
%{_bindir}/autodock4
%{_bindir}/autogrid4

%files doc
%doc README USERGUIDES/AutoDock4.2_UserGuide.pdf

%changelog
* Thu Feb 20 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 4.2.5.1-5
- Spec file optimizations/corrections

* Wed Feb 19 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 4.2.5.1-4
- Fixed spec file problems
- Removed ldconfig from post and postun
- Removed export CFLAGS

* Wed Feb 19 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 4.2.5.1-3
- Added Requires for -doc subpackage

* Tue Feb 18 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 4.2.5.1-2
- Fixed spec file errors
- Added files under doc and created -doc package

* Mon Feb 17 2014 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 4.2.5.1-1
- Initial package