ALT repositories
Last updated at Fri, 24 Jul 2020 16:33:50 +0000 | SRPMs: 18242
en ru
SRPMs in branches
hide window
  • 0.1.2-alt0.M70T.1
  • 0.1.2-alt0.M70T.1
  • 0.1.2-alt0.M60T.1
  • 0.1.2-alt0.M60T.1
  • 0.1.2-alt0.M51.3
Group :: System/Libraries
Source RPM: libsoxr
Raw spec file

%define realname soxr

Name: lib%realname
Version: 0.1.2
Release: alt1
Group: System/Libraries
Summary: The SoX Resampler library

License: LGPLv2+
Url: https://sourceforge.net/p/soxr/wiki/Home/
Source0: http://downloads.sourceforge.net/%name/%realname-%version-Source.tar.xz

# Automatically added by buildreq on Wed Apr 22 2015 (-bi)

# optimized out: cmake cmake-modules elfutils pkg-config python-base xz

BuildRequires: ccmake ctest

%description
The SoX Resampler library `libsoxr' performs one-dimensional sample-rate
conversion -- it may be used, for example, to resample PCM-encoded audio.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name%{?_isa} = %version-%release

%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%prep
%setup -n %realname-%version-Source

%build
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DLIB_INSTALL_DIR:PATH=%_libdir \
-DCMAKE_C_FLAGS:STRING="%optflags" ../.
%make_build

%install
cd build
make DESTDIR=%buildroot install

# Remove docs and use the rpmbuild macro instead

rm -rf %buildroot%_docdir/*

%files
%doc LICENCE NEWS README
%_libdir/*.so.*

%files devel
%doc examples
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/soxr-lsr.pc
%_pkgconfigdir/soxr.pc

%changelog
* Fri Sep 25 2015 Sergey Bolshakov <sbolshakov at altlinux.ru> 0.1.2-alt1
- 0.1.2 released

* Wed Apr 22 2015 Motsyo Gennadi <drool at altlinux.ru> 0.1.1-alt1
- build for ALT Linux
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.