summaryrefslogtreecommitdiff
path: root/mp3blaster.spec
blob: 0ba77b7663d138fe14af7ac49e4f091451106a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Conditional build:
%bcond_with	lirc	# with LIRC support.
#
Summary:	ncurses-based based MP3 player
Summary(pl):	Odtwarzacz plików MP3 bazowany na ncurses
Name:		mp3blaster
Version:	3.2.0
Release:	1
License:	GPL
Group:		Applications/Sound
Source0:	http://www.stack.nl/~brama/mp3blaster/src/%{name}-%{version}.tar.gz
# Source0-md5:	d01a36de2ebb5b4f7c407ae6cc7668b1
# Source0-size:	312991
URL:		http://www.stack.nl/~brama/mp3blaster/
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	libvorbis-devel >= 1:1.0
BuildRequires:	ncurses-devel >= 5.2
%{?with_lirc:BuildRequires:	lirc-devel}
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
mp3blaster is an interactive text-based MP3 player. One of the unique
features of this player is the ability to divide a playlist into
groups (albums). Therefore, the play order can be adjusted with great
flexibility.

%description -l pl
mp3blaster to interaktywny odtwarzacz plików MP3 pracujący w trybie
tekstowym. Jedną z wyjątkowych cech tego odtwarzacza jest możliwość
dzielenia list odtwarzanych plików na grupy (albumy). Dzięki temu
kolejność odtwarzania może być dobierana w bardzo elastyczny sposób.

%prep
%setup -q
#%patch -p1

%build
rm -f missing
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
	%{?with_lirc:--with-lirc} \
	--with-oggvorbis
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
#%doc AUTHORS CREDITS ChangeLog NEWS README README.lirc TODO BUGS FAQ
%doc AUTHORS CREDITS ChangeLog NEWS README TODO BUGS FAQ
%attr(755,root,root) %{_bindir}/*
%{_datadir}/mp3blaster
%{_mandir}/man1/*