Accepting request 157803 from network:telephony
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/157803 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spandsp?expand=0&rev=4
This commit is contained in:
commit
58c63b525f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1b15b1c63d78b139926446fc672274872e0bdfb9eba9cbd0306e0750cdbc61f
|
||||
size 2746918
|
3
spandsp-0.0.6pre21.tar.xz
Normal file
3
spandsp-0.0.6pre21.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f2487e5dbb131c44f5ac4514a061d3f4acf496a06e85f97b2397d9ba585bc0bf
|
||||
size 2388024
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 25 04:27:45 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.0.6pre21
|
||||
* No upstream changelog has been specified
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 11 12:41:13 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
|
58
spandsp.spec
58
spandsp.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package spandsp
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,30 +16,40 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: spandsp
|
||||
%define lname libspandsp2
|
||||
Summary: A DSP library for Telephony and SoftFAX
|
||||
Version: 0.0.6pre20
|
||||
Release: 0
|
||||
License: LGPL-2.1 and GPL-2.0
|
||||
Group: System/Libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 0.0.6pre21
|
||||
Release: 0
|
||||
Url: http://soft-switch.org/
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
|
||||
#DL-URL: http://soft-switch.org/downloads/spandsp/
|
||||
Source0: %name-%version.tar.xz
|
||||
Source1: baselibs.conf
|
||||
Patch1: spandsp-autoconf.diff
|
||||
Patch2: spandsp-pkgconfig1.diff
|
||||
Patch3: spandsp-path.diff
|
||||
Patch4: spandsp-lrint.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: docbook-xsl-stylesheets doxygen
|
||||
BuildRequires: libtiff-devel libxslt
|
||||
BuildRequires: libtool pkgconfig
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xz
|
||||
%define tests 0
|
||||
%if 0%{?tests}
|
||||
BuildRequires: fftw3-devel fltk-devel gcc-c++
|
||||
BuildRequires: libpcap-devel pkgconfig(audiofile) pkgconfig(sndfile)
|
||||
BuildRequires: pkgconfig(libxml-2.0) pkgconfig(xproto)
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: fltk-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: pkgconfig(audiofile)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(sndfile)
|
||||
BuildRequires: pkgconfig(xproto)
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -51,9 +61,11 @@ and a complete software FAX machine.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the SpanDSP library
|
||||
License: LGPL-2.1
|
||||
Group: Development/Libraries/C and C++
|
||||
License: LGPL-2.1
|
||||
Requires: %lname = %{version} libtiff-devel glibc-devel
|
||||
Requires: %lname = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libtiff-devel
|
||||
|
||||
%description devel
|
||||
This package contains files that are needed for developing or compiling
|
||||
@ -61,8 +73,8 @@ software that uses the spandsp library.
|
||||
|
||||
%package -n %lname
|
||||
Summary: A DSP library for Telephony and SoftFAX
|
||||
License: LGPL-2.1
|
||||
Group: System/Libraries
|
||||
License: LGPL-2.1
|
||||
|
||||
%description -n %lname
|
||||
SpanDSP is a library of DSP functions for telephony, in the 8000 sample
|
||||
@ -73,6 +85,7 @@ and a complete software FAX machine.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the libspandsp API
|
||||
License: LGPL-2.1 and GPL-2.0
|
||||
Group: Documentation/HTML
|
||||
%if 0%{?suse_version} >= 1130
|
||||
BuildArch: noarch
|
||||
@ -105,24 +118,25 @@ make check %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
mkdir -p %buildroot/%_docdir/%name
|
||||
cp -a COPYING INSTALL AUTHORS NEWS README DueDiligence \
|
||||
ChangeLog doc/api/html %buildroot/%_docdir/%name
|
||||
find "%buildroot" -name "*.la" -delete
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
mkdir -p "$b/%_docdir/%name";
|
||||
cp -a COPYING AUTHORS NEWS README DueDiligence \
|
||||
ChangeLog doc/api/html "$b/%_docdir/%name";
|
||||
find "$b" -name "*.la" -delete
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
%_includedir/*
|
||||
%_libdir/lib%name.so
|
||||
%_libdir/pkgconfig/*.pc
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
%_libdir/lib%name.so.2*
|
||||
|
||||
%files doc
|
||||
|
Loading…
Reference in New Issue
Block a user