From 0f84f242643a913ba81bd6c260c39064c432afd3 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 29 Mar 2021 00:32:04 +0300
Subject: [PATCH] Make the license identifiable by GitHub
---
COPYING.txt | 20 --------------------
README.txt | 2 +-
SDL2_mixer.spec.in | 6 +++---
3 files changed, 4 insertions(+), 24 deletions(-)
delete mode 100644 COPYING.txt
diff --git a/COPYING.txt b/COPYING.txt
deleted file mode 100644
index 8c18a72..0000000
--- a/COPYING.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- SDL_mixer: An audio mixer library based on the SDL library
- Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
-
- This software is provided 'as-is', without any express or implied
- warranty. In no event will the authors be held liable for any damages
- arising from the use of this software.
-
- Permission is granted to anyone to use this software for any purpose,
- including commercial applications, and to alter it and redistribute it
- freely, subject to the following restrictions:
-
- 1. The origin of this software must not be misrepresented; you must not
- claim that you wrote the original software. If you use this software
- in a product, an acknowledgment in the product documentation would be
- appreciated but is not required.
- 2. Altered source versions must be plainly marked as such, and must not be
- misrepresented as being the original software.
- 3. This notice may not be removed or altered from any source distribution.
-*/
diff --git a/README.txt b/README.txt
index 3f7330f..d1dbee8 100644
--- a/README.txt
+++ b/README.txt
@@ -50,5 +50,5 @@ and Xcode-iOS/SDL_mixer.xcodeproj in your application, add the SDL/include
and SDL_mixer directories to your "Header Search Paths" setting, then add the
libSDL2.a and libSDL2_mixer.a to your "Link Binary with Libraries" setting.
-This library is under the zlib license, see the file "COPYING.txt" for details.
+This library is under the zlib license, see the file "LICENSE.txt" for details.
diff --git a/SDL2_mixer.spec.in b/SDL2_mixer.spec.in
index bccf2bd..1929e08 100644
--- a/SDL2_mixer.spec.in
+++ b/SDL2_mixer.spec.in
@@ -30,7 +30,7 @@ of music, mixed by the popular MikMod MOD, Timidity MIDI, Ogg Vorbis,
Tremor, libmpg123 and libmad MP3 libraries.
%prep
-%setup
+%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
@@ -45,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc README.txt CHANGES.txt COPYING.txt
+%doc README.txt CHANGES.txt LICENSE.txt
%{prefix}/lib/lib*.so.*
%files devel
@@ -57,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/lib/pkgconfig/*.pc
%changelog
-* Wed Jan 19 2000 Sam Lantinga
+* Wed Jan 19 2000 Sam Lantinga
- converted to get package information from configure
* Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
- initial spec file