42a1d14c7e
OBS-URL: https://build.opensuse.org/request/show/65006 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsndfile?expand=0&rev=19
72 lines
2.0 KiB
RPMSpec
72 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package libsndfile-progs (Version 1.0.24)
|
|
#
|
|
# Copyright (c) 2010 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
|
|
# 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/
|
|
#
|
|
|
|
|
|
|
|
Name: libsndfile-progs
|
|
BuildRequires: alsa-devel flac-devel gcc-c++ libjack-devel libvorbis-devel pkgconfig sqlite-devel
|
|
Summary: Example Programs for libsndfile
|
|
Version: 1.0.24
|
|
Release: 1
|
|
License: LGPLv2.1+
|
|
Group: System/Libraries
|
|
Source: libsndfile-%{version}.tar.bz2
|
|
Patch: libsndfile-example-fix.diff
|
|
Url: http://www.mega-nerd.com/libsndfile/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package includes the example programs for libsndfile.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
%prep
|
|
%setup -q -n libsndfile-%{version}
|
|
%patch
|
|
|
|
%build
|
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
|
# autoreconf --force --install
|
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}"
|
|
export CFLAGS
|
|
%configure \
|
|
--disable-static \
|
|
--enable-sqlite \
|
|
--with-pic
|
|
make
|
|
|
|
%install
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
# remove unnecessary lib files
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}
|
|
rm -rf $RPM_BUILD_ROOT%{_includedir}
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_bindir}/*
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%changelog
|