Summary(pl): Mikser audio bazuj±cy na curses i Gtk+
Name: aumix-gtk
Version: 2.7
-Release: 2
+Release: 5
License: GPL
Group: Applications/Sound
-Group(de): Applikationen/Laut
-Group(pl): Aplikacje/D¼wiêk
Source0: http://www.jpj.net/~trevor/aumix/aumix-%{version}.tar.gz
+# Source0-md5: 84ecc331bf6d86d3ac925590fee83af7
Source2: aumix.desktop
Patch0: aumix-home_etc.patch
Patch1: aumix-xaumix.patch
+Patch2: aumix-ac250.patch
URL: http://www.jpj.net/~trevor/aumix.html
BuildRequires: autoconf
BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Provides: aumix
Obsoletes: aumix
+Conflicts: aumix
-%define _prefix /usr/X11R6
-%define _manpath %{_prefix}/man
%description
This program provides a tty- and X11/Gtk-based, interactive method of
%setup -q -n aumix-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
-rm -rf missing
-gettextize --copy --force
-aclocal
-autoconf
-automake -a -c
+rm -rf missing acinclude.m4
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
-CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+CPPFLAGS="-I/usr/include/ncurses" \
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}} \
- $RPM_BUILD_ROOT{%{_bindir},/etc/rc.d/init.d}
+ $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
-gzip -9nf AUTHORS BUGS ChangeLog NEWS README TODO
-
%find_lang aumix
%clean
%files -f aumix.lang
%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog NEWS README TODO
%config(noreplace,missingok) %verify(not size mtime md5) %{_sysconfdir}/aumixrc
-%doc *.gz
%attr(755,root,root) %{_bindir}/aumix