]> git.pld-linux.org Git - packages/aumix.git/blobdiff - aumix.spec
- changes for make aumix only ncurses capable.
[packages/aumix.git] / aumix.spec
index 208afbf4ae73398383d36ac1d268bce12c0508a7..5e1e6cd7b8ecfc7f25a23f3af896cb2e8b7e3e57 100644 (file)
@@ -10,13 +10,14 @@ Summary(ru):        
 Summary(uk):   áÕĦϠͦËÛÅÒ, ÂÁÚÏ×ÁÎÉÊ ÎÁ Â¦ÂÌÉÏÔÅæ curses
 Name:          aumix
 Version:       2.7
-Release:       10
+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
@@ -31,10 +32,6 @@ Obsoletes:   aumix-gtk
 Obsoletes:     aumix-X11
 Conflicts:     aumix-gtk
 
-%define                _xbindir        /usr/X11R6/bin
-%define                _xdatadir       /usr/X11R6/share
-%define                _xmandir        /usr/X11R6/man
-
 %description
 This program provides a tty-based, interactive method of controlling a
 sound card's mixer. It lets you adjust the input levels from the CD,
@@ -114,12 +111,13 @@ systemu.
 %build
 rm -f missing acinclude.m4
 %{__gettextize}
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 
-CPPFLAGS="-I%{_includedir}/ncurses" \
+CPPFLAGS="-I/usr/include/ncurses" \
 %configure \
+       --with-ncurses \
        --without-gtk
 
 %{__make}
@@ -127,23 +125,19 @@ CPPFLAGS="-I%{_includedir}/ncurses" \
 %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
@@ -167,17 +161,15 @@ fi
 
 %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)
This page took 0.028248 seconds and 4 git commands to generate.