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