SDL_ttf: Make the license identifiable by GitHub

From a36dce92ecccaac5c05cc1f5a38d3e6234f65360 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 12:28:58 -0700
Subject: [PATCH] Make the license identifiable by GitHub

---
 CMakeLists.txt             | 2 +-
 COPYING.txt => LICENSE.txt | 0
 Makefile.am                | 2 +-
 README.txt                 | 2 +-
 SDL2_ttf.spec.in           | 2 +-
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename COPYING.txt => LICENSE.txt (100%)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1db6f8d..cf67f6ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -289,7 +289,7 @@ if (NOT TTF_DISABLE_INSTALL)
         install(FILES ${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc
             DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
     endif ()
-    install(FILES "COPYING.txt" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/licenses/${PROJECT_NAME}")
+    install(FILES "LICENSE.txt" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/licenses/${PROJECT_NAME}")
     if (NOT (WIN32 OR CYGWIN OR MINGW))
         if(BUILD_SHARED_LIBS)
             if(NOT ANDROID)
diff --git a/COPYING.txt b/LICENSE.txt
similarity index 100%
rename from COPYING.txt
rename to LICENSE.txt
diff --git a/Makefile.am b/Makefile.am
index 1998db19..86f7a3ac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -140,7 +140,7 @@ pkgconfig_DATA = SDL2_ttf.pc
 .rc.o:
 	$(RC) $< $@
 
-EXTRA_DIST = CHANGES.txt COPYING.txt README.txt \
+EXTRA_DIST = CHANGES.txt LICENSE.txt README.txt \
 	Android.mk CMakeLists.txt Makefile.os2 version.rc	\
 	VisualC VisualC-WinRT Xcode external	\
 	SDL2_ttf.spec SDL2_ttf.spec.in		\
diff --git a/README.txt b/README.txt
index b15205b2..461ac9c4 100644
--- a/README.txt
+++ b/README.txt
@@ -17,7 +17,7 @@ redistributable in their special executable installer form (May 1998).
 There are plenty of freeware and shareware fonts available on the Internet
 though, and may suit your purposes.
 
-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.
 
 Portions of this software are copyright © 2013 The FreeType Project (www.freetype.org).  All rights reserved.
 
diff --git a/SDL2_ttf.spec.in b/SDL2_ttf.spec.in
index 6f48c302..a6cf1eab 100644
--- a/SDL2_ttf.spec.in
+++ b/SDL2_ttf.spec.in
@@ -47,7 +47,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