package: use SPDX short identifier for OFL license
authorRahul Bedarkar <rahulbedarkar89@gmail.com>
Sat, 1 Apr 2017 19:06:23 +0000 (00:36 +0530)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 20:35:30 +0000 (22:35 +0200)
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>
package/cantarell/cantarell.mk
package/font-awesome/font-awesome.mk
package/googlefontdirectory/googlefontdirectory.mk
package/inconsolata/inconsolata.mk
package/liberation/liberation.mk

index 3cdf600dd23bee9789ff03c1b6b69df9426e52e5..2769b35c1f6d67531198537aa013fcd08d9ab424 100644 (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_SOURCE = cantarell-fonts-$(CANTARELL_VERSION).tar.xz
 CANTARELL_DEPENDENCIES = host-pkgconf
-CANTARELL_LICENSE = OFLv1.1
+CANTARELL_LICENSE = OFL-1.1
 CANTARELL_LICENSE_FILES = COPYING
 
 $(eval $(autotools-package))
index 3d2cccaefc49a7bb9b63f03e7677ffa83904f332..8933783272c2218bf600ac7e0efe7633df859dce 100644 (file)
@@ -6,7 +6,7 @@
 
 FONT_AWESOME_VERSION = v4.5.0
 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
 
 define FONT_AWESOME_INSTALL_TARGET_CMDS
index 0e60892bb2aae3092cac050f4b8f9d1a5e0ab24a..c34de3b0fe41751fc1ddf929ecff13b5739c5f7f 100644 (file)
@@ -7,7 +7,7 @@
 GOOGLEFONTDIRECTORY_SITE = \
        https://s3.amazonaws.com/joemaller_google_webfonts
 GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz
-GOOGLEFONTDIRECTORY_LICENSE = OFLv1.1
+GOOGLEFONTDIRECTORY_LICENSE = OFL-1.1
 
 GOOGLEFONTDIRECTORY_FONTS = \
        $(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS))
index 2f53b98a220586f2e756551fff71a817274e1559..3fe3895cc7330d9cf88196da94818143389bfeb7 100644 (file)
@@ -8,7 +8,7 @@ INCONSOLATA_VERSION = 001.010
 INCONSOLATA_SITE = http://snapshot.debian.org/archive/debian/20090524T155154Z/pool/main/t/ttf-inconsolata
 INCONSOLATA_SOURCE = ttf-inconsolata_$(INCONSOLATA_VERSION).orig.tar.gz
 INCONSOLATA_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/inconsolata
-INCONSOLATA_LICENSE = OFLv1.0
+INCONSOLATA_LICENSE = OFL-1.0
 INCONSOLATA_LICENSE_FILES = OFL.txt
 
 define INCONSOLATA_INSTALL_TARGET_CMDS
index a77c014a0589b159b392c5b02d2d218ef32931df..cabee172021d51669b4050e8009137de45418c79 100644 (file)
@@ -8,7 +8,7 @@ LIBERATION_VERSION = 2.00.1
 LIBERATION_SITE = https://releases.pagure.org/liberation-fonts
 LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
 LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
-LIBERATION_LICENSE = OFLv1.1
+LIBERATION_LICENSE = OFL-1.1
 LIBERATION_LICENSE_FILES = LICENSE
 
 ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y)