3 %bcond_without x # don't build X11 version
5 Summary: The Unified Extended Dialect of Icon
6 Summary(pl.UTF-8): Rozbudowana wersja języka Icon
13 Group: Development/Languages
14 Source0: http://unicon.sourceforge.net/dist/uni.zip
15 # Source0-md5: e089da57b8c796dcf1fa3441f2e35bfe
16 Patch0: %{name}-makefile.patch
17 URL: http://unicon.sourceforge.net/
20 ExclusiveArch: %{ix86} alpha
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Unicon is a very high level, goal-directed, object-oriented, general purpose
25 applications language.
27 %description -l pl.UTF-8
28 Unicon jest objektowym językiem programowania ogólnego zastosowania bardzo
39 %{__make} %{?with_x:X-}Configure name=intel_linux
42 %{__make} %{?with_x:X-}Configure name=alpha_linux
45 %{__make} Unicon CC="%{__cc}"
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/unicon/{bin,ipl,uni}}
50 %{__make} Install dest=$RPM_BUILD_ROOT%{_libdir}/unicon/
52 for f in icont iconx ivib patchstr ui unicon
54 mv $RPM_BUILD_ROOT%{_libdir}/unicon/bin/$f $RPM_BUILD_ROOT%{_bindir}/$f
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*
64 %dir %{_libdir}/unicon
65 %dir %{_libdir}/unicon/bin
66 %{_libdir}/unicon/bin/lib*