1 Summary: The Cyclone compiler
2 Summary(pl): Kompilator jêzyka Cyclone
7 Group: Development/Languages
8 Source0: http://www.eecs.harvard.edu/~greg/cyclone/software/%{name}-%{version}.tar.gz
9 # Source0-md5: 20d2177e8bc432831fbdaa10aca462ee
10 Source1: http://www.eecs.harvard.edu/~greg/cyclone/software/%{name}-%{version}-docs.tar.gz
11 # Source1-md5: a3e557032b3444613089894a0e11dff7
12 Patch0: %{name}-DESTDIR.patch
13 Patch1: %{name}-options.patch
14 URL: http://www.eecs.harvard.edu/~greg/cyclone/
15 BuildRequires: automake
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Cyclone is a language for C programmers who want to write secure,
20 robust programs. It's a dialect of C designed to be safe: free of
21 crashes, buffer overflows, format string attacks, and so on.
24 Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne
25 i szybkie programy. Jest on dialektem C zaprojektowanym by byæ
26 bezpiecznym: wolnym od SEGV, przepe³nieñ buforów, format string
30 %setup -q -n %{name}-%{version}-%{version} -a1
35 cp -f /usr/share/automake/config.* config
37 LDFLAGS="%{rpmldflags}"
43 # hack, there is no doc/ in source distribution
45 echo 'clean:' > doc/Makefile
47 # here we got C sources generated from patched cyclone,
48 # we can build for real.
50 CFLAGS="%{rpmcflags}" \
51 CYC_FLAGS="%{rpmcflags}"
54 rm -rf $RPM_BUILD_ROOT
57 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}