]> git.pld-linux.org Git - packages/cyclone.git/blobdiff - cyclone.spec
- more TODO: check filelisting and nogc stuff
[packages/cyclone.git] / cyclone.spec
index 0bb0d86bca2791c689e923cb0278a0fcd67c4982..db2af8038f1d268b13b9c3f5f43ef48ea4ddaf3f 100644 (file)
@@ -1,40 +1,39 @@
 Summary:       The Cyclone compiler
 Summary(pl):   Kompilator jêzyka Cyclone
 Name:          cyclone
-Version:       0.2
-Release:       1
+Version:       0.5
+Release:       0.1
 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
-Source1:       http://www.cs.cornell.edu/projects/%{name}-%{version}-docs.tar.gz
+Source0:       http://www.cs.cornell.edu/projects/cyclone/software/%{name}-%{version}.tar.gz
+# Source0-md5: 20d2177e8bc432831fbdaa10aca462ee
+Source1:       http://www.cs.cornell.edu/projects/cyclone/software/%{name}-%{version}-docs.tar.gz
+# Source1-md5: a3e557032b3444613089894a0e11dff7
 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
+%setup -q -n %{name}-%{version}-%{version} -a1
 %patch0 -p1
-%patch1 -p1
+#%patch1 -p1
 
 %build
-./configure \
-       -sh /bin/sh \
-       -bindir %{_bindir} \
-       -libdir %{_libdir}/%{name} \
-       -incdir %{_includedir}/%{name} 
+CFLAGS="%{rpmcflags}"
+LDFLAGS="%{rpmldflags}"
+%configure
 
 %{__make}
 %{__make} cyclone_src
@@ -50,7 +49,8 @@ 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
@@ -58,6 +58,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc online-manual/*
-%attr(755, root, root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/*
 %{_libdir}/%{name}
 %{_includedir}/%{name}
This page took 0.056308 seconds and 4 git commands to generate.