Accepting request 713371 from home:StefanBruens:branches:multimedia:libs

Please forward to Factory, required for gstreamer-plugins-bad (musepack).

- More spec file cleanup:
  * Use SPDX identifier to License
  * Use https:// for Source and Url
  * Remove BuildRoot

OBS-URL: https://build.opensuse.org/request/show/713371
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libreplaygain?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2019-07-04 11:53:03 +00:00 committed by Git OBS Bridge
parent 77a35d2163
commit 59c4251acb
2 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Jul 4 10:42:03 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- More spec file cleanup:
* Use SPDX identifier to License
* Use https:// for Source and Url
* Remove BuildRoot
-------------------------------------------------------------------
Fri Jun 21 19:40:34 UTC 2019 - mgorse@suse.com

View File

@ -2,6 +2,7 @@
# spec file for package libreplaygain
#
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +13,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 1
Name: libreplaygain
Version: r475
Release: 0
License: LGPL-2.1+
License: LGPL-2.1-or-later
Summary: Analyze Input Samples and Give the Recommended dB Change
Url: http://www.musepack.net/
Url: https://www.musepack.net/
Group: System/Libraries
Source0: http://files.musepack.net/source/%{name}_%{version}.tar.gz
Patch0: libreplaygain-math.patch
Source0: https://files.musepack.net/source/%{name}_%{version}.tar.gz
Patch0: libreplaygain-math.patch
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libreplaygain is a library that analyzes input samples and give the recommended
@ -59,7 +62,7 @@ chmod 644 include/replaygain/*.h
sed -i "s/set(CMAKE_C_FLAGS.*$//" CMakeLists.txt
%cmake
make %{?_smp_mflags} VERBOSE=1
%cmake_build
%install
%cmake_install