-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathlibsbsms.spec.in
More file actions
62 lines (49 loc) · 1.34 KB
/
libsbsms.spec.in
File metadata and controls
62 lines (49 loc) · 1.34 KB
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