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 # Source0-md5: f27081a442bff470f9e477e5d017d2d9
10 Source1: http://www.cs.cornell.edu/projects/%{name}-%{version}-docs.tar.gz
11 # Source1-md5: 395c1b64bee877a69c314cf33fda1a1e
12 Patch0: %{name}-DESTDIR.patch
13 Patch1: %{name}-options.patch
14 URL: http://www.cs.cornell.edu/projects/cyclone/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Cyclone is a language for C programmers who want to write secure,
19 robust programs. It's a dialect of C designed to be safe: free of
20 crashes, buffer overflows, format string attacks, and so on.
23 Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne
24 i szybkie programy. Jest on dialektem C zaprojektowanym by byæ
25 bezpiecznym: wolnym od SEGV, przepe³nieñ buforów, format string
29 %setup -q -n %{name} -a1
40 -libdir %{_libdir}/%{name} \
41 -incdir %{_includedir}/%{name}
46 # hack, there is no doc/ in source distribution
48 echo 'clean:' > doc/Makefile
50 # here we got C sources generated from patched cyclone,
51 # we can build for real.
52 %{__make} CFLAGS="%{rpmcflags}" CYC_FLAGS="%{rpmcflags}"
55 rm -rf $RPM_BUILD_ROOT
57 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755, root, root) %{_bindir}/*
67 %{_includedir}/%{name}