]>
Commit | Line | Data |
---|---|---|
7c554a2d | 1 | Summary: gaffitter - Genetic Algorithm File Fitter |
2 | Name: gaffitter | |
3 | Version: 0.6.0 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Tools | |
7 | Source0: http://downloads.sourceforge.net/gaffitter/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: a4a0fa0b3eeeaf49624d2e1b78de3cff | |
9 | URL: http://gaffitter.sourceforge.net// | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | Genetic Algorithm File Fitter, or just GAFFitter, is a command-line | |
14 | software written in C++ that arranges--via a genetic algorithm--an | |
15 | input list of items or files/directories into volumes of a certain | |
16 | capacity (target), such as CD or DVD, in a way that the total wastage | |
17 | is minimized. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | ||
22 | %build | |
23 | %{__make} | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | ||
28 | %{__make} install \ | |
29 | DESTDIR=$RPM_BUILD_ROOT \ | |
30 | prefix=/usr | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %doc README | |
38 | %attr(755,root,root) %{_bindir}/gaffitter |