[packages/aften] - added libdir patch - release 2
qboosh
qboosh at pld-linux.org
Mon Oct 19 17:26:55 CEST 2015
commit f40614641ab30b4a0ff1cbfed1dbd5afc3ea6805
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 19 17:28:03 2015 +0200
- added libdir patch
- release 2
aften-libdir.patch | 11 +++++++++++
aften.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/aften.spec b/aften.spec
index 8c419cf..985e2d6 100644
--- a/aften.spec
+++ b/aften.spec
@@ -2,11 +2,12 @@ Summary: A/52 audio encoder
Summary(pl.UTF-8): Koder dźwięku A/52
Name: aften
Version: 0.0.8
-Release: 1
+Release: 2
License: LGPL v2+
Group: Applications/Sound
Source0: http://downloads.sourceforge.net/aften/%{name}-%{version}.tar.bz2
# Source0-md5: fde67146879febb81af3d95a62df8840
+Patch0: %{name}-libdir.patch
URL: http://aften.sourceforge.net/
BuildRequires: cmake >= 2.4
BuildRequires: libstdc++-devel
@@ -70,6 +71,7 @@ Plik nagłówkowy interfejsu C++ do biblioteki Aften.
%prep
%setup -q
+%patch0 -p1
%build
install -d build
diff --git a/aften-libdir.patch b/aften-libdir.patch
new file mode 100644
index 0000000..f6a8e5a
--- /dev/null
+++ b/aften-libdir.patch
@@ -0,0 +1,11 @@
+--- aften-0.0.8/CMakeLists.txt.orig 2007-09-08 03:51:47.000000000 +0200
++++ aften-0.0.8/CMakeLists.txt 2015-10-19 17:09:11.175537745 +0200
+@@ -305,6 +305,6 @@
+
+ INSTALL(TARGETS ${INSTALL_TARGETS} aften_exe wavinfo wavrms wavfilter
+ RUNTIME DESTINATION bin
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib)
++ LIBRARY DESTINATION lib${LIB_SUFFIX}
++ ARCHIVE DESTINATION lib${LIB_SUFFIX})
+ INSTALL(FILES ${INSTALL_HEADERS} libaften/aften.h libaften/aften-types.h DESTINATION include/aften)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aften.git/commitdiff/f40614641ab30b4a0ff1cbfed1dbd5afc3ea6805
More information about the pld-cvs-commit
mailing list