Accepting request 304468 from home:XRevan86
OBS-URL: https://build.opensuse.org/request/show/304468 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soxr?expand=0&rev=1
This commit is contained in:
commit
d47502e19d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
2
baselibs.conf
Normal file
2
baselibs.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libsoxr0
|
||||||
|
libsoxr-lsr0
|
3
soxr-0.1.1.tar.xz
Normal file
3
soxr-0.1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dcc16868d1a157079316f84233afcc2b52dd0bd541dd8439dc25bceb306faac2
|
||||||
|
size 80716
|
4
soxr.changes
Normal file
4
soxr.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 28 21:45:23 UTC 2015 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Initial package.
|
99
soxr.spec
Normal file
99
soxr.spec
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
#
|
||||||
|
# spec file for package soxr
|
||||||
|
#
|
||||||
|
# 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 lname libsoxr0
|
||||||
|
%define lname_lsr libsoxr-lsr0
|
||||||
|
Name: soxr
|
||||||
|
Version: 0.1.1
|
||||||
|
Release: 0
|
||||||
|
Summary: The SoX Resampler library
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/Libraries
|
||||||
|
Url: http://soxr.sourceforge.net/
|
||||||
|
Source0: http://downloads.sf.net/%{name}/%{_name}-%{version}-Source.tar.xz#/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
|
%description
|
||||||
|
The SoX Resampler library performs one-dimensional sample-rate
|
||||||
|
conversion – it may be used, for example, to resample PCM-encoded
|
||||||
|
audio.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: The SoX Resampler library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
The SoX Resampler library performs one-dimensional sample-rate
|
||||||
|
conversion – it may be used, for example, to resample PCM-encoded
|
||||||
|
audio.
|
||||||
|
|
||||||
|
%package -n %{lname_lsr}
|
||||||
|
Summary: Compatibility layer with libsamplerate
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{lname_lsr}
|
||||||
|
soxr libsamplerate API compatibility layer (to some extent).
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files of soxr
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{lname_lsr} = %{version}
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The libchardet development package includes the header files,
|
||||||
|
libraries, development tools necessary for compiling and linking
|
||||||
|
application which will use libsoxr/libsoxr-lsr.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}-Source
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake \
|
||||||
|
-DDOC_INSTALL_DIR=%{_docdir}/%{name}
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n %{lname_lsr} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{lname_lsr} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %{lname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libsoxr.so.*
|
||||||
|
|
||||||
|
%files -n %{lname_lsr}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libsoxr-lsr.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc %{_docdir}/%{name}/
|
||||||
|
%{_includedir}/soxr*.h
|
||||||
|
%{_libdir}/libsoxr*.so
|
||||||
|
%{_libdir}/pkgconfig/soxr*.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user