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