Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Rings:1-MinimalX
speex
speex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File speex.spec of Package speex
# # spec file for package speex # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define upstream_version 1.2.0 %define libname libspeex1 Name: speex Version: 1.2 Release: 0 Summary: An Open Source, Patent Free Speech Codec License: BSD-3-Clause Group: System/Libraries Url: http://www.speex.org/ Source0: http://downloads.xiph.org/releases/speex/%{name}-%{upstream_version}.tar.gz Source1: baselibs.conf Patch0: speex-no-build-date.patch BuildRequires: pkg-config BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(speexdsp) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Speex is a patent free audio codec designed especially for voice (unlike Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. %package -n %{libname} Summary: An Open Source, Patent Free Speech Codec Library Group: System/Libraries Obsoletes: libspeex < %{version} Provides: libspeex = %{version} %description -n %{libname} Speex is a patent free audio codec designed especially for voice (unlike Vorbis which targets general audio) signals and providing good narrowband and wideband quality. This project aims to be complementary to the Vorbis codec. %package devel Summary: Development package for SpeeX Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: speexdsp-devel Provides: libspeex-devel = %{version}-%{release} Obsoletes: libspeex-devel < %{version}-%{release} %description devel This package contains the files needed to compile programs that use the SpeeX library. %prep %setup -q -n %{name}-%{upstream_version} %patch0 %build %configure \ --enable-binaries \ --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} # remove duped documents rm -rf %{buildroot}%{_datadir}/doc/speex* # remove unneeded *.la files find %{buildroot} -type f -name "*.la" -delete -print rm -f %{buildroot}%{_libdir}/*.a %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_bindir}/speex* %{_mandir}/man?/* %files -n %{libname} %defattr(-,root,root) %{_libdir}/libspeex.so.* %files devel %defattr(-,root,root) %doc doc/manual.pdf %{_includedir}/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %{_datadir}/aclocal/*.m4 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor