- release 2
[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
5 Name:           aumix-gtk
6 Version:        2.6.1
7 Release:        2
8 License:        GPL
9 Group:          Applications/Sound
10 Group(pl):      Aplikacje/D¼wiêk
11 Source0:        http://www.jpj.net/~trevor/aumix/aumix-%{version}.tar.gz
12 Source2:        aumix.desktop
13 Patch0:         aumix-home_etc.patch
14 Patch1:         aumix-xaumix.patch
15 URL:            http://www.jpj.net/~trevor/aumix.html
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRequires:  gpm-devel
20 BuildRequires:  gettext-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Provides:       aumix
23 Obsoletes:      aumix
24
25 %define         _prefix         /usr/X11R6
26 %define         _manpath        %{_prefix}/man
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
51 %build
52 automake
53 autoconf
54 gettextize --copy --force
55
56 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
57 LDFLAGS="-s"
58 export CFLAGS LDFLAGS
59 %configure
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_applnkdir}/Multimedia \
66         $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps} \
67         $RPM_BUILD_ROOT/etc/rc.d/init.d
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 mv $RPM_BUILD_ROOT%{_datadir}/aumix/*xpm \
72 $RPM_BUILD_ROOT%{_datadir}/pixmaps
73
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
75
76 touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
77
78 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
79         AUTHORS BUGS ChangeLog NEWS README 
80
81 %find_lang aumix
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files -f aumix.lang
87 %defattr(644,root,root,755)
88 %config(noreplace,missingok) %{_sysconfdir}/aumixrc
89 %doc {AUTHORS,BUGS,ChangeLog,NEWS,README}.gz
90
91 %attr(755,root,root) %{_bindir}/aumix
92
93 %{_datadir}/pixmaps/*.xpm
94 %{_applnkdir}/Multimedia/aumix.desktop
95
96 %{_datadir}/aumix
97 %{_mandir}/man1/*
This page took 0.101563 seconds and 3 git commands to generate.