]> git.pld-linux.org Git - SPECS.git/blob - yconsole.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / yconsole.spec
1 Summary:        yconsole - monitors & controls the Y sound server
2 Summary(pl.UTF-8):      yconsole - monitorowanie i sterowanie serwerem dźwięku Y
3 Name:           yconsole
4 Version:        3.4.6
5 Release:        3
6 License:        GPL-like
7 Group:          Applications/Sound
8 Source0:        http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
9 # Source0-md5:  923ddfedd38efa41a408d93ee6bd78ac
10 URL:            http://freecode.com/projects/yconsole
11 BuildRequires:  gtk+-devel >= 1.2.10
12 BuildRequires:  imlib-devel
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  yiff-devel >= 2.14
15 Requires:       gtk+ >= 1.2.10
16 Requires:       yiff-lib >= 2.14
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 YConsole monitors the status of the Y sound server and allows
21 modification of its Audio and Mixer values. It also features yplayer
22 which allows you to play sound objects and audio CDs.
23
24 %description -l pl.UTF-8
25 YConsole monitoruje stan serwera dźwięku Y i pozwala na modyfikowanie
26 jego wartości dźwięku i miksera. Ma także yplayer, który pozwala
27 odtwarzać obiekty dźwiękowe i płyty CD-Audio.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__make} -C yconsole \
34         CC="%{__cc}" \
35         CPP="%{__cxx}" \
36         CFLAGS="%{rpmcflags} -Wall `imlib-config --cflags` -DHAVE_IMLIB `gtk-config --cflags`"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} -C yconsole install \
42         PREFIX=$RPM_BUILD_ROOT%{_prefix} \
43         MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
44         ICONS_DIR=$RPM_BUILD_ROOT%{_pixmapsdir}
45
46 # conflicts with yplayer, but may be useful for some desktop in future...
47 %{__rm} $RPM_BUILD_ROOT%{_pixmapsdir}/yplayer.xpm
48
49 bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc LICENSE README
57 %attr(755,root,root) %{_bindir}/yconsole
58 %{_datadir}/yconsole
59 %{_pixmapsdir}/yconsole.xpm
60 %{_pixmapsdir}/ymidi.xpm
61 %{_pixmapsdir}/ymixer.xpm
62 %{_mandir}/man1/yconsole.1*
This page took 0.162048 seconds and 3 git commands to generate.