2009-04-24 17:14:03 +02:00
|
|
|
#
|
2011-03-24 09:15:44 +01:00
|
|
|
# spec file for package libsndfile-progs
|
2009-04-24 17:14:03 +02:00
|
|
|
#
|
2013-04-15 17:43:39 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-04-24 17:14:03 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2013-04-15 17:43:39 +02:00
|
|
|
|
2009-04-24 17:14:03 +02:00
|
|
|
Name: libsndfile-progs
|
2011-12-02 20:05:41 +01:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: flac-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: sqlite-devel
|
2009-04-24 17:14:03 +02:00
|
|
|
Summary: Example Programs for libsndfile
|
2011-12-02 20:05:41 +01:00
|
|
|
License: LGPL-2.1+
|
2009-04-24 17:14:03 +02:00
|
|
|
Group: System/Libraries
|
2013-04-15 17:43:39 +02:00
|
|
|
Version: 1.0.25
|
|
|
|
Release: 0
|
|
|
|
Source: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz
|
2009-04-24 17:14:03 +02:00
|
|
|
Patch: libsndfile-example-fix.diff
|
2011-11-22 20:04:42 +01:00
|
|
|
Url: http://www.mega-nerd.com/libsndfile/
|
2009-04-24 17:14:03 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package includes the example programs for libsndfile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Erik de Castro Lopo <erikd@mega-nerd.com>
|
|
|
|
|
|
|
|
%prep
|
2009-04-29 00:31:20 +02:00
|
|
|
%setup -q -n libsndfile-%{version}
|
2009-04-24 17:14:03 +02:00
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
|
|
|
# autoreconf --force --install
|
2011-07-29 02:45:15 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
|
2009-04-24 17:14:03 +02:00
|
|
|
export CFLAGS
|
2011-07-29 02:45:15 +02:00
|
|
|
%configure --disable-silent-rules \
|
2009-04-24 17:14:03 +02:00
|
|
|
--disable-static \
|
2009-06-09 17:41:17 +02:00
|
|
|
--enable-sqlite \
|
2009-04-24 17:14:03 +02:00
|
|
|
--with-pic
|
2011-07-29 02:45:15 +02:00
|
|
|
make %{?_smp_mflags}
|
2009-04-24 17:14:03 +02:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
|
|
|
|
%changelog
|