From: Adam Gołębiowski Date: Tue, 6 Aug 2019 09:03:11 +0000 (+0200) Subject: - updated to 20190516 snap (required by ffmpeg-4.2) X-Git-Tag: auto/th/libmysofa-0.7-2.20190516.1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=0bb9bf5c72422d31fd429f8a58ca50d6c2c62892;p=packages%2Flibmysofa.git - updated to 20190516 snap (required by ffmpeg-4.2) --- diff --git a/libmysofa-pc.patch b/libmysofa-pc.patch deleted file mode 100644 index 5a47dbd..0000000 --- a/libmysofa-pc.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- libmysofa-0.7/libmysofa.pc.cmake.orig 2019-03-31 17:16:24.000000000 +0200 -+++ libmysofa-0.7/libmysofa.pc.cmake 2019-07-23 06:26:11.184737290 +0200 -@@ -3,8 +3,8 @@ - Version: @PROJECT_VERSION@ - Requires: @PKG_CONFIG_REQUIRES@ - prefix=@CMAKE_INSTALL_PREFIX@ --includedir=${prefix}/include --libdir=${prefix}/lib -+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ -+libdir=@CMAKE_INSTALL_FULL_LIBDIR@ - Libs: -L${libdir} -lmysofa - Cflags: -I${includedir} - ---- libmysofa-0.7/CMakeLists.txt.orig 2019-03-31 17:16:24.000000000 +0200 -+++ libmysofa-0.7/CMakeLists.txt 2019-07-23 06:33:15.395772475 +0200 -@@ -15,8 +15,8 @@ - SET(CPACK_GENERATOR "DEB") - SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "IOhannes m zmölnig") - SET(CPACK_PACKAGE_VERSION_MAJOR "0") --SET(CPACK_PACKAGE_VERSION_MINOR "5") --SET(CPACK_PACKAGE_VERSION_PATCH "1") -+SET(CPACK_PACKAGE_VERSION_MINOR "7") -+SET(CPACK_PACKAGE_VERSION_PATCH "0") - SET(CPACK_DEBIAN_PACKAGE_DEPENDS "zlib1g") - - SET(PKG_CONFIG_PRIVATELIBS "") -@@ -67,5 +67,5 @@ - ) - install(FILES - "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc" -- DESTINATION "lib/pkgconfig" -+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig" - ) diff --git a/libmysofa.spec b/libmysofa.spec index 777c10f..fb0d43e 100644 --- a/libmysofa.spec +++ b/libmysofa.spec @@ -1,14 +1,16 @@ +%define snap 20190516 +%define githash 3dba53f9c14795b109577519a0df2e25e15fcd6a +%define rel 1 Summary: Library to read AES SOFA files Summary(pl.UTF-8): Biblioteka do odczytu plików AES SOFA Name: libmysofa Version: 0.7 -Release: 2 +Release: 2.%{snap}.%{rel} License: BSD Group: Libraries #Source0Download: https://github.com/hoene/libmysofa/releases -Source0: https://github.com/hoene/libmysofa/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 2711bb53924cd086b625e9aab84d195f -Patch0: %{name}-pc.patch +Source0: https://github.com/hoene/libmysofa/archive/%{githash}/%{name}-%{snap}.tar.gz +# Source0-md5: 71df8b1badcb2369db1ab1ef7244fe49 URL: https://github.com/hoene/libmysofa BuildRequires: CUnit BuildRequires: cmake >= 2.8 @@ -50,8 +52,7 @@ Static libmysofa library. Statyczna biblioteka libmysofa. %prep -%setup -q -%patch0 -p1 +%setup -q -n %{name}-%{githash} %build install -d build