X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcyclone.git;a=blobdiff_plain;f=cyclone.spec;h=56d41d5202ec5634a132da4b75c6c118055ba6bd;hp=0bb0d86bca2791c689e923cb0278a0fcd67c4982;hb=8f56c3e4722566ddd6439fb5c154ea68d8e298c1;hpb=7704f5bdb3ccd3f8dea7c3eb457e7f38709a2249 diff --git a/cyclone.spec b/cyclone.spec index 0bb0d86..56d41d5 100644 --- a/cyclone.spec +++ b/cyclone.spec @@ -2,27 +2,28 @@ Summary: The Cyclone compiler Summary(pl): Kompilator jêzyka Cyclone Name: cyclone Version: 0.2 -Release: 1 +Release: 2 License: GPL Group: Development/Languages -Group(de): Entwicklung/Sprachen -Group(pl): Programowanie/Jêzyki Source0: http://www.cs.cornell.edu/projects/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: f27081a442bff470f9e477e5d017d2d9 Source1: http://www.cs.cornell.edu/projects/%{name}-%{version}-docs.tar.gz +# Source1-md5: 395c1b64bee877a69c314cf33fda1a1e Patch0: %{name}-DESTDIR.patch Patch1: %{name}-options.patch URL: http://www.cs.cornell.edu/projects/cyclone/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -Cyclone is a language for C programmers who want to write secure, robust -programs. It's a dialect of C designed to be safe: free of crashes, -buffer overflows, format string attacks, and so on. +Cyclone is a language for C programmers who want to write secure, +robust programs. It's a dialect of C designed to be safe: free of +crashes, buffer overflows, format string attacks, and so on. %description -l pl -Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne i -szybkie programy. Jest on dialektem C zaprojektowanym by byæ bezpiecznym: -wolnym od SEGV, przepe³nieñ buforów, format string attacks, itd. +Cyclone jest jêzykiem dla programistów C, którzy chc± pisaæ bezpieczne +i szybkie programy. Jest on dialektem C zaprojektowanym by byæ +bezpiecznym: wolnym od SEGV, przepe³nieñ buforów, format string +attacks, itd. %prep %setup -q -n %{name} -a1 @@ -30,11 +31,14 @@ wolnym od SEGV, przepe %patch1 -p1 %build +%ifarch ppc +echo "y" | \ +%endif ./configure \ -sh /bin/sh \ -bindir %{_bindir} \ -libdir %{_libdir}/%{name} \ - -incdir %{_includedir}/%{name} + -incdir %{_includedir}/%{name} %{__make} %{__make} cyclone_src @@ -50,7 +54,7 @@ echo 'clean:' > doc/Makefile %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT