Accepting request 293535 from multimedia:apps

1

OBS-URL: https://build.opensuse.org/request/show/293535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/snd?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2015-03-28 17:39:07 +00:00 committed by Git OBS Bridge
commit 6fa013039b
4 changed files with 34 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c5e899c2eecd2a3624560dcb444760456f48ac62f58bf3e7f168ed74deabf1a
size 18366414

3
snd-15.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90df2ad5e04fe1fcc3e6dd536226ad3bf4384184cdac0b0b2c84341b058859b5
size 14653067

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Mar 25 15:23:06 UTC 2015 - p.drouand@gmail.com
- Update to version 15.4
* before-save-as-hook arg order changed, also new-sound, save-region,
save-selection, save-sound-as
* deprecated output-name-hook, info-popup-hook, peak-env-hook, start-hook
* changed s7_new_type_x args
* mus-audio* deprecated
* mus_set_name (and mus-set-name) deprecated
* sbcl support for gnuplot in dlocsig.lisp
- No information available about previous releases
- Replace gtk2-devel with gtk3-devel; build with gtk3 support
- Use download Url as source
- Remove obsolete %clean and AUTHORS section
- Remove some obsolete stuff
- Do not try to build audinfo; dropped by upstream
- tutorial and Snd.ad have been dropped by upstream
-------------------------------------------------------------------
Wed Dec 21 10:31:48 UTC 2011 - coolo@suse.com

View File

@ -1,11 +1,11 @@
#
# spec file for package snd
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
# upon. The license fo5 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
@ -21,7 +21,7 @@ BuildRequires: fftw3-devel
BuildRequires: freeglut-devel
BuildRequires: gsl
BuildRequires: gsl-devel
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
BuildRequires: ladspa-devel
BuildRequires: libdrm-devel
BuildRequires: libjack-devel
@ -30,10 +30,10 @@ BuildRequires: update-desktop-files
Summary: Powerful Sound File Editor
License: LGPL-2.1+
Group: Productivity/Multimedia/Sound/Editors and Convertors
Version: 11.4
Version: 15.4
Release: 0
Requires: ladspa
Source: snd-%{version}.tar.bz2
Source: ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-%{version}.tar.gz
Source1: snd.desktop
Source2: snd.png
Source3: sndrpmlintrc
@ -46,43 +46,30 @@ sorely-missed PDP-10 sound editor named Dpysnd. It can accommodate any
number of sounds each with any number of channels and can be customized
and extended using guile and guile-gtk.
Authors:
--------
Bill Schottstaedt <bil@ccrma.stanford.edu>
%prep
%setup -q
find -name "*~" -type f | xargs -r rm -v
find -name "*.png" -type f | xargs chmod 0644
%build
# aclocal
# autoconf
# %ifarch %ix86 x86_64
%define with_jack --with-jack
# %else
# %define with_jack ""
# %endif
CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fno-strict-aliasing" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
LDFLAGS="$LDFLAGS -Wl,-z -Wl,noexecstack" \
./configure --prefix=%{_prefix} \
%configure \
--with-gtk \
--with-alsa \
--with-ladspa \
--with-static-xm \
--with-gl \
%{with_jack}
--with-jack
# feel free to improve following change and please notify upstream
sed -i "s:\(^LIBS =.*\):\1 -lX11 -ldl:" makefile
make %{?jobs:-j %jobs}
make sndplay sndinfo audinfo
make %{?_smp_mflags}
make sndplay sndinfo
%install
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
for i in snd sndplay sndinfo audinfo ; do
for i in snd sndplay sndinfo ; do
install -c -m 755 $i $RPM_BUILD_ROOT%{_bindir}
done
mkdir -p $RPM_BUILD_ROOT%{_libdir}/snd/scheme
@ -93,18 +80,10 @@ install -c -m 0644 snd.1 $RPM_BUILD_ROOT%{_mandir}/man1
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING
%doc *.Snd
%doc Snd.ad
%doc *.html
%doc pix
%doc tutorial
%doc %{_mandir}/man?/*
%doc COPYING *.Snd *.html pix
%{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/snd
%{_datadir}/applications/*.desktop