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 Sun Mar 11 12:41:13 UTC 2012 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package spandsp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,30 +16,40 @@
# #
Name: spandsp Name: spandsp
%define lname libspandsp2 %define lname libspandsp2
Summary: A DSP library for Telephony and SoftFAX Summary: A DSP library for Telephony and SoftFAX
Version: 0.0.6pre20
Release: 0
License: LGPL-2.1 and GPL-2.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/ 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 Source1: baselibs.conf
Patch1: spandsp-autoconf.diff Patch1: spandsp-autoconf.diff
Patch2: spandsp-pkgconfig1.diff Patch2: spandsp-pkgconfig1.diff
Patch3: spandsp-path.diff Patch3: spandsp-path.diff
Patch4: spandsp-lrint.diff Patch4: spandsp-lrint.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: docbook-xsl-stylesheets doxygen BuildRequires: docbook-xsl-stylesheets
BuildRequires: libtiff-devel libxslt BuildRequires: doxygen
BuildRequires: libtool pkgconfig BuildRequires: libtiff-devel
BuildRequires: libtool
BuildRequires: libxslt
BuildRequires: pkgconfig
BuildRequires: xz
%define tests 0 %define tests 0
%if 0%{?tests} %if 0%{?tests}
BuildRequires: fftw3-devel fltk-devel gcc-c++ BuildRequires: fftw3-devel
BuildRequires: libpcap-devel pkgconfig(audiofile) pkgconfig(sndfile) BuildRequires: fltk-devel
BuildRequires: pkgconfig(libxml-2.0) pkgconfig(xproto) BuildRequires: gcc-c++
BuildRequires: libpcap-devel
BuildRequires: pkgconfig(audiofile)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(xproto)
%endif %endif
%description %description
@ -51,9 +61,11 @@ and a complete software FAX machine.
%package devel %package devel
Summary: Development files for the SpanDSP library Summary: Development files for the SpanDSP library
Group: Development/Libraries/C and C++
License: LGPL-2.1 License: LGPL-2.1
Requires: %lname = %{version} libtiff-devel glibc-devel Group: Development/Libraries/C and C++
Requires: %lname = %{version}
Requires: glibc-devel
Requires: libtiff-devel
%description devel %description devel
This package contains files that are needed for developing or compiling This package contains files that are needed for developing or compiling
@ -61,8 +73,8 @@ software that uses the spandsp library.
%package -n %lname %package -n %lname
Summary: A DSP library for Telephony and SoftFAX Summary: A DSP library for Telephony and SoftFAX
Group: System/Libraries
License: LGPL-2.1 License: LGPL-2.1
Group: System/Libraries
%description -n %lname %description -n %lname
SpanDSP is a library of DSP functions for telephony, in the 8000 sample 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 %package doc
Summary: Documentation for the libspandsp API Summary: Documentation for the libspandsp API
License: LGPL-2.1 and GPL-2.0
Group: Documentation/HTML Group: Documentation/HTML
%if 0%{?suse_version} >= 1130 %if 0%{?suse_version} >= 1130
BuildArch: noarch BuildArch: noarch
@ -105,24 +118,25 @@ make check %{?_smp_mflags}
%endif %endif
%install %install
%makeinstall b="%buildroot";
mkdir -p %buildroot/%_docdir/%name make install DESTDIR="$b";
cp -a COPYING INSTALL AUTHORS NEWS README DueDiligence \ mkdir -p "$b/%_docdir/%name";
ChangeLog doc/api/html %buildroot/%_docdir/%name cp -a COPYING AUTHORS NEWS README DueDiligence \
find "%buildroot" -name "*.la" -delete ChangeLog doc/api/html "$b/%_docdir/%name";
find "$b" -name "*.la" -delete
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root)
%_includedir/* %_includedir/*
%_libdir/lib%name.so %_libdir/lib%name.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc
%files -n %lname %files -n %lname
%defattr(-,root,root,-) %defattr(-,root,root)
%_libdir/lib%name.so.2* %_libdir/lib%name.so.2*
%files doc %files doc