File: libsbsms.spec.in

package info (click to toggle)
libsbsms 2.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,992 kB
  • ctags: 1,496
  • sloc: cpp: 17,244; sh: 10,969; makefile: 53; ansic: 31
file content (62 lines) | stat: -rw-r--r-- 1,369 bytes parent folder | download | duplicates (9)
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

%define name    libsbsms
%define version 2.0.2
%define release 5
%define prefix  /usr/local

Summary:	C++ library for subband sinusoidal modeling time stretching and pitch scaling
Name:		%{name}
Version:	%{version}
Release:	%{release}
Prefix:		%{prefix}
Copyright:	GPL
Group:		Sound
Source0:	%{name}-%{version}.tar.bz2
URL:		
BuildRoot:	/var/tmp/%{name}-%{version}-buildroot

%description
C++ library for subband sinusoidal modeling time stretching and pitch scaling

%package devel
Summary:	C++ library for subband sinusoidal modeling time stretching and pitch scaling
Group:		Development/Libraries
Requires:	%{name} = %{version}

%description devel
C++ library for subband sinusoidal modeling time stretching and pitch scaling

%prep

%setup
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi

%build
./configure --prefix=%{prefix}
make
make docs

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

%clean
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{prefix}/bin/*
%{prefix}/lib/libsbsms.so*
%{prefix}/man/man1/*

%files devel
%defattr(-,root,root)
%doc doc/html/*
%{prefix}/lib/libsbsms.a
%{prefix}/lib/libsbsms.la
%{prefix}/lib/pkgconfig/sbsms.pc
%{prefix}/include/*

%changelog