]>
Commit | Line | Data |
---|---|---|
0d7c3df3 | 1 | Summary: Folding@home client |
83510860 | 2 | Summary(pl.UTF-8): Klient Folding@home |
0d7c3df3 TP |
3 | Name: foldingathome |
4 | Version: 4.00 | |
5 | Release: 1 | |
6 | License: Freeware | |
7 | Group: Applications/Science | |
8 | Source0: http://www.stanford.edu/group/pandegroup/release/FAH4Console-Linux.exe | |
9 | # Source0-md5: d8ca3f78a3fff62059b780891d4c1e06 | |
10 | URL: http://folding.stanford.edu/ | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ExclusiveArch: %{ix86} | |
13 | ||
14 | %description | |
15 | Folding@Home is a distributed client computing effort by Stanford | |
16 | University intended to help understand how proteins assemble or "fold". | |
17 | ||
58dd3910 JR |
18 | %description -l pl.UTF-8 |
19 | Folding@Home jest klientem projektu obliczeń rozproszonych Uniwersytetu | |
20 | Stanford mającym na celu pomoc w zrozumieniu jak tworzą się białka. | |
0d7c3df3 | 21 | |
4f477aef | 22 | %prep |
23 | ||
0d7c3df3 TP |
24 | %install |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | ||
27 | install -D %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/foldingathome-bin | |
28 | ||
29 | cat > $RPM_BUILD_ROOT%{_bindir}/foldingathome << EOF | |
30 | #!/bin/sh | |
31 | test -d \$HOME/.fah || mkdir \$HOME/.fah | |
32 | cd \$HOME/.fah && %{_bindir}/foldingathome-bin "\$@" | |
33 | EOF | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
acc10dc7 | 39 | %defattr(644,root,root,755) |
0d7c3df3 | 40 | %attr(755,root,root) %{_bindir}/* |