%define name tcc %define version 0.9.20 %define release 1mdk Summary: Tiny C Compiler Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/C URL: http://fabrice.bellard.free.fr/tcc/ Source0: http://fabrice.bellard.free.fr/tcc/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Tiny C Compiler - C Scripting Everywhere - The Smallest ANSI C compiler %prep %setup -q %build %configure make #make test %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_includedir} install -d %{buildroot}%{_mandir}/man1 %makeinstall %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc Changelog README TODO %defattr(-,root,root) %{_bindir}/tcc %{_libdir}/tcc/*.o %{_libdir}/tcc/include/*.h %{_libdir}/tcc/*.a %{_libdir}/*.a %{_includedir}/*.h %{_mandir}/man1/tcc.1* %changelog * Fri Apr 23 2004 Michael Scherer <misc@mandrake.org> 0.9.20-1mdk - New release 0.9.20 * Tue Apr 29 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.9.18-1mdk - initial cooker contrib