]>
Commit | Line | Data |
---|---|---|
d5e9cc4e AM |
1 | Summary: An extensible system for designing atomic-scale objects |
2 | Name: fungimol | |
3 | Version: 0.5.1 | |
4 | Release: 1 | |
5 | License: LGPL | |
6 | Group: Applications/Engineering | |
7 | Source0: http://www.fungible.com/fungimol/%{name}-%{version}.tar.gz | |
8 | Patch0: %{name}-shared.patch | |
0cb8cc66 | 9 | Patch1: %{name}-static-init.patch |
d5e9cc4e AM |
10 | URL: http://www.fungible.com/fungimol/index.html |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | BuildRequires: netpbm-devel | |
13 | BuildRequires: libstdc++-devel | |
14 | BuildRequires: gcc-g77 | |
15 | BuildRequires: XFree86-devel | |
16 | ||
17 | %description | |
18 | The intent is to eventually extend it to be a useful system for doing | |
19 | molecular nanotechnology design work. At the moment it can view PDB | |
20 | files, edit Buckminsterfullerines, and it has a plugin to do Brenner's | |
21 | molecular dynamics force field. | |
22 | ||
23 | Donald Brenner's Fortran molecular dynamics package is also included. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
0cb8cc66 | 28 | %patch1 -p1 |
d5e9cc4e AM |
29 | |
30 | %build | |
31 | %{__make} fullbuild CPLUSPLUS=%{__cxx} %{!?debug:NDEBUG=yes} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %{__make} install | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc %{_prefix}/doc/fungimol-0.5.1 | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | %{_includedir}/fungimol | |
46 | %{_datadir}/brennermd | |
47 | %{_datadir}/fungimol/plugins |