File: rioutil-libusb.spec.in

package info (click to toggle)
rioutil 1.4.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,980 kB
  • ctags: 777
  • sloc: sh: 11,429; ansic: 5,834; makefile: 112
file content (41 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (2)
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
%define ver     @VERSION@
%define rel     0
%define prefix  @prefix@
%define name    @PACKAGE@

Name:        %{name}-libusb
Summary:     Interface with Rio 600/800/900/Riot/S-Series, psa[play
Version:     %{ver}
Release:     %{rel}
Copyright:   GPL
Group:       Development/Libraries
Source:      ftp://download.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{ver}.tar.gz
URL:         http://rioutil.sourceforge.net
Packager:    Nathan Hjelm <hjelmn@users.sourceforge.net>
BuildRoot:   /tmp/%{name}-root

%description
rioutil is a program/library designed to interface with
Sonic Blue's Rio 600/800/900/Riot/S-Series and nike psa[play.

%prep
%setup -n %{name}-%{ver}

%build
./configure --prefix=%{prefix} --with-libusb
make

%install
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
make install-strip prefix=$RPM_BUILD_ROOT%{prefix}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{prefix}/bin/rioutil
%{prefix}/man/man1/rioutil.1*
%{prefix}/include/rio.h
%{prefix}/lib/librioutil*.la
%{prefix}/lib/librioutil*.so*