# TODO: revise packaging? Summary: COCOM tool set Summary(pl.UTF-8): Zestaw narzędzi COCOM Name: cocom Version: 0.996 Release: 0.2 License: GPL Group: Development/Languages Source0: http://dl.sourceforge.net/cocom/%{name}-%{version}.tar.gz # Source0-md5: c95c5504fd76f4e05c4155ed840cc756 URL: http://cocom.sourceforge.net/ BuildRequires: autoconf BuildRequires: bison BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is COCOM tool set (Russian Armoury) oriented onto the creation of compilers, cross-compilers, interpreters, and other language processors. The distribution also contains interpreter of language DINO as an example of the tool set usage. The tool set is aimed to use on Unixes of different flavors. COCOM also has been ported also into WIN32 environment. %description -l pl.UTF-8 To jest zestaw narzędzi COCOM (arsenał rosyjski), zorientowany na tworzenie kompilatorów, kompilatorów skrośnych, interpreterów i innych procesorów języków. Pakiet zawiera także interpreter języka DINO jako przykład użycia tego zestawu narzędzi. Narzędzia są przeznaczone do używania na różnych uniksach, ale zostały sportowane także do środowiska Win32. %package devel Summary: COCOM header files Summary(pl.UTF-8): Pliki nagłówkowe COCOM Group: Development/Languages Requires: %{name} = %{version}-%{release} %description devel COCOM header files. %description devel -l pl.UTF-8 Pliki nagłówkowe COCOM. %prep %setup -q %build cd REGEX %{__autoconf} cd .. %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGES README cocom.html cocom.txt %attr(755,root,root) %{_bindir}/* %{_libdir}/libcocom*.a %{_libdir}/*.sprut %dir %{_libdir}/dino-* %attr(755,root,root) %{_libdir}/dino-*/*.so %{_libdir}/dino-*/lib*.a %{_libdir}/dino-*/*.d %{_mandir}/man1/*.1* %files devel %defattr(644,root,root,755) %{_includedir}/*.h %{_includedir}/dino-*