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