]> git.pld-linux.org Git - packages/aumix-gtk.git/blob - aumix-gtk.spec
- cosmetics
[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:        2
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 URL:            http://www.jpj.net/~trevor/aumix.html
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+-devel >= 1.2.0
20 BuildRequires:  ncurses-devel >= 5.0
21 BuildRequires:  gpm-devel
22 BuildRequires:  gettext-devel
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Provides:       aumix
25 Obsoletes:      aumix
26
27 %define         _prefix         /usr/X11R6
28 %define         _manpath        %{_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
53 %build
54 rm -rf missing
55 gettextize --copy --force
56 aclocal
57 autoconf
58 automake -a -c
59
60 CFLAGS="%{rpmcflags} -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{%{_bindir},/etc/rc.d/init.d}
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.047746 seconds and 3 git commands to generate.