Accepting request 713370 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/713370
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcuefile?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal 2019-07-04 11:53:00 +00:00 committed by Git OBS Bridge
parent 9554691937
commit fc5c1f55b1
2 changed files with 18 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 20:00:53 UTC 2019 - mgorse@suse.com

View File

@ -2,6 +2,7 @@
# spec file for package libcuefile
#
# 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,21 +13,23 @@
# 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 0
Name: libcuefile
Version: r475
Release: 1
License: GPL-2.0
License: GPL-2.0-only
Summary: Library for Working With Cue Sheet (cue) and Table Of Contents (toc) Files
Url: http://www.musepack.net/
Url: https://www.musepack.net/
Group: System/Libraries
Source0: http://files.musepack.net/source/%{name}_%{version}.tar.gz
Source0: https://files.musepack.net/source/%{name}_%{version}.tar.gz
# PATCH-FIX-OPENSUSE mathmeaning.patch asterios.dramis@gmail.com -- Fix rpm post build error "Program uses operation a <= b <= c, which is not well defined." (based on patch from openSUSE cuetools)
Patch0: mathmeaning.patch
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libcuefile is a library for working with Cue Sheet (cue) and Table of Contents
@ -58,7 +61,7 @@ chmod 644 include/cuetools/*.h
%build
%cmake
make %{?_smp_mflags} VERBOSE=1
%cmake_build
%install
%cmake_install
@ -73,7 +76,8 @@ rm -f %{buildroot}%{_libdir}/*.a
%postun -n libcuefile%{so_ver} -p /sbin/ldconfig
%files devel
%doc AUTHORS COPYING README
%license COPYING
%doc AUTHORS README
%{_includedir}/cuetools/
%{_libdir}/libcuefile.so