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 Fri Jun 21 20:00:53 UTC 2019 - mgorse@suse.com

View File

@ -2,6 +2,7 @@
# spec file for package libcuefile # spec file for package libcuefile
# #
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>. # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 0 %define so_ver 0
Name: libcuefile Name: libcuefile
Version: r475 Version: r475
Release: 1 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 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 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) # 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 Patch0: mathmeaning.patch
BuildRequires: cmake BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
libcuefile is a library for working with Cue Sheet (cue) and Table of Contents libcuefile is a library for working with Cue Sheet (cue) and Table of Contents
@ -58,7 +61,7 @@ chmod 644 include/cuetools/*.h
%build %build
%cmake %cmake
make %{?_smp_mflags} VERBOSE=1 %cmake_build
%install %install
%cmake_install %cmake_install
@ -73,7 +76,8 @@ rm -f %{buildroot}%{_libdir}/*.a
%postun -n libcuefile%{so_ver} -p /sbin/ldconfig %postun -n libcuefile%{so_ver} -p /sbin/ldconfig
%files devel %files devel
%doc AUTHORS COPYING README %license COPYING
%doc AUTHORS README
%{_includedir}/cuetools/ %{_includedir}/cuetools/
%{_libdir}/libcuefile.so %{_libdir}/libcuefile.so