]>
Commit | Line | Data |
---|---|---|
1 | Summary: Ci programming language | |
2 | Summary(en.UTF-8): Ć programming language | |
3 | Summary(pl.UTF-8): Język programowania Ć | |
4 | Name: cito | |
5 | Version: 0.4.0 | |
6 | Release: 1 | |
7 | License: GPL v3+ | |
8 | Group: Development/Languages | |
9 | Source0: http://downloads.sourceforge.net/cito/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: ce204e0e8595a326a6175113f271384c | |
11 | Patch0: %{name}-destdir.patch | |
12 | URL: https://github.com/pfusik/cito | |
13 | # .NET 3.5 - what is minimal mono version? | |
14 | BuildRequires: mono-csharp >= 3 | |
15 | Requires: mono >= 3 | |
16 | # only bytecode inside | |
17 | BuildArch: noarch | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Ci is a programming language which can be automatically translated to | |
22 | C, Java, C#, JavaScript, ActionScript and D. The translator is called | |
23 | `cito`. | |
24 | ||
25 | %description -l en.UTF-8 | |
26 | Ć is a programming language which can be automatically translated to | |
27 | C, Java, C#, JavaScript, ActionScript and D. The translator is called | |
28 | `cito`. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Ć to język programowania, który można automatycznie tłumaczyć do | |
32 | języków C, Java, C#, JavaScript, ActionScript i D. Translator nazywa | |
33 | się "cito". | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | %patch0 -p1 | |
38 | ||
39 | %build | |
40 | %{__make} \ | |
41 | CSC=mcs | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT \ | |
48 | prefix=/usr | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc README.html ci.html ci-logo.ico ci-logo.svg hello.ci | |
56 | %attr(755,root,root) %{_bindir}/cipad | |
57 | %attr(755,root,root) %{_bindir}/cito | |
58 | %dir %{_prefix}/lib/cito | |
59 | %{_prefix}/lib/cito/cipad.exe | |
60 | %{_prefix}/lib/cito/cito.exe |