1 Summary: The Cyclone compiler
2 Summary(pl): Kompilator jêzyka Cyclone
7 Group: Development/Languages
8 Source0: http://www.cs.cornell.edu/projects/%{name}/%{name}-%{version}.tar.gz
9 Source1: http://www.cs.cornell.edu/projects/%{name}-%{version}-docs.tar.gz
10 Patch0: %{name}-DESTDIR.patch
11 Patch1: %{name}-options.patch
12 URL: http://www.cs.cornell.edu/projects/cyclone/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Cyclone is a language for C programmers who want to write secure,
17 robust programs. It's a dialect of C designed to be safe: free of
18 crashes, buffer overflows, format string attacks, and so on.
21 Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne
22 i szybkie programy. Jest on dialektem C zaprojektowanym by byæ
23 bezpiecznym: wolnym od SEGV, przepe³nieñ buforów, format string
27 %setup -q -n %{name} -a1
35 -libdir %{_libdir}/%{name} \
36 -incdir %{_includedir}/%{name}
41 # hack, there is no doc/ in source distribution
43 echo 'clean:' > doc/Makefile
45 # here we got C sources generated from patched cyclone,
46 # we can build for real.
47 %{__make} CFLAGS="%{rpmcflags}" CYC_FLAGS="%{rpmcflags}"
50 rm -rf $RPM_BUILD_ROOT
52 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755, root, root) %{_bindir}/*
62 %{_includedir}/%{name}