]> git.pld-linux.org Git - packages/cyclone.git/blame - cyclone.spec
- tabs in preamble
[packages/cyclone.git] / cyclone.spec
CommitLineData
d18dd36a 1Summary: The Cyclone compiler
13b45801 2Summary(pl.UTF-8): Kompilator języka Cyclone
d18dd36a 3Name: cyclone
c3d2884d
TP
4Version: 0.5
5Release: 0.1
d18dd36a 6License: GPL
d18dd36a 7Group: Development/Languages
d81bc29a 8Source0: http://www.eecs.harvard.edu/~greg/cyclone/software/%{name}-%{version}.tar.gz
c3d2884d 9# Source0-md5: 20d2177e8bc432831fbdaa10aca462ee
d81bc29a 10Source1: http://www.eecs.harvard.edu/~greg/cyclone/software/%{name}-%{version}-docs.tar.gz
c3d2884d 11# Source1-md5: a3e557032b3444613089894a0e11dff7
d18dd36a
MM
12Patch0: %{name}-DESTDIR.patch
13Patch1: %{name}-options.patch
995466d9 14URL: http://www.eecs.harvard.edu/~greg/cyclone/
1cfaefe4 15BuildRequires: automake
d18dd36a
MM
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
faac78e4 19Cyclone is a language for C programmers who want to write secure,
20robust programs. It's a dialect of C designed to be safe: free of
21crashes, buffer overflows, format string attacks, and so on.
d18dd36a 22
c82dab68
JR
23%description -l pl.UTF-8
24Cyclone jest językiem dla programistów C, którzy chcą pisać bezpieczne
25i szybkie programy. Jest on dialektem C zaprojektowanym by być
26bezpiecznym: wolnym od SEGV, przepełnień buforów, format string
faac78e4 27attacks, itd.
d18dd36a
MM
28
29%prep
c3d2884d 30%setup -q -n %{name}-%{version}-%{version} -a1
d18dd36a 31%patch0 -p1
c3d2884d 32#%patch1 -p1
d18dd36a
MM
33
34%build
1cfaefe4 35cp -f /usr/share/automake/config.* config
c3d2884d
TP
36CFLAGS="%{rpmcflags}"
37LDFLAGS="%{rpmldflags}"
38%configure
d18dd36a
MM
39
40%{__make}
41%{__make} cyclone_src
42%{__make} update
43# hack, there is no doc/ in source distribution
44mkdir doc
45echo 'clean:' > doc/Makefile
46%{__make} clean_nogc
47# here we got C sources generated from patched cyclone,
48# we can build for real.
f9594e2e
JB
49%{__make} \
50 CFLAGS="%{rpmcflags}" \
51 CYC_FLAGS="%{rpmcflags}"
d18dd36a
MM
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
3da71333
PG
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
d18dd36a 58
d18dd36a
MM
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
54855fb4 64%doc online-manual/*
041d3211 65%attr(755,root,root) %{_bindir}/*
d18dd36a
MM
66%{_libdir}/%{name}
67%{_includedir}/%{name}
This page took 0.087766 seconds and 4 git commands to generate.