Name:         @NAME@
License:      GPL
Group:        Productivity/Scientific
Autoreqprov:  off
Version:      @VER@
Release:      @REL@
Summary:      This is @NAME@
Source:       %{name}-%{version}.tar.bz2
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%if "%{_vendor}" == "suse"
%if "%{suse_version}" >= "1030"
Requires: perl autoconf automake libtool
BuildRequires: perl > 5.0 autoconf automake libtool
%else
Requires: perl > 5.0
BuildRequires: perl > 5.0
%endif
%endif

%if "%{_vendor}" == "redhat"
Requires: perl > 5.0 autoconf automake libtool
BuildRequires: perl > 5.0 
%endif


%description
bau and the GNU tools Autoconf, Automake and Libtool are packages for making your software more portable and to simplify building it -- usually on someone else's system. Hardware constraints may change, the choice of platform and tools that make building software easier and less error prone are valuable.


Authors:
--------
        Florian Briegel <briegel@mpia.de>


%prep 

%setup 


%build

export INSROOT=@PREFIX@
make -f Makefile.cvs
./configure \
            --prefix=@PREFIX@ 
make

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post

%postun

%files
%defattr(-,root,root)
@PREFIX@
#%_mandir


%changelog -n @NAME@
* Tue Dec 1 2007 - briegel@mpia.de 
- new neubau created
