]> git.pld-linux.org Git - packages/adcd.git/blame - adcd.spec
- up to 0.9
[packages/adcd.git] / adcd.spec
CommitLineData
2e99f3e0 1Summary: Text mode CD player for Linux
a52943ae 2Summary(pl.UTF-8): Odtwarzacz płyt CD dla Linuksa
2e99f3e0 3Name: adcd
96734168 4Version: 0.9
2e99f3e0 5Release: 1
cbee589b
AG
6License: GPL v2
7Group: Applications/Sound
2e99f3e0 8Source0: http://savannah.nongnu.org/download/adcd/%{name}-%{version}.tar.bz2
96734168 9# Source0-md5: 3915678b9f9d0abbcfa35aff86335d25
2e99f3e0 10URL: http://www.nongnu.org/adcd/adcd.html
cbee589b 11BuildRequires: libstdc++-devel
2e99f3e0
AG
12BuildRequires: ncurses-devel
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Adcd is a text mode CD player for Linux. It features all the functions
17expected in a compact disc player, including playing selected tracks,
18random playing, and continuous playing.
19
acecde18
JR
20%description -l pl.UTF-8
21Adcd jest działającym w trybie tekstowym odtwarzaczem płyt CD dla
22Linuksa. Posiada wszystkie funkcje, jakich można się spodziewać po
23odtwarzaczu płyt kompaktowych, włączając w to odtwarzanie wybranych
24bądź losowych ścieżek czy ciągłe odtwarzanie.
2e99f3e0
AG
25
26%prep
27%setup -q
96734168 28# fix ncurses.h path
29%{__sed} -i -e 's,ncurses.h,ncurses/ncurses.h,g' player.cc
30# add missing library
31%{__sed} -i -e '/^#include <vector>$/a#include <cstdlib>' main.cc
2e99f3e0
AG
32
33%build
eddb8024
MB
34# not autoconf-generated
35./configure \
36 --prefix=%{_prefix}
96734168 37%{__make}
2e99f3e0
AG
38 CXX="%{__cxx}" \
39 CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
40 LDFLAGS="%{rpmldflags} -lncurses"
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 prefix="%{_prefix}" \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
560eee71
JB
54%doc ChangeLog README
55%lang(es) %doc LEEME
2e99f3e0
AG
56%attr(755,root,root) %{_bindir}/*
57%{_mandir}/man1/*
This page took 0.045029 seconds and 4 git commands to generate.