]> git.pld-linux.org Git - packages/aumix-gtk.git/blob - aumix-gtk.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[packages/aumix-gtk.git] / aumix-gtk.spec
1 # NOTE:         Please keep in sync with aumix.
2 Summary:        curses and X11/Gtk ased audio mixer
3 Summary(de):    Audio-Mixer auf curses- und X11/Gtk-Basis
4 Summary(pl):    Mikser audio bazuj±cy na curses i Gtk+
5 Name:           aumix-gtk
6 Version:        2.7
7 Release:        3
8 License:        GPL
9 Group:          Applications/Sound
10 Source0:        http://www.jpj.net/~trevor/aumix/aumix-%{version}.tar.gz
11 Source2:        aumix.desktop
12 Patch0:         aumix-home_etc.patch
13 Patch1:         aumix-xaumix.patch
14 Patch2:         aumix-ac250.patch
15 URL:            http://www.jpj.net/~trevor/aumix.html
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  ncurses-devel >= 5.0
20 BuildRequires:  gpm-devel
21 BuildRequires:  gettext-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Provides:       aumix
24 Obsoletes:      aumix
25
26 %define         _prefix         /usr/X11R6
27 %define         _manpath        %{_prefix}/man
28
29 %description
30 This program provides a tty- and X11/Gtk-based, interactive method of
31 controlling a sound card's mixer. It lets you adjust the input levels
32 from the CD, microphone, and onboard synthesizers as well as the
33 output volume.
34
35 %description -l de
36 Dieses Programm bietet eine interaktive Methode auf tty- und
37 X11/Gtk-Basis zur Steuerung eines Soundkarten-Mixers. Sie können damit
38 die Eingangspegel der CD, des Mikrophons und von Synthesizer-Karten
39 sowie auch die Ausgabelautstärke regeln.
40
41 %description -l pl
42 Ten program przynosi bazuj±c± na tty oraz X11/Gtk, interaktywn± metodê
43 kontrolowania miksera karty d¼wiêkowej. aumix pozwala zmieniaæ poziom
44 sygna³u nadchodz±cego z CD, mikrofonu i syntetyzerów tak samo jak
45 poziom sygna³u wyj¶ciowego.
46
47 %prep
48 %setup -q -n aumix-%{version}
49 %patch0 -p1
50 %patch1 -p1
51 %patch2 -p1
52
53 %build
54 rm -rf missing acinclude.m4
55 gettextize --copy --force
56 aclocal
57 autoconf
58 automake -a -c -f
59
60 CPPFLAGS="-I/usr/include/ncurses" \
61 %configure
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}} \
68         $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
69
70 %{__make} install DESTDIR=$RPM_BUILD_ROOT
71
72 mv -f $RPM_BUILD_ROOT%{_datadir}/aumix/*xpm $RPM_BUILD_ROOT%{_pixmapsdir}
73
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
75
76 touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
77
78 gzip -9nf AUTHORS BUGS ChangeLog NEWS README TODO
79
80 %find_lang aumix
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f aumix.lang
86 %defattr(644,root,root,755)
87 %config(noreplace,missingok) %verify(not size mtime md5) %{_sysconfdir}/aumixrc
88 %doc *.gz
89
90 %attr(755,root,root) %{_bindir}/aumix
91
92 %{_pixmapsdir}/*.xpm
93 %{_applnkdir}/Multimedia/aumix.desktop
94
95 %{_datadir}/aumix
96 %{_mandir}/man1/*
This page took 0.07095 seconds and 3 git commands to generate.