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