Summary(uk): áÕÄ¦Ï Í¦ËÛÅÒ, ÂÁÚÏ×ÁÎÉÊ ÎÁ ¦ÂÌÉÏÔÅæ curses
Name: aumix
Version: 2.7
-Release: 9
+Release: 11
License: GPL
Group: Applications/Sound
Source0: http://www.jpj.net/~trevor/aumix/%{name}-%{version}.tar.gz
Source1: %{name}.init
Source2: %{name}.sysconfig
-Source3: x%{name}.desktop
+Source3: %{name}.desktop
+Source4: %{name}.png
Patch0: %{name}-home_etc.patch
Patch1: %{name}-x%{name}.patch
Patch2: %{name}-ac250.patch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: aumix-gtk
Obsoletes: aumix-X11
-
-%define _xbindir /usr/X11R6/bin
-%define _xdatadir /usr/X11R6/share
-%define _xmandir /usr/X11R6/man
+Conflicts: aumix-gtk
%description
This program provides a tty-based, interactive method of controlling a
%build
rm -f missing acinclude.m4
-gettextize --copy --force
-aclocal
-autoconf
-automake -a -c -f
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
-CPPFLAGS="-I%{_includedir}/ncurses" \
+CPPFLAGS="-I/usr/include/ncurses" \
%configure \
+ --with-ncurses \
--without-gtk
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}} \
- $RPM_BUILD_ROOT{%{_xbindir},%{_xmandir}/man1} \
+ $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
$RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-mv -f $RPM_BUILD_ROOT%{_bindir}/xaumix $RPM_BUILD_ROOT%{_xbindir}
-mv -f $RPM_BUILD_ROOT%{_mandir}/man1/xaumix* $RPM_BUILD_ROOT%{_xmandir}/man1
-mv -f $RPM_BUILD_ROOT%{_datadir}/aumix/*xpm $RPM_BUILD_ROOT%{_pixmapsdir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/aumix
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/aumix
install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
+install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
-gzip -9nf AUTHORS BUGS ChangeLog NEWS README TODO
-
%find_lang %{name}
%clean
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc {AUTHORS,BUGS,ChangeLog,NEWS,README,TODO}.gz
+%doc AUTHORS BUGS ChangeLog NEWS README TODO
%config(noreplace,missingok) %verify(not size mtime md5) %{_sysconfdir}/aumixrc
%attr(755,root,root) %{_bindir}/aumix
%{_mandir}/man1/*
%{_datadir}/aumix
-%attr(755,root,root) %{_xbindir}/xaumix
-%{_xmandir}/man1/*
-%{_pixmapsdir}/*.xpm
-%{_applnkdir}/Multimedia/xaumix.desktop
+%{_pixmapsdir}/*.png
+%{_applnkdir}/Multimedia/aumix.desktop
%files OSS-preserve-settings
%defattr(644,root,root,755)