-%define _pre pre2
+%define _pre pre5
Summary: Replayer for old amiga music file formats
Summary(pl): Odtwarzacz starych amigowych plików muzycznych
Name: uade
License: GPL
Group: Applications/Sound
Source0: http://www.ee.tut.fi/~heikki/uade/pre/%{name}-%{version}-%{_pre}.tar.bz2
+# Source0-md5: 33c9d566d5e31e967b90952edf6a11e2
URL: http://www.ee.tut.fi/~heikki/uade.html
BuildRequires: gtk+-devel
BuildRequires: libtool
--input-plugin-dir=%{_libdir} \
--with-sdl
-#%%configure --prefix=%{_prefix}
-#cd plugindir
-#cat Makefile | sed 's@PLUGINDIR = @&$(DESTDIR)@' > Makefile.new
-#mv -f Makefile.new Makefile
-#cd ..
-#cat Makefile | sed 's@SYSDATADIR = @&$(DESTDIR)@' > Makefile.new
-#cat Makefile.new | sed 's@BINDIR = @&$(DESTDIR)@;s@DOCDIR = @&$(DESTDIR)@' > Makefile
-
%{__make} \
- CC="%{__cc}"
-# LDFLAGS="%{rpmldflags}" \
-# CFLAGS="%{rpmcflags} -DGCCCONSTFUNC=\"__attribute__((const))\" -DREGPARAM= -D__inline__=inline -DVERSION=\\\"%{version}\\\"" \
-# SDLLIBS="%(sdl-config --libs)" \
-# SDLLFLAGS="%(sdl-config --cflags)"
+ CC="%{__cc}" \
+ LIBTOOL="libtool --tag=dupa"
%install
rm -rf $RPM_BUILD_ROOT