]>
Commit | Line | Data |
---|---|---|
6ab914a8 | 1 | Summary: Brainf*** language interpreter and compiler |
bfe0381a | 2 | Summary(pl.UTF-8): Kompilator i interpreter języka Brainf*** |
6ab914a8 JB |
3 | Name: brainfunct |
4 | Version: 1 | |
5 | Release: 1 | |
6 | License: ? | |
7 | Group: Development/Languages | |
5cd9f0d9 JB |
8 | Source0: http://download.sourcemage.org/mirror/stable/%{name}.tar.gz |
9 | # Source0-md5: 1953aa43bb9f3f06e99bca7a15b90e62 | |
10 | #Source0: http://www.catseye.mb.ca/esoteric/bf/%{name}.tar.gz | |
11 | #URL: http://www.catseye.mb.ca/esoteric/bf/ | |
6ab914a8 JB |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | This package contains an interpreter and a compiler for Brainf*** | |
16 | language. Brainf*** is a minimal language developed by Urban Mueller. | |
17 | While it only has a total of eight instructions, it can solve any | |
18 | solvable mathematical problem. | |
19 | ||
ed829618 JR |
20 | %description -l pl.UTF-8 |
21 | Ten pakiet zawiera interpreter i kompilator języka Brainf***. | |
22 | Brainf*** to minimalny język stworzony przez Urbana Muellera. Pomimo | |
23 | że ma tylko osiem instrukcji, może rozwiązać każdy rozwiązywalny | |
6ab914a8 JB |
24 | problem matematyczny. |
25 | ||
26 | %prep | |
27 | %setup -q -n bf | |
28 | ||
29 | %build | |
30 | %{__make} \ | |
31 | CC="%{__cc}" \ | |
32 | CFLAGS="%{rpmcflags} -Wall" | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}} | |
37 | ||
38 | install bfc bfi $RPM_BUILD_ROOT%{_bindir} | |
39 | install *.b $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc *.txt | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_examplesdir}/%{name}-%{version} |