summaryrefslogtreecommitdiff
path: root/pysol-sound-server.spec
blob: 909bf87217c25d7e3896f356dc8577d8d0f6098e (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
Summary:	Sound server for pysol
Summary(pl):	Serwer d¼wiêku dla pysola
Name:		pysol-sound-server
Version:	3.00
Release:	4
License:	GPL
Group:		X11/Applications/Games
Source0:	http://pysol2.sourceforge.net/download/%{name}-%{version}.tar.bz2
# Source0-md5:	fdbfd5c5455b8b51ad469f881870d9f5
URL:		http://www.oberhumer.com/pysol/
BuildRequires:	SDL-devel
BuildRequires:	python-devel >= 1:2.3
BuildRequires:	rpm-pythonprov
BuildRequires:	smpeg-devel
Requires:	pysol >= 4.81
%pyrequires_eq	python
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Sound server for pysol.

%description -l pl
Serwer d¼wiêku dla pysola.

%prep
%setup -q

%build
cd src
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitedir}/pysol

install src/build/lib*/pysolsoundserver.so $RPM_BUILD_ROOT%{py_sitedir}/pysol

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README NEWS
%attr(755,root,root) %{py_sitedir}/pysol/*