package: use SPDX short identifier for OFL license

We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for OFLv1.0/OFLv1.1 is OFL-1.0/OFL-1.1.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/OFLv([1]\.[0-1])/OFL-\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Rahul Bedarkar 2017-04-02 00:36:23 +05:30 committed by Thomas Petazzoni
parent b6dcb8af3e
commit b06d055c11
5 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ CANTARELL_VERSION = $(CANTARELL_VERSION_MAJOR).25
CANTARELL_SITE = http://ftp.gnome.org/pub/gnome/sources/cantarell-fonts/$(CANTARELL_VERSION_MAJOR) CANTARELL_SITE = http://ftp.gnome.org/pub/gnome/sources/cantarell-fonts/$(CANTARELL_VERSION_MAJOR)
CANTARELL_SOURCE = cantarell-fonts-$(CANTARELL_VERSION).tar.xz CANTARELL_SOURCE = cantarell-fonts-$(CANTARELL_VERSION).tar.xz
CANTARELL_DEPENDENCIES = host-pkgconf CANTARELL_DEPENDENCIES = host-pkgconf
CANTARELL_LICENSE = OFLv1.1 CANTARELL_LICENSE = OFL-1.1
CANTARELL_LICENSE_FILES = COPYING CANTARELL_LICENSE_FILES = COPYING
$(eval $(autotools-package)) $(eval $(autotools-package))

View File

@ -6,7 +6,7 @@
FONT_AWESOME_VERSION = v4.5.0 FONT_AWESOME_VERSION = v4.5.0
FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION)) FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION))
FONT_AWESOME_LICENSE = OFLv1.1 (font), MIT (CSS, LESS and Sass files) FONT_AWESOME_LICENSE = OFL-1.1 (font), MIT (CSS, LESS and Sass files)
FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss
define FONT_AWESOME_INSTALL_TARGET_CMDS define FONT_AWESOME_INSTALL_TARGET_CMDS

View File

@ -7,7 +7,7 @@
GOOGLEFONTDIRECTORY_SITE = \ GOOGLEFONTDIRECTORY_SITE = \
https://s3.amazonaws.com/joemaller_google_webfonts https://s3.amazonaws.com/joemaller_google_webfonts
GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz
GOOGLEFONTDIRECTORY_LICENSE = OFLv1.1 GOOGLEFONTDIRECTORY_LICENSE = OFL-1.1
GOOGLEFONTDIRECTORY_FONTS = \ GOOGLEFONTDIRECTORY_FONTS = \
$(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS)) $(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS))

View File

@ -8,7 +8,7 @@ INCONSOLATA_VERSION = 001.010
INCONSOLATA_SITE = http://snapshot.debian.org/archive/debian/20090524T155154Z/pool/main/t/ttf-inconsolata INCONSOLATA_SITE = http://snapshot.debian.org/archive/debian/20090524T155154Z/pool/main/t/ttf-inconsolata
INCONSOLATA_SOURCE = ttf-inconsolata_$(INCONSOLATA_VERSION).orig.tar.gz INCONSOLATA_SOURCE = ttf-inconsolata_$(INCONSOLATA_VERSION).orig.tar.gz
INCONSOLATA_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/inconsolata INCONSOLATA_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/inconsolata
INCONSOLATA_LICENSE = OFLv1.0 INCONSOLATA_LICENSE = OFL-1.0
INCONSOLATA_LICENSE_FILES = OFL.txt INCONSOLATA_LICENSE_FILES = OFL.txt
define INCONSOLATA_INSTALL_TARGET_CMDS define INCONSOLATA_INSTALL_TARGET_CMDS

View File

@ -8,7 +8,7 @@ LIBERATION_VERSION = 2.00.1
LIBERATION_SITE = https://releases.pagure.org/liberation-fonts LIBERATION_SITE = https://releases.pagure.org/liberation-fonts
LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
LIBERATION_LICENSE = OFLv1.1 LIBERATION_LICENSE = OFL-1.1
LIBERATION_LICENSE_FILES = LICENSE LIBERATION_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y) ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y)