]> git.pld-linux.org Git - packages/aumix-gtk.git/blob - aumix-gtk.spec
- use rpm features (gzipping, %%debug, %%config), automake-related changes
[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 aclocal
55 autoconf
56 automake -a -c
57 gettextize --copy --force
58
59 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
60 %configure
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}} \
67         $RPM_BUILD_ROOT{%{_bindir},/etc/rc.d/init.d}
68
69 %{__make} install DESTDIR=$RPM_BUILD_ROOT
70
71 mv -f $RPM_BUILD_ROOT%{_datadir}/aumix/*xpm $RPM_BUILD_ROOT%{_pixmapsdir}
72
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
74
75 touch $RPM_BUILD_ROOT%{_sysconfdir}/aumixrc
76
77 gzip -9nf AUTHORS BUGS ChangeLog NEWS README TODO
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 %config(noreplace,missingok) %verify(not size mtime md5) %{_sysconfdir}/aumixrc
87 %doc {AUTHORS,BUGS,ChangeLog,NEWS,README,TODO}.gz
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.120292 seconds and 3 git commands to generate.