[ladspa-caps-plugins] Update to latest upstream release 0.9.7 (rhbz#901363)
Hans de Goede
jwrdegoede at fedoraproject.org
Fri Aug 2 14:59:06 UTC 2013
commit a86e1bd8f019982d1a2527d6ff54bf7f08223366
Author: Hans de Goede <hdegoede at redhat.com>
Date: Fri Aug 2 17:03:55 2013 +0200
Update to latest upstream release 0.9.7 (rhbz#901363)
- Various specfile improvements
.gitignore | 2 ++
caps-0.4.2-nostrip.patch | 13 +++++++------
ladspa-caps-plugins.spec | 33 +++++++++++++++------------------
sources | 3 ++-
4 files changed, 26 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 465ba1a..720295f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
caps_0.4.2.tar.gz
+/caps_0.9.7.tar.bz2
+/caps-doc_0.9.7.tar.bz2
diff --git a/caps-0.4.2-nostrip.patch b/caps-0.4.2-nostrip.patch
index a8346e1..91d9e49 100644
--- a/caps-0.4.2-nostrip.patch
+++ b/caps-0.4.2-nostrip.patch
@@ -1,13 +1,14 @@
-diff -up caps-0.4.2/Makefile.nostrip caps-0.4.2/Makefile
---- caps-0.4.2/Makefile.nostrip 2007-06-19 10:19:01.000000000 +0200
-+++ caps-0.4.2/Makefile 2007-10-02 19:32:02.000000000 +0200
-@@ -55,11 +55,10 @@ tags: $(SOURCES) $(HEADERS)
+diff -up caps-0.9.7/Makefile.nostrip caps-0.9.7/Makefile
+--- caps-0.9.7/Makefile.nostrip 2013-08-02 16:25:10.046023587 +0200
++++ caps-0.9.7/Makefile 2013-08-02 16:25:58.508023839 +0200
+@@ -52,11 +52,10 @@ tags: $(SOURCES) $(HEADERS)
@-if [ -x /usr/bin/ctags ]; then ctags $(SOURCES) $(HEADERS) ; fi
install: all
-- strip $(PLUG).so
+- @$(STRIP) $(PLUG).so > /dev/null
install -d $(DEST)
- install -m 644 $(PLUG).so $(DEST)
+- install -m 644 $(PLUG).so $(DEST)
++ install -m 755 $(PLUG).so $(DEST)
install -d $(RDFDEST)
- install -m 644 $(PLUG).rdf $(RDFDEST)
+ install -p -m 644 $(PLUG).rdf $(RDFDEST)
diff --git a/ladspa-caps-plugins.spec b/ladspa-caps-plugins.spec
index d981cb3..bd08da1 100644
--- a/ladspa-caps-plugins.spec
+++ b/ladspa-caps-plugins.spec
@@ -1,13 +1,13 @@
Name: ladspa-caps-plugins
-Version: 0.4.2
-Release: 9%{?dist}
+Version: 0.9.7
+Release: 1%{?dist}
Summary: The C* Audio Plugin Suite
License: GPLv2+
Group: Applications/Multimedia
URL: http://quitte.de/dsp/caps.html
-Source0: http://quitte.de/dsp/caps_%{version}.tar.gz
+Source0: http://quitte.de/dsp/caps_%{version}.tar.bz2
+Source1: http://quitte.de/dsp/caps-doc_%{version}.tar.bz2
Patch0: caps-0.4.2-nostrip.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ladspa-devel
Requires: ladspa
Obsoletes: caps <= 0.3.0-2
@@ -21,36 +21,33 @@ equalization and others.
%prep
-%setup -q -n caps-%{version}
+%setup -q -a 1 -n caps-%{version}
%patch0 -p1 -z .nostrip
+mv caps-doc-%{version} html
# use the system version of ladspa.h
-%{__rm} ladspa.h
+rm ladspa.h
%build
-%{__make} %{?_smp_mflags} OPTS="$RPM_OPT_FLAGS -fPIC"
+make %{?_smp_mflags} OPTS="$RPM_OPT_FLAGS -fPIC"
%install
-%{__rm} -rf %{buildroot}
-%{__make} DEST=%{buildroot}%{_libdir}/ladspa \
- RDFDEST=%{buildroot}%{_datadir}/ladspa/rdf install
-# make sure plugin shared library is executable
-%{__chmod} +x %{buildroot}%{_libdir}/ladspa/caps.so
-
-
-%clean
-%{__rm} -rf %{buildroot}
+make DEST=%{buildroot}%{_libdir}/ladspa \
+ RDFDEST=%{buildroot}%{_datadir}/ladspa/rdf install
%files
-%defattr(-,root,root,-)
-%doc CHANGES COPYING README* caps.html
+%doc CHANGES COPYING README* html
%{_libdir}/ladspa/*.so
%{_datadir}/ladspa/rdf/*
%changelog
+* Fri Aug 2 2013 Hans de Goede <hansdegoede at redhat.com> - 0.9.7-1
+- Update to latest upstream release 0.9.7 (rhbz#901363)
+- Various specfile improvements
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
diff --git a/sources b/sources
index d4c6683..8de7b08 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-041f3a6934ed34f7073117e34f78a5e9 caps_0.4.2.tar.gz
+d74582d3ae7a4244d3a77501693bbdf3 caps_0.9.7.tar.bz2
+03811f37b483aa793f098690b165df27 caps-doc_0.9.7.tar.bz2
More information about the scm-commits
mailing list