]> git.pld-linux.org Git - packages/aumix-gtk.git/blob - aumix-gtk.spec
- removed two lines with define
[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:        5
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 Conflicts:      aumix
26
27
28 %description
29 This program provides a tty- and X11/Gtk-based, interactive method of
30 controlling a sound card's mixer. It lets you adjust the input levels
31 from the CD, microphone, and onboard synthesizers as well as the
32 output volume.
33
34 %description -l de
35 Dieses Programm bietet eine interaktive Methode auf tty- und
36 X11/Gtk-Basis zur Steuerung eines Soundkarten-Mixers. Sie können damit
37 die Eingangspegel der CD, des Mikrophons und von Synthesizer-Karten
38 sowie auch die Ausgabelautstärke regeln.
39
40 %description -l pl
41 Ten program przynosi bazuj±c± na tty oraz X11/Gtk, interaktywn± metodê
42 kontrolowania miksera karty d¼wiêkowej. aumix pozwala zmieniaæ poziom
43 sygna³u nadchodz±cego z CD, mikrofonu i syntetyzerów tak samo jak
44 poziom sygna³u wyj¶ciowego.
45
46 %prep
47 %setup -q -n aumix-%{version}
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51
52 %build
53 rm -rf missing acinclude.m4
54 %{__gettextize}
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58
59 CPPFLAGS="-I/usr/include/ncurses" \
60 %configure
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}} \
67         $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 mv -f $RPM_BUILD_ROOT%{_datadir}/aumix/*xpm $RPM_BUILD_ROOT%{_pixmapsdir}
72
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
74
75 touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
76
77 %find_lang aumix
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f aumix.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS BUGS ChangeLog NEWS README TODO
85 %config(noreplace,missingok) %verify(not size mtime md5) %{_sysconfdir}/aumixrc
86
87 %attr(755,root,root) %{_bindir}/aumix
88
89 %{_pixmapsdir}/*.xpm
90 %{_applnkdir}/Multimedia/aumix.desktop
91
92 %{_datadir}/aumix
93 %{_mandir}/man1/*
This page took 0.049362 seconds and 3 git commands to generate.