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