]> git.pld-linux.org Git - packages/aumix.git/blobdiff - aumix.spec
- changes for make aumix only ncurses capable.
[packages/aumix.git] / aumix.spec
index 4afd374061631f754d880eae1619b1399a9479a1..5e1e6cd7b8ecfc7f25a23f3af896cb2e8b7e3e57 100644 (file)
@@ -10,13 +10,14 @@ Summary(ru):        
 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
@@ -29,10 +30,7 @@ BuildRequires:       ncurses-devel >= 5.0
 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
@@ -112,13 +110,14 @@ systemu.
 
 %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}
@@ -126,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
@@ -166,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.070762 seconds and 4 git commands to generate.