[packages/ladspa-tap-plugins] - updated to 0.7.3 - updated DESTDIR_OPTFLAGS patch
qboosh
qboosh at pld-linux.org
Tue Sep 27 16:46:09 CEST 2016
commit 6b2d0dc9baa3c002414ba8958ecca4df72ced639
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Sep 27 16:47:52 2016 +0200
- updated to 0.7.3
- updated DESTDIR_OPTFLAGS patch
ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch | 43 +++++++++++-----------
ladspa-tap-plugins.spec | 59 +++++++++++++++++++++----------
2 files changed, 62 insertions(+), 40 deletions(-)
---
diff --git a/ladspa-tap-plugins.spec b/ladspa-tap-plugins.spec
index d90feda..15c5186 100644
--- a/ladspa-tap-plugins.spec
+++ b/ladspa-tap-plugins.spec
@@ -1,17 +1,16 @@
-%define _rnam tap-plugins
-%define docs_snap 20040817
-#
+%define pname tap-plugins
+%define docs_ver 20140526
Summary: Set of LADSPA plugins for digital audio processing
Summary(pl.UTF-8): Zestaw wtyczek LADSPA do cyfrowej obróbki dźwięku
Name: ladspa-tap-plugins
-Version: 0.7.0
-Release: 2
-License: GPL v2
+Version: 0.7.3
+Release: 1
+License: GPL v2+
Group: Applications/Sound
-Source0: http://dl.sourceforge.net/tap-plugins/%{_rnam}-%{version}.tar.gz
-# Source0-md5: e3e13df63627dcf54d0a96f8125df9ee
-Source1: http://dl.sourceforge.net/tap-plugins/%{_rnam}-doc-%{docs_snap}.tar.gz
-# Source1-md5: 9a320210a7a9417487ceb31d6e5c21be
+Source0: http://downloads.sourceforge.net/tap-plugins/%{pname}-%{version}.tar.gz
+# Source0-md5: 113fa021b2a05e2fd3cf35f65e6ca137
+Source1: http://downloads.sourceforge.net/tap-plugins/%{pname}-doc-%{docs_ver}.tar.gz
+# Source1-md5: 8af9ad9be0aac9f577056311d7ebbd5e
Patch0: %{name}-DESTDIR_OPTFLAGS.patch
URL: http://tap-plugins.sourceforge.net/
BuildRequires: ladspa-devel
@@ -28,9 +27,9 @@ zamierzeniem jest użycie w profesjonalnym środowisku jak np. Ardour.
%package doc
Summary: TAP plugins documentation
-Summary(pl.UTF-8): Dokumentacja wtyczek TAP
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Summary(pl.UTF-8): Dokumentacja wtyczek TAP
+Group: Documentation
+Suggests: %{name} = %{version}-%{release}
%description doc
TAP plugins documentation.
@@ -39,12 +38,17 @@ TAP plugins documentation.
Dokumentacja wtyczek TAP.
%prep
-%setup -qn %{_rnam}-%{version} -a1
+%setup -qn %{pname}-%{version} -a1
%patch0 -p1
+%{__mv} %{pname}-doc-%{docs_ver} docs
+
+# use system ladspa header
+%{__rm} ladspa.h
+
%build
-%{__perl} -pi -e "s,\"ladspa.h\",<ladspa.h>,g" *.c
%{__make} \
+ CC="%{__cc}" \
OPTFLAGS="%{rpmcflags}"
%install
@@ -60,9 +64,28 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CREDITS README
-%attr(755,root,root) %{_libdir}/ladspa/*.so
-%{_datadir}/ladspa/rdf/*.rdf
+%attr(755,root,root) %{_libdir}/ladspa/tap_autopan.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_chorusflanger.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_deesser.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_doubler.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_dynamics_m.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_dynamics_st.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_echo.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_eq.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_eqbw.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_limiter.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_pinknoise.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_pitch.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_reflector.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_reverb.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_rotspeak.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_sigmoid.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_tremolo.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_tubewarmth.so
+%attr(755,root,root) %{_libdir}/ladspa/tap_vibrato.so
+%{_datadir}/ladspa/rdf/tap-plugins.rdf
+%{_datadir}/ladspa/rdf/tap_reverb.rdf
%files doc
%defattr(644,root,root,755)
-%doc %{_rnam}-doc-%{docs_snap}/*
+%doc docs/*
diff --git a/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch b/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
index 78ad5c6..a138cda 100644
--- a/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
+++ b/ladspa-tap-plugins-DESTDIR_OPTFLAGS.patch
@@ -1,6 +1,5 @@
-diff -ur tap-plugins-0.7.0.orig/Makefile tap-plugins-0.7.0/Makefile
---- tap-plugins-0.7.0.orig/Makefile 2004-08-17 14:34:43.000000000 +0200
-+++ tap-plugins-0.7.0/Makefile 2004-10-05 02:02:03.947677728 +0200
+--- tap-plugins-0.7.3/Makefile.orig 2014-05-26 16:51:56.000000000 +0200
++++ tap-plugins-0.7.3/Makefile 2016-09-27 16:27:02.583722200 +0200
@@ -23,8 +23,8 @@
# Change this if you want to install somewhere else. In particular
# you may wish to remove the middle "local/" part of the path.
@@ -15,26 +14,26 @@ diff -ur tap-plugins-0.7.0.orig/Makefile tap-plugins-0.7.0/Makefile
@@ -35,7 +35,7 @@
# GENERAL
- CC = gcc
--CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
-+CFLAGS = -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
- LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+ CC = gcc
+-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
++CFLAGS = -I. $(OPTFLAGS) -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+ LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+ MODULES = $(wildcard *.c)
- PLUGINS = tap_autopan.so \
-@@ -143,11 +143,11 @@
+@@ -56,11 +56,11 @@
# OTHER TARGETS
- install: targets
-- -mkdir -p $(INSTALL_PLUGINS_DIR)
-- cp *.so $(INSTALL_PLUGINS_DIR)
-- -mkdir -p $(INSTALL_LRDF_DIR)
-- cp tap-plugins.rdf $(INSTALL_LRDF_DIR)
-- cp tap_reverb.rdf $(INSTALL_LRDF_DIR)
-+ -mkdir -p $(DESTDIR)$(INSTALL_PLUGINS_DIR)
-+ cp *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
-+ -mkdir -p $(DESTDIR)$(INSTALL_LRDF_DIR)
-+ cp tap-plugins.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
-+ cp tap_reverb.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
-
- targets: $(PLUGINS)
+ install: all
+- -mkdir -p $(INSTALL_PLUGINS_DIR)
+- cp *.so $(INSTALL_PLUGINS_DIR)
+- -mkdir -p $(INSTALL_LRDF_DIR)
+- cp tap-plugins.rdf $(INSTALL_LRDF_DIR)
+- cp tap_reverb.rdf $(INSTALL_LRDF_DIR)
++ -mkdir -p $(DESTDIR)$(INSTALL_PLUGINS_DIR)
++ cp *.so $(DESTDIR)$(INSTALL_PLUGINS_DIR)
++ -mkdir -p $(DESTDIR)$(INSTALL_LRDF_DIR)
++ cp tap-plugins.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
++ cp tap_reverb.rdf $(DESTDIR)$(INSTALL_LRDF_DIR)
+ clean:
+ -rm -f *.so *.o *~
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ladspa-tap-plugins.git/commitdiff/6b2d0dc9baa3c002414ba8958ecca4df72ced639
More information about the pld-cvs-commit
mailing list