[svn] r5071 - in trunk/rpms: . tcc

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sun Jan 14 23:08:04 CET 2007


Author: dries
Date: 2007-01-14 23:07:56 +0100 (Sun, 14 Jan 2007)
New Revision: 5071

Added:
   trunk/rpms/tcc/
   trunk/rpms/tcc/tcc.spec
Log:
add

Added: trunk/rpms/tcc/tcc.spec
===================================================================
--- trunk/rpms/tcc/tcc.spec	                        (rev 0)
+++ trunk/rpms/tcc/tcc.spec	2007-01-14 22:07:56 UTC (rev 5071)
@@ -0,0 +1,64 @@
+# $Id$
+# Authority: dries
+# Upstream: Fabrice Bellard <fabrice,bellard$free,fr>
+
+Summary: Tiny C Compiler
+Name: tcc
+Version: 0.9.23
+Release: 1
+License: GPL
+Group: Development/Compilers
+URL: http://fabrice.bellard.free.fr/tcc/
+
+Source: http://fabrice.bellard.free.fr/tcc/tcc-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+%description
+TCC (Tiny C Compiler) is small, fast, unlimited, and safe. You can compile and 
+execute C code everywhere (e.g., on rescue disks). It generates optimized x86 
+code, and can compile, assemble, and link several times faster than 'gcc -O0'. 
+Any C dynamic library can be used directly. It includes an optional memory and 
+bounds checker, and bounds-checked code can be mixed freely with standard code. 
+C script is also supported--just add '#!/usr/bin/tcc' at the first line of your 
+C source, and execute it directly from the command line.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall tccdir=%{buildroot}%{_libdir}/tcc docdir=%{buildroot}%{_datadir}/doc/tcc
+%{__mv} %{buildroot}%{_datadir}/doc/tcc rpm-docs
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING README TODO rpm-docs/*
+%doc %{_mandir}/man1/tcc.1*
+%{_bindir}/tcc
+%{_libdir}/tcc/
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/libtcc.h
+%{_libdir}/libtcc.a
+
+%changelog
+* Sun Jan 14 2007 Dries Verachtert <dries at ulyssis.org> - 0.9.23-1
+- Initial package.



More information about the svn-commits mailing list