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, robust
17 programs. It's a dialect of C designed to be safe: free of crashes,
18 buffer overflows, format string attacks, and so on.
21 Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne i
22 szybkie programy. Jest on dialektem C zaprojektowanym by byæ bezpiecznym:
23 wolnym od SEGV, przepe³nieñ buforów, format string attacks, itd.
26 %setup -q -n %{name} -a1
34 -libdir %{_libdir}/%{name} \
35 -incdir %{_includedir}/%{name}
40 # hack, there is no doc/ in source distribution
42 echo 'clean:' > doc/Makefile
44 # here we got C sources generated from patched cyclone,
45 # we can build for real.
46 %{__make} CFLAGS="%{rpmcflags}" CYC_FLAGS="%{rpmcflags}"
49 rm -rf $RPM_BUILD_ROOT
51 make install DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %attr(755, root, root) %{_bindir}/*
61 %{_includedir}/%{name}