]>
Commit | Line | Data |
---|---|---|
01990541 JB |
1 | # TODO: revise packaging? |
2 | Summary: COCOM tool set | |
b0bdd307 | 3 | Summary(pl.UTF-8): Zestaw narzędzi COCOM |
f9cabdda | 4 | Name: cocom |
5 | Version: 0.995 | |
a43dfe78 | 6 | Release: 0.2 |
f9cabdda | 7 | License: GPL |
01990541 JB |
8 | Group: Development/Languages |
9 | Source0: http://dl.sourceforge.net/cocom/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 94040380e63afd6cb12d2abacb87f8c8 | |
d85b82c8 | 11 | URL: http://cocom.sourceforge.net/ |
f9cabdda | 12 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
01990541 JB |
15 | This is COCOM tool set (Russian Armoury) oriented onto the creation |
16 | of compilers, cross-compilers, interpreters, and other language | |
17 | processors. The distribution also contains interpreter of language | |
18 | DINO as an example of the tool set usage. The tool set is aimed to | |
19 | use on Unixes of different flavors. COCOM also has been ported also | |
20 | into WIN32 environment. | |
f9cabdda | 21 | |
b0bdd307 JR |
22 | %description -l pl.UTF-8 |
23 | To jest zestaw narzędzi COCOM (arsenał rosyjski), zorientowany na | |
24 | tworzenie kompilatorów, kompilatorów skrośnych, interpreterów i | |
25 | innych procesorów języków. Pakiet zawiera także interpreter języka | |
26 | DINO jako przykład użycia tego zestawu narzędzi. Narzędzia są | |
27 | przeznaczone do używania na różnych uniksach, ale zostały sportowane | |
28 | także do środowiska Win32. | |
f9cabdda | 29 | |
d85b82c8 | 30 | %package devel |
01990541 | 31 | Summary: COCOM header files |
b0bdd307 | 32 | Summary(pl.UTF-8): Pliki nagłówkowe COCOM |
01990541 JB |
33 | Group: Development/Languages |
34 | Requires: %{name} = %{version}-%{release} | |
35 | ||
d85b82c8 | 36 | %description devel |
01990541 JB |
37 | COCOM header files. |
38 | ||
b0bdd307 JR |
39 | %description devel -l pl.UTF-8 |
40 | Pliki nagłówkowe COCOM. | |
d85b82c8 | 41 | |
f9cabdda | 42 | %prep |
43 | %setup -q | |
44 | ||
f9cabdda | 45 | %build |
01990541 JB |
46 | %configure2_13 |
47 | %{__make} | |
f9cabdda | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
f9cabdda | 51 | |
01990541 JB |
52 | %{__make} install \ |
53 | DESTDIR=$RPM_BUILD_ROOT | |
f9cabdda | 54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
01990541 | 60 | %doc CHANGES README armoury.html cocom.html *.jpg |
d85b82c8 | 61 | %attr(755,root,root) %{_bindir}/* |
01990541 JB |
62 | %{_libdir}/libcocom*.a |
63 | %{_libdir}/*.sprut | |
64 | %dir %{_libdir}/dino-* | |
65 | %attr(755,root,root) %{_libdir}/dino-*/*.so | |
66 | %{_libdir}/dino-*/lib*.a | |
67 | %{_libdir}/dino-*/*.d | |
68 | %{_mandir}/man1/*.1* | |
d85b82c8 | 69 | |
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
01990541 JB |
72 | %{_includedir}/*.h |
73 | %{_includedir}/dino-* |