aboutsummaryrefslogtreecommitdiff
path: root/mpio.spec.in
blob: 301850bab2393eb9526e2cf81bd2713bf5c8c86f (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
# @configure_input@

Version: @VERSION@
Summary: MPIO - providing access to MPIO mp3 players
Name: mpio
Release: 1
Copyright: see COPYING
Group: Applications/MultiMedia
Source: http://download.sourceforge.net/mpio/
Prefix: /usr
Buildroot: /var/tmp/mpio-%version-buildroot/
Packager: Andreas Büsching <crunchy@tzi.de>

%define confdir /etc

%description
This is a project for using Digitalway/Adtec digital audio player MPIO
(DMG, DMK, DME) under Linux. It provides Linux kernel module driver,
userspace library and utility.

%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix

%build
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install-strip

%files
# %attr(750,root,news) %dir %confdir/
# %attr(640,root,news) %confdir/config.example
# %defattr(755,root,root)
# %prefix/bin/newsq
# %defattr(755,root,root)
# %prefix/sbin/*
# %defattr(644,root,root)
# %doc %_mandir/man1/*
# %doc %_mandir/man8/*

%doc COPYING ChangeLog INSTALL NEWS
%doc README TODO

%clean
rm -rf $RPM_BUILD_ROOT