Jan Engelhardt 2013-01-25 04:31:57 +00:00 committed by Git OBS Bridge
parent 88dc0deeaf
commit d82a6583e4
4 changed files with 45 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1b15b1c63d78b139926446fc672274872e0bdfb9eba9cbd0306e0750cdbc61f
size 2746918

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2487e5dbb131c44f5ac4514a061d3f4acf496a06e85f97b2397d9ba585bc0bf
size 2388024

View File

@ -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

View File

@ -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