Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > b7bcd4a8fe95e3990c2c8fbc5df1c194 > files > 2

tmake-2.12-2mdv2007.1.src.rpm

# Templates avec #! Use ... template as shebang
%define	_requires_exceptions ^Use$

Summary:	Easy-to-use tool for creating and maintaining portable makefiles
Name:		tmake
Version:	2.12
Release:	%mkrel 2
Group:		Development/Other
License:	Distributable (see LICENSE file)
URL:		http://tmake.sourceforge.net
Source0:	http://heanet.dl.sourceforge.net/sourceforge/tmake/%name-%version.tar.bz2
Requires:	perl
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:	noarch

%description
Tmake is an easy-to-use tool for creating and maintaining makefiles across
many platforms and compilers. This is a command-line tool based on project
files. The idea is that you should spend your time writing code, not
makefiles.

%prep
%setup -q

%install
rm -rf $RPM_BUILD_ROOT
install -d %buildroot%_libdir/%name
install -d %buildroot%_bindir

cp -R lib %buildroot%_libdir/%name
install bin/%name %buildroot%_libdir/%name
install bin/progen %buildroot%_libdir/%name
cat > %buildroot%_bindir/%name <<EOF
export TMAKEPATH=%_libdir/%name/lib/linux-g++
exec %_libdir/%name/tmake "\$@"
EOF
cat > %buildroot%_bindir/progen <<EOF
export TMAKEPATH=%_libdir/%name/lib/linux-g++
exec %_libdir/%name/progen "\$@"
EOF

%clean
rm -rf %buildroot

%files
%defattr(755, root, root)
%doc README LICENSE
%doc doc example
%_libdir/tmake
%_bindir/tmake
%_bindir/progen



%changelog
* Sat Jan 06 2007 Pascal Terjan <pterjan@mandriva.org> 2.12-2mdv2007.0
+ Revision: 104789
- Don't require 'Use' which does not exist...

* Fri Dec 01 2006 Nicolas Lécureuil <neoclust@mandriva.org> 2.12-1mdv2007.1
+ Revision: 89610
- New version 2.12
- import tmake-1.13-1mdk


* Thu Nov 18 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.13-1mdk
- 1.13

* Wed Jul 23 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.10-2mdk
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install
- drop Prefix tag

* Thu Jan 16 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.10-1mdk
- from Quel Qun <kelk1@hotmail.com> :
	- Release 1.10
	- Added progen in the file list.

* Tue Dec 24 2002 Stefan van der Eijk <stefan@eijk.nu> 1.8-1mdk
- fix Buildroot
- 1.8
- Copyright --> License

* Wed Dec 27 2000 Gregory Letoquart <gletoquart@mandrakesoft.com> 1.7-2mdk
- Rebuilb after six month

* Wed Dec 27 2000 Gregory Letoquart <gletoquart@mandrakesoft.com> 1.7-1mdk
- up to 1.7.

* Wed Dec 06 2000 Gregory Letoquart <gletoquart@mandrakesoft.com> 1.6-1mdk
- up to 1.6.

* Thu Sep 07 2000 Enzo Maggi <enzo@mandrakesoft.com> 1.5-3mdk
- fixed a bug in the launching script

* Thu Aug 31 2000 Enzo Maggi <enzo@mandrakesoft.com> 1.5-2mdk
- minor fixes in the spec

* Tue Aug 29 2000 Enzo Maggi <enzo@mandrakesoft.com> 1.5-1mdk
- packaged 1.5

* Tue Jun 20 2000 Enzo Maggi <enzo@mandrakesoft.com> 1.4-1mdk
- packaged version 1.4