Translate SPDX licenses to Fedora license tags, warn about "/"

"/" is deprecated everywhere, so warn about that.
Translation from SPDX is only used for fedora or epel targets.

The Fedora license list coalesces various license variants that have different
SPDX license tags into a single license tag. Most notably, this is done for the
39 BSD variants and 18 MIT variants on the Fedora good licenses list. When a
spdx→fedora mapping exists, it should always be unambiguous, because SPDX
considers any change in the license text to be a unique license, and Fedora is
more permissive in that regard.

To make a review of the translation easy, debug info is output to stdout, and
comments are inserted into the spec when some translation is required or when
there are problems with the upstream licensing.

The license list is pulled from the spdx project:
$ curl 'https://docs.google.com/spreadsheets/d/1LUJuzGKC5K2yYuAg8S-2VYbS2dmg_4IlFdpqj7n9Ghg/export?format=csv&id=1LUJuzGKC5K2yYuAg8S-2VYbS2dmg_4IlFdpqj7n9Ghg&gid=138634715' > rust2rpm/spdx_to_fedora.csv

v2:
- apply "/" replacement always

v3:
- print to stderr
- use csv.DictReader
- filter out empty license lines
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-08-14 11:54:33 +02:00
parent 9b64a6fd9f
commit 73998d6adc
7 changed files with 441 additions and 2 deletions

View file

@ -1,3 +1,4 @@
include LICENSE include LICENSE
include data/* include data/*
include rust2rpm/spdx_to_fedora.csv
include rust2rpm/templates/* include rust2rpm/templates/*

View file

@ -1 +1,2 @@
from .metadata import * from .metadata import *
from . import licensing

View file

@ -16,7 +16,7 @@ import jinja2
import requests import requests
import tqdm import tqdm
from . import Metadata from . import Metadata, licensing
DEFAULT_EDITOR = "vi" DEFAULT_EDITOR = "vi"
XDG_CACHE_HOME = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache")) XDG_CACHE_HOME = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))
@ -253,6 +253,11 @@ def main():
kwargs["date"] = time.strftime("%a %b %d %Y") kwargs["date"] = time.strftime("%a %b %d %Y")
kwargs["packager"] = detect_packager() kwargs["packager"] = detect_packager()
if metadata.license is not None:
license, comments = licensing.translate_license(args.target, metadata.license)
kwargs["license"] = license
kwargs["license_comments"] = comments
spec_file = "rust-{}.spec".format(crate) spec_file = "rust-{}.spec".format(crate)
spec_contents = template.render(md=metadata, patch_file=patch_file, **kwargs) spec_contents = template.render(md=metadata, patch_file=patch_file, **kwargs)
if args.stdout: if args.stdout:

53
rust2rpm/licensing.py Normal file
View file

@ -0,0 +1,53 @@
import os as _os
import sys as _sys
import csv as _csv
import functools as _functools
SPDX_TO_FEDORA_CSV = _os.path.dirname(__file__) + '/spdx_to_fedora.csv'
def translate_slashes(license):
"Replace all slashes with OR, emit warning"
split = [l.strip() for l in license.split("/")]
if len(split) > 1:
print('Upstream uses deprecated "/" syntax. Replacing with "OR"',
file=_sys.stderr)
return ' OR '.join(split)
@_functools.lru_cache()
def spdx_to_fedora_map():
with open(SPDX_TO_FEDORA_CSV, newline='') as f:
reader = _csv.DictReader(f)
return {line['SPDX License Identifier'] : line['Fedora Short Name']
for line in reader
if line['SPDX License Identifier']}
def translate_license_fedora(license):
comments = ''
final = []
for tag in license.split():
# We accept all variant cases, but output lowercase which is what Fedora LicensingGuidelines specify
if tag.upper() == 'OR':
final.append('or')
elif tag.upper() == 'AND':
final.append('and')
else:
mapped = spdx_to_fedora_map().get(tag, None)
if mapped is None:
comments += f'# FIXME: Upstream uses unknown SPDX tag {tag}!'
final.append(tag)
elif mapped is '':
comments += f"# FIXME: Upstream SPDX tag {tag} not listed in Fedora's good licenses list.\n"
comments += "# FIXME: This package might not be allowed in Fedora!\n"
final.append(tag)
else:
final.append(mapped)
if mapped != tag:
print(f'Upstream license tag {tag} translated to {mapped}',
file=_sys.stderr)
return (' '.join(final), comments or None)
def translate_license(target, license):
license = translate_slashes(license)
if target.startswith("fedora") or target.startswith("epel"):
return translate_license_fedora(license)
return license, None

372
rust2rpm/spdx_to_fedora.csv Normal file
View file

@ -0,0 +1,372 @@
SPDX Full name of License,SPDX License Identifier,Fedora Short Name,Fedora Fullname (if different),Notes,Other Fedora Licenses (full name) that use same short identifier and are SPDX License List equivalent (as per SPDX Matching Guidelines)
3dfx Glide License,Glide,Glide,,,
Abstyles License,Abstyles,Abstyles,,,
Academic Free License v1.1,AFL-1.1,,,not on Fedora list,
Academic Free License v1.2,AFL-1.2,,,not on Fedora list,
Academic Free License v2.0,AFL-2.0,,,not on Fedora list,
Academic Free License v2.1,AFL-2.1,,,not on Fedora list,
Academic Free License v3.0,AFL-3.0,AFL,Academic Free License,,
Academy of Motion Picture Arts and Sciences BSD,AMPAS,AMPAS BSD,,,
Adaptive Public License 1.0,APL-1.0,,,Fedora bad list,
Adobe Glyph List License,Adobe-Glyph,MIT,,,
Adobe Postscript AFM License,APAFML,APAFML,,,
Adobe Systems Incorporated Source Code License Agreement,Adobe-2006,Adobe,,,
Affero General Public License v1.0,AGPL-1.0,AGPLv1,,,
Afmparse License,Afmparse,Afmparse,,,
Aladdin Free Public License,Aladdin,,,not on Fedora list,
Amazon Digital Services License,ADSL,ADSL,,,
AMD's plpa_map.c License,AMDPLPA,AMDPLPA,,,
ANTLR Software Rights Notice,ANTLR-PD,,,not on Fedora list,
Apache License 1.0,Apache-1.0,ASL 1.0,Apache Software License 1.0,,
Apache License 1.1,Apache-1.1,ASL 1.1,Apache Software License 1.1,,"4Suite Copyright License
MX4J License
Neotonic Clearsilver License
Phorum License
Sequence Library License
QuickFix License"
Apache License 2.0,Apache-2.0,ASL 2.0,Apache Software License 2.0,,
Apple MIT License,AML,AML,,,
Apple Public Source License 1.0,APSL-1.0,,,Fedora bad list,
Apple Public Source License 1.1,APSL-1.1,,,Fedora bad list,
Apple Public Source License 1.2,APSL-1.2,,,Fedora bad list,
Apple Public Source License 2.0,APSL-2.0,APSL 2.0,,,
Artistic License 1.0,Artistic-1.0,,,not on Fedora list,
Artistic License 1.0 (Perl),Artistic-1.0-Perl,,,Fedora bad list,
Artistic License 1.0 w/clause 8,Artistic-1.0-cl8,,,not on Fedora list,
Artistic License 2.0,Artistic-2.0,Artistic 2.0,Artistic 2.0,,
Attribution Assurance License,AAL,AAL,,,
Bahyph License,Bahyph,Bahyph,,,
Barr License,Barr,Barr,,,
Beerware License,Beerware,Beerware,,,
BitTorrent Open Source License v1.0,BitTorrent-1.0,,,This specific version not on Fedora list,
BitTorrent Open Source License v1.1,BitTorrent-1.1,BitTorrent,BitTorrent License,,
Boost Software License 1.0,BSL-1.0,Boost,Boost Software License,,
Borceux license,Borceux,Borceux,,,
"BSD 2-clause ""Simplified"" License",BSD-2-Clause,BSD,BSD License (two clause),,Cryptix General License
BSD 2-clause FreeBSD License,BSD-2-Clause-FreeBSD,,,not on Fedora list,
BSD 2-clause NetBSD License,BSD-2-Clause-NetBSD,,,not on Fedora list,
"BSD 3-clause ""New"" or ""Revised"" License",BSD-3-Clause,BSD,BSD License (no advertising),,Eclipse Distribution License 1.0
BSD 3-clause Clear License,BSD-3-Clause-Clear,,,not on Fedora list,
"BSD 4-clause ""Original"" or ""Old"" License",BSD-4-Clause,BSD with advertising,,See note re: BSD-4-Clause-UC (need to confirm w/Fedora),
BSD Protection License,BSD-Protection,BSD Protection,,,
BSD with attribution,BSD-3-Clause-Attribution,BSD with attribution,,,
BSD-4-Clause (University of California-Specific),BSD-4-Clause-UC,BSD,,"Due to U. of CA 1999 retroactive deletion of the advertising clause, this is effectively 'BSD'-3-clause. Hence, Fedora would classify as “BSD” and not “BSD with advertising”? (need to confirm with Fedora)",
bzip2 and libbzip2 License v1.0.5,bzip2-1.0.5,,,not on Fedora list,
bzip2 and libbzip2 License v1.0.6,bzip2-1.0.6,,,not on Fedora list,
Caldera License,Caldera,,,not on Fedora list,
CeCILL Free Software License Agreement v1.0,CECILL-1.0,,,This specific version not on Fedora list,
CeCILL Free Software License Agreement v1.1,CECILL-1.1,CeCILL,CeCILL License v1.1,,
CeCILL Free Software License Agreement v2.0,CECILL-2.0,CeCILL,CeCILL License v2,,
CeCILL-B Free Software License Agreement,CECILL-B,CeCILL-B,CeCILL-B License,,
CeCILL-C Free Software License Agreement,CECILL-C,CeCILL-C,CeCILL-C License,,
Clarified Artistic License,ClArtistic,Artistic clarified,Artistic (clarified),,
CMU License,MIT-CMU,MIT,CMU License (BSD like),,
CNRI Jython License,CNRI-Jython,Jpython,Jpython License (old),,
CNRI Python License,CNRI-Python,CNRI,CNRI License (Old Python),Check may not be exact match as per SPDX Matching Guidelines,
CNRI Python Open Source GPL Compatible License Agreement,CNRI-Python-GPL-Compatible,,,not on Fedora list,
Code Project Open License 1.02,CPOL-1.02,,,Fedora bad list,
Common Development and Distribution License 1.0,CDDL-1.0,CDDL,Common Development Distribution License,,
Common Development and Distribution License 1.1,CDDL-1.1,CDDL,,"This specific version not on Fedora list. Same as 1.0, but changes name from Sun to Oracle in section 4.1 and adds patent infringement termination clause (section 6.3) would Fedora also consider “CDDL”?",
Common Public Attribution License 1.0,CPAL-1.0,CPAL,CPAL License 1.0,,
Common Public License 1.0,CPL-1.0,CPL,Common Public License,,
Computer Associates Trusted Open Source License 1.1,CATOSL-1.1,CATOSL,,,
Condor Public License v1.1,Condor-1.1,Condor,Condor Public License,,
Creative Commons Attribution 1.0,CC-BY-1.0,,,This specific version not on Fedora list,
Creative Commons Attribution 2.0,CC-BY-2.0,,,This specific version not on Fedora list,
Creative Commons Attribution 2.5,CC-BY-2.5,,,This specific version not on Fedora list,
Creative Commons Attribution 3.0,CC-BY-3.0,CC-BY,,,
Creative Commons Attribution 4.0,CC-BY-4.0,,,This specific version not on Fedora list,
Creative Commons Attribution No Derivatives 1.0,CC-BY-ND-1.0,,,not on Fedora list,
Creative Commons Attribution No Derivatives 2.0,CC-BY-ND-2.0,,,not on Fedora list,
Creative Commons Attribution No Derivatives 2.5,CC-BY-ND-2.5,,,not on Fedora list,
Creative Commons Attribution No Derivatives 3.0,CC-BY-ND-3.0,,,not on Fedora list,
Creative Commons Attribution No Derivatives 4.0,CC-BY-ND-4.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial 1.0,CC-BY-NC-1.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial 2.0,CC-BY-NC-2.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial 2.5,CC-BY-NC-2.5,,,not on Fedora list,
Creative Commons Attribution Non Commercial 3.0,CC-BY-NC-3.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial 4.0,CC-BY-NC-4.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial No Derivatives 1.0,CC-BY-NC-ND-1.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial No Derivatives 2.0,CC-BY-NC-ND-2.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial No Derivatives 2.5,CC-BY-NC-ND-2.5,,,not on Fedora list,
Creative Commons Attribution Non Commercial No Derivatives 3.0,CC-BY-NC-ND-3.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial No Derivatives 4.0,CC-BY-NC-ND-4.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial Share Alike 1.0,CC-BY-NC-SA-1.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial Share Alike 2.0,CC-BY-NC-SA-2.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial Share Alike 2.5,CC-BY-NC-SA-2.5,,,not on Fedora list,
Creative Commons Attribution Non Commercial Share Alike 3.0,CC-BY-NC-SA-3.0,,,not on Fedora list,
Creative Commons Attribution Non Commercial Share Alike 4.0,CC-BY-NC-SA-4.0,,,not on Fedora list,
Creative Commons Attribution Share Alike 1.0,CC-BY-SA-1.0,,,This specific version not on Fedora list,
Creative Commons Attribution Share Alike 2.0,CC-BY-SA-2.0,,,This specific version not on Fedora list,
Creative Commons Attribution Share Alike 2.5,CC-BY-SA-2.5,,,This specific version not on Fedora list,
Creative Commons Attribution Share Alike 3.0,CC-BY-SA-3.0,CC-BY-SA,,,
Creative Commons Attribution Share Alike 4.0,CC-BY-SA-4.0,,,This specific version not on Fedora list,
Creative Commons Zero v1.0 Universal,CC0-1.0,CC0,,,
Crossword License,Crossword,Crossword,,,
CUA Office Public License v1.0,CUA-OPL-1.0,MPLv1.1,,,
Cube License,Cube,Cube,,,
Deutsche Freie Software Lizenz,D-FSL-1.0,,,not on Fedora list,
diffmark license,diffmark,diffmark,,,
Do What The F*ck You Want To Public License,WTFPL,WTFPL,,,
DOC License,DOC,DOC,,,
Dotseqn License,Dotseqn,Dotseqn,,,
DSDP License,DSDP,DSDP,,,
dvipdfm License,dvipdfm,dvipdfm,,,
Eclipse Public License 1.0,EPL-1.0,EPL,,,
Educational Community License v1.0,ECL-1.0,ECL 1.0,,,
Educational Community License v2.0,ECL-2.0,ECL 2.0,,,
eGenix.com Public License 1.1.0,eGenix,eGenix,,,
Eiffel Forum License v1.0,EFL-1.0,,,Fedora bad list,
Eiffel Forum License v2.0,EFL-2.0,EFL 2.0,,,
Enlightenment License (e16),MIT-advertising,MIT with advertising,,,
enna License,MIT-enna,MIT,,,
Entessa Public License v1.0,Entessa,Entessa,Entessa Public License,,
Erlang Public License v1.1,ErlPL-1.1,ERPL,,,
EU DataGrid Software License,EUDatagrid,EU Datagrid,,,
European Union Public License 1.0,EUPL-1.0,,,Fedora bad list,
European Union Public License 1.1,EUPL-1.1,EUPL 1.1,,,
Eurosym License,Eurosym,Eurosym,,,
Fair License,Fair,Fair,,,
feh License,MIT-feh,MIT,,,
Frameworx Open License 1.0,Frameworx-1.0,,,Fedora bad list,
FreeImage Public License v1.0,FreeImage,MPLv1.0,FreeImage Public License,,
Freetype Project License,FTL,FTL,Freetype License,,
FSF Unlimited License,FSFUL,FSFUL,,,
FSF Unlimited License (with License Retention),FSFULLR,FSFULLR,,,
Giftware License,Giftware,Giftware,,,
GL2PS License,GL2PS,GL2PS,,,
Glulxe License,Glulxe,Glulxe,,,
GNU Affero General Public License v3.0,AGPL-3.0,AGPLv3,Affero General Public License 3.0,,
GNU Free Documentation License v1.1,GFDL-1.1,,,This specific version not on Fedora list,
GNU Free Documentation License v1.2,GFDL-1.2,,,This specific version not on Fedora list,
GNU Free Documentation License v1.3,GFDL-1.3,GFDL,,,
GNU General Public License v1.0 only,GPL-1.0,GPLv1,,"For “or later” add + to SPDX or Fedora short identifier:
SPDX: GPL-1.0+
Fedora: GPLv1+ or GPL+",
GNU General Public License v2.0 only,GPL-2.0,GPLv2,,"For “or later” add + to SPDX or Fedora short identifier:
SPDX: GPL-2.0+
Fedora: GPLv2+",
GNU General Public License v3.0 only,GPL-3.0,GPLv3,,"For “or later” add + to SPDX or Fedora short identifier:
SPDX: GPL-3.0+
Fedora: GPLv3+",
GNU Lesser General Public License v2.1 only,LGPL-2.1,LGPLv2,,,
GNU Lesser General Public License v3.0 only,LGPL-3.0,LGPLv3,,,
GNU Library General Public License v2 only,LGPL-2.0,LGPLv2,,,
gnuplot License,gnuplot,gnuplot,,,
gSOAP Public License v1.3b,gSOAP-1.3b,,,not on Fedora list,
Haskell Language Report License,HaskellReport,HaskellReport,,,
Historic Permission Notice and Disclaimer,HPND,MIT,,,
IBM PowerPC Initialization and Boot Software,IBM-pibs,,,not on Fedora list,
IBM Public License v1.0,IPL-1.0,IBM,IBM Public License,,
ICU License,ICU,,,not on Fedora list,
ImageMagick License,ImageMagick,ImageMagick,,,
iMatix Standard Function Library Agreement,iMatix,iMatix,,,
Imlib2 License,Imlib2,Imlib2,,,
Independent JPEG Group License,IJG,IJG,,,
Intel ACPI Software License Agreement,Intel-ACPI,Intel ACPI,,,
Intel Open Source License,Intel,,,Fedora bad list,
IPA Font License,IPA,,,not on Fedora list,
ISC License,ISC,ISC,,,
JasPer License,JasPer-2.0,JasPer,,,
JSON License,JSON,,,Fedora bad list,
LaTeX Project Public License 1.3a,LPPL-1.3a,LPPL,,,
LaTeX Project Public License v1.0,LPPL-1.0,,,This specific version not on Fedora list,
LaTeX Project Public License v1.1,LPPL-1.1,,,This specific version not on Fedora list,
LaTeX Project Public License v1.2,LPPL-1.2,,,This specific version not on Fedora list,
LaTeX Project Public License v1.3c,LPPL-1.3c,,,This specific version not on Fedora list,
Latex2e License,Latex2e,Latex2e,,,
Lawrence Berkeley National Labs BSD variant license,BSD-3-Clause-LBNL,LBNL BSD,,,
Leptonica License,Leptonica,Leptonica,,,
Lesser General Public License For Linguistic Resources,LGPLLR,,,,
libpng License,Libpng,,,not on Fedora list,
libtiff License,libtiff,libtiff,,,
Lucent Public License v1.02,LPL-1.02,LPL,Lucent Public License (Plan9),,
Lucent Public License Version 1.0,LPL-1.0,,,This specific version not on Fedora list,
MakeIndex License,MakeIndex,MakeIndex,,,
Matrix Template Library License,MTLL,MTLL,,,
Microsoft Public License,MS-PL,MS-PL,,,
Microsoft Reciprocal License,MS-RL,MS-RL,,,
MirOS Licence,MirOS,MirOS,,,
MIT +no-false-attribs license,MITNFA,MITNFA,,,
MIT License,MIT,MIT,,,
Motosoto License,Motosoto,Motosoto,,,
Mozilla Public License 1.0,MPL-1.0,MPLv1.0,Mozilla Public License v1.0,,
Mozilla Public License 1.1,MPL-1.1,MPLv1.1,Mozilla Public License v1.1,,
Mozilla Public License 2.0,MPL-2.0,MPLv2.0,Mozilla Public License v2.0,,
Mozilla Public License 2.0 (no copyleft exception),MPL-2.0-no-copyleft-exception,,,This variant not included on Fedora list (confirm this is correct statement),
mpich2 License,mpich2,MIT,,,
Multics License,Multics,,,not on Fedora list,
Mup License,Mup,Mup,,,
NASA Open Source Agreement 1.3,NASA-1.3,,,Fedora bad list,
Naumen Public License,Naumen,Naumen,,,
Net Boolean Public License v1,NBPL-1.0,,,not on Fedora list,
NetCDF license,NetCDF,NetCDF,,,
Nethack General Public License,NGPL,NGPL,,,
Netizen Open Source License,NOSL,NOSL,,,
Netscape Public License v1.0,NPL-1.0,Netscape,Netscape Public License,,
Netscape Public License v1.1,NPL-1.1,,,This specific version not on Fedora list,
Newsletr License,Newsletr,Newsletr,,,
No Limit Public License,NLPL,NLPL,,,
Nokia Open Source License,Nokia,Nokia,,,
Non-Profit Open Software License 3.0,NPOSL-3.0,,,not on Fedora list,
Noweb License,Noweb,Noweb,,,
NRL License,NRL,BSD with advertising,,,
NTP License,NTP,,,not on Fedora list,
Nunit License,Nunit,MIT with advertising,,,
OCLC Research Public License 2.0,OCLC-2.0,,,Fedora bad list,
ODC Open Database License v1.0,ODbL-1.0,,,not on Fedora list,
ODC Public Domain Dedication & License 1.0,PDDL-1.0,,,not on Fedora list,
Open Group Test Suite License,OGTSL,,,Fedora bad list,
Open LDAP Public License 2.2.2,OLDAP-2.2.2,,,This specific version not on Fedora list,
Open LDAP Public License v1.1,OLDAP-1.1,,,This specific version not on Fedora list,
Open LDAP Public License v1.2,OLDAP-1.2,,,This specific version not on Fedora list,
Open LDAP Public License v1.3,OLDAP-1.3,,,This specific version not on Fedora list,
Open LDAP Public License v1.4,OLDAP-1.4,,,This specific version not on Fedora list,
Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B),OLDAP-2.0,,,This specific version not on Fedora list,
Open LDAP Public License v2.0.1,OLDAP-2.0.1,,,This specific version not on Fedora list,
Open LDAP Public License v2.1,OLDAP-2.1,,,This specific version not on Fedora list,
Open LDAP Public License v2.2,OLDAP-2.2,,,This specific version not on Fedora list,
Open LDAP Public License v2.2.1,OLDAP-2.2.1,,,This specific version not on Fedora list,
Open LDAP Public License v2.3,OLDAP-2.3,,,This specific version not on Fedora list,
Open LDAP Public License v2.4,OLDAP-2.4,,,This specific version not on Fedora list,
Open LDAP Public License v2.5,OLDAP-2.5,,,This specific version not on Fedora list,
Open LDAP Public License v2.6,OLDAP-2.6,,,This specific version not on Fedora list,
Open LDAP Public License v2.7,OLDAP-2.7,,,This specific version not on Fedora list,
Open LDAP Public License v2.8,OLDAP-2.8,OpenLDAP,,,
Open Market License,OML,OML,,,
Open Public License v1.0,OPL-1.0,,,Fedora bad list,
Open Software License 1.0,OSL-1.0,OSL 1.0,,,
Open Software License 1.1,OSL-1.1,OSL 1.1,,,
Open Software License 2.0,OSL-2.0,OSL 2.0,,,
Open Software License 2.1,OSL-2.1,OSL 2.1,,,
Open Software License 3.0,OSL-3.0,OSL 3.0,,,
OpenSSL License,OpenSSL,OpenSSL,,,
PHP License v3.0,PHP-3.0,PHP,,,
PHP License v3.01,PHP-3.01,,,This specific version not on Fedora list,
Plexus Classworlds License,Plexus,Plexus,,,
PostgreSQL License,PostgreSQL,PostgreSQL,,,
psfrag License,psfrag,psfrag,,,
psutils License,psutils,psutils,,,
Python License 2.0,Python-2.0,,,"Stack of 4 licenses. SPDX version matches what is on OSI site. Fedora version looks to be more current version from Python website. May match, but need to check against SPDX matching guidelines (and possibly create template). SPDX could consider breaking indivicual licenses apart.",
Q Public License 1.0,QPL-1.0,QPL,Q Public License,,
Qhull License,Qhull,Qhull,,,
Rdisc License,Rdisc,Rdisc,,,
RealNetworks Public Source License v1.0,RPSL-1.0,RPSL,,,
Reciprocal Public License 1.1,RPL-1.1,,,Fedora bad list,
Reciprocal Public License 1.5,RPL-1.5,,,Fedora bad list,
Red Hat eCos Public License v1.1,RHeCos-1.1,,,not on Fedora list,
Ricoh Source Code Public License,RSCPL,,,Fedora bad list,
RSA Message-Digest License ,RSA-MD,,,not on Fedora list,
Ruby License,Ruby,Ruby,,,
Sax Public Domain Notice,SAX-PD,,,not on Fedora list,
Saxpath License,Saxpath,Saxpath,,,
SCEA Shared Source License,SCEA,SCEA,,,
Scheme Widget Library (SWL) Software License Agreement,SWL,SWL,,,
SGI Free Software License B v1.0,SGI-B-1.0,,,This specific version not on Fedora list,
SGI Free Software License B v1.1,SGI-B-1.1,,,Fedora bad list,
SGI Free Software License B v2.0,SGI-B-2.0,MIT,SGI Free Software License B 2.0,,
SIL Open Font License 1.0,OFL-1.0,,,not on Fedora list,
SIL Open Font License 1.1,OFL-1.1,,,not on Fedora list,
Simple Public License 2.0,SimPL-2.0,,,not on Fedora list,
Sleepycat License,Sleepycat,Sleepycat,,,
SNIA Public License 1.1,SNIA,SNIA,,,
Spencer License 86,Spencer-86,HSRL,Henry Spencer Reg-Ex Library License,,
Spencer License 94,Spencer-94,HSRL,Henry Spencer Reg-Ex Library License,,
Spencer License 99,Spencer-99,,,This specific version not on Fedora list,
Standard ML of New Jersey License,SMLNJ,MIT,,,
SugarCRM Public License v1.1.3,SugarCRM-1.1.3,,,not on Fedora list,
Sun Industry Standards Source License v1.1,SISSL,SISSL,,,
Sun Industry Standards Source License v1.2,SISSL-1.2,,,This specific version not on Fedora list,
Sun Public License v1.0,SPL-1.0,SPL,,,
Sybase Open Watcom Public License 1.0,Watcom-1.0,,,Fedora bad list,
TCL/TK License,TCL,TCL,,,
The Unlicense,Unlicense,Unlicense,Unlicense,,
TMate Open Source License,TMate,TMate,,,
TORQUE v2.5+ Software License v1.1,TORQUE-1.1,TORQUEv1.1,,,
Trusster Open Source License,TOSL,TOSL,,,
Unicode Terms of Use,Unicode-TOU,,,not on Fedora list,
Universal Permissive License v1.0,UPL-1.0,,,not on Fedora list,
University of Illinois/NCSA Open Source License,NCSA,NCSA,NCSA/University of Illinois Open Source License,,
Vim License,Vim,Vim,,,
VOSTROM Public License for Open Source,VOSTROM,VOSTROM,,,
Vovida Software License v1.0,VSL-1.0,VSL,,,
W3C Software Notice and License (1998-07-20),W3C-19980720,,,not on Fedora list,
W3C Software Notice and License (2002-12-31),W3C,W3C,,,
Wsuipa License,Wsuipa,Wsuipa,,,
X.Net License,Xnet,,,not on Fedora list,
X11 License,X11,MIT,,,
Xerox License,Xerox,Xerox,,,
XFree86 License 1.1,XFree86-1.1,,,not on Fedora list,
xinetd License,xinetd,xinetd,,,
XPP License,xpp,xpp,,,
XSkat License,XSkat,XSkat,,,
Yahoo! Public License v1.0,YPL-1.0,,,Fedora bad list,
Yahoo! Public License v1.1,YPL-1.1,YPLv1.1,,,
Zed License,Zed,Zed,,,
Zend License v2.0,Zend-2.0,Zend,,,
Zimbra Public License v1.3,Zimbra-1.3,,,Fedora bad list,
Zimbra Public License v1.4,Zimbra-1.4,,,not on Fedora list,
zlib License,Zlib,"zlib
Teeworlds",,,Teeworlds License
zlib/libpng License with Acknowledgement,zlib-acknowledgement,zlib with acknowledgement,,,
Zope Public License 1.1,ZPL-1.1,,,This specific version not on Fedora list,
Zope Public License 2.0,ZPL-2.0,ZPLv2.0,,,
Zope Public License 2.1,ZPL-2.1,ZPLv2.1,,,
BSD Zero Clause License,0BSD,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
CeCILL Free Software License Agreement v2.1,CECILL-2.1,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
CrystalStacker License,CrystalStacker,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
Interbase Public License v1.0,Interbase-1.0,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
Sendmail License,Sendmail,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
curl License,curl,,,"added to SPDX-LLv2.3, so was not part of comparison to Fedora list",
Info-ZIP License,Info-ZIP,,,"added to SPDX-LLv2.3, so was not part of comparison to Fedora list",
Open CASCADE Technology Public License,OCCT-PL,,,"added to SPDX-LLv2.3, so was not part of comparison to Fedora list",
Open Government Licence v3.0,OGL-3.0,,,"added to SPDX-LLv2.3, so was not part of comparison to Fedora list",
Norwegian Licence for Open Government Data,NLOD-1.0,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
FSF All Permissive License,FSFAP,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Secure Messaging Protocol Public License,SMPPL,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Licence Libre du Québec Permissive version 1.1,LiLiQ-P-1.1,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Licence Libre du Québec Réciprocité forte version 1.1,LiLiQ-Rplus-1.1,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Licence Libre du Québec Réciprocité version 1.1,LiLiQ-R-1.1,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
OSET Public License version 2.1,OSET-PL-2.1,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Free Art License 1.3,FAL-1.3,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
Free Art License 1.2,FAL-1.2,,,"added to SPDX-LLv2.4, so was not part of comparison to Fedora list",
BSD 3-Clause No Nuclear License,BSD-3-Clause-No-Nuclear-License,,,"added to SPDX-LLv2.5, so was not part of comparison to Fedora list",
BSD 3-Clause No Nuclear License 2014,BSD-3-Clause-No-Nuclear-License-2014,,,"added to SPDX-LLv2.5, so was not part of comparison to Fedora list",
BSD 3-Clause No Nuclear Warranty,BSD-3-Clause-No-Nuclear-Warranty,,,"added to SPDX-LLv2.5, so was not part of comparison to Fedora list",
BSD Source Code Attribution,BSD-Source-Code,,,"added to SPDX-LLv2.5, so was not part of comparison to Fedora list",
,,,,,
,,,,,
,,,,,
,,,,,
"License Exceptions: As per SPDX specification these exceptions would use the short identifier for the main license, the “with” operator, and then the short identifier for the exception (shown here). See SPDX spec 2.0, Appendix IV",,,,,
"389 Directory Server
Exception",389-exception,GPLv2 with exceptions,Fedora Directory Server License,,
Autoconf exception 2.0,Autoconf-exception-2.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Autoconf exception 3.0,Autoconf-exception-3.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Bison exception 2.2,Bison-exception-2.2,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Classpath exception 2.0,Classpath-exception-2.0,[identifier] with exceptions,"On Fedora List as ""GNU General Public License (no version), with Classpath exception"" and ""GNU General Public License v2.0 only, with Classpath exception"" and ""GNU General Public License v2.0 or later, with Classpath exception"" and ""GNU General Public License v3.0 only, with Classpath exception"" and ""GNU General Public License v3.0 or later, with Classpath exception""","Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” ",
CLISP exception 2.0 ,CLISP-exception-2.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
eCos exception 2.0,eCos-exception-2.0,eCos,eCos License v2.0,,
FLTK exception,FLTK-exception,LGPLv2 with exceptions,FTLK License,,
Font exception 2.0,Font-exception-2.0,[identifier] with exceptions,"On Fedora list as
""GNU General Public License v2.0 only, with font embedding exception"" and
""GNU General Public License v2.0 or later, with font embedding exception"" and
""GNU General Public License v3.0 only, with font embedding exception"" and
""GNU General Public License v3.0 or later, with font embedding exception"" and
""GNU General Public License (no version), with font embedding exception"".","Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
FreeRTOS Exception 2.0,freertos-exception-2.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
GCC Runtime Library exception 2.0,GCC-exception-2.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
GCC Runtime Library exception 3.1,GCC-exception-3.1,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
GNU JavaMail exception,gnu-javamail-exception,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
i2p GPL+Java Exception,i2p-gpl-java-exception,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Libtool Exception,Libtool-exception,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
LZMA exception,LZMA-exception,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Macros and Inline Functions Exception,mif-exception,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Nokia Qt LGPL exception 1.1,Nokia-Qt-exception-1.1,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
Qwt exception 1.0,Qwt-exception-1.0,LGPLv2+ with exceptions,Qwt License 1.0,,
U-Boot exception 2.0,u-boot-exception-2.0,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
WxWindows Library Exception 3.1,WxWindows-exception-3.1,[identifier] with exceptions,,"Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)",
DigiRule FOSS License Exception,DigiRule-FOSS-exception,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
Fawkes Runtime Exception,Fawkes-Runtime-exception,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
OpenVPN OpenSSL Exception,openvpn-openssl-exception,,,"added to SPDX-LLv2.2, so was not part of comparison to Fedora list",
Open CASCADE Exception 1.0,OCCT-exception-1.0,,,"added to SPDX-LLv2.3, so was not part of comparison to Fedora list",
1 SPDX Full name of License SPDX License Identifier Fedora Short Name Fedora Fullname (if different) Notes Other Fedora Licenses (full name) that use same short identifier and are SPDX License List equivalent (as per SPDX Matching Guidelines)
2 3dfx Glide License Glide Glide
3 Abstyles License Abstyles Abstyles
4 Academic Free License v1.1 AFL-1.1 not on Fedora list
5 Academic Free License v1.2 AFL-1.2 not on Fedora list
6 Academic Free License v2.0 AFL-2.0 not on Fedora list
7 Academic Free License v2.1 AFL-2.1 not on Fedora list
8 Academic Free License v3.0 AFL-3.0 AFL Academic Free License
9 Academy of Motion Picture Arts and Sciences BSD AMPAS AMPAS BSD
10 Adaptive Public License 1.0 APL-1.0 Fedora bad list
11 Adobe Glyph List License Adobe-Glyph MIT
12 Adobe Postscript AFM License APAFML APAFML
13 Adobe Systems Incorporated Source Code License Agreement Adobe-2006 Adobe
14 Affero General Public License v1.0 AGPL-1.0 AGPLv1
15 Afmparse License Afmparse Afmparse
16 Aladdin Free Public License Aladdin not on Fedora list
17 Amazon Digital Services License ADSL ADSL
18 AMD's plpa_map.c License AMDPLPA AMDPLPA
19 ANTLR Software Rights Notice ANTLR-PD not on Fedora list
20 Apache License 1.0 Apache-1.0 ASL 1.0 Apache Software License 1.0
21 Apache License 1.1 Apache-1.1 ASL 1.1 Apache Software License 1.1 4Suite Copyright License MX4J License Neotonic Clearsilver License Phorum License Sequence Library License QuickFix License
22 Apache License 2.0 Apache-2.0 ASL 2.0 Apache Software License 2.0
23 Apple MIT License AML AML
24 Apple Public Source License 1.0 APSL-1.0 Fedora bad list
25 Apple Public Source License 1.1 APSL-1.1 Fedora bad list
26 Apple Public Source License 1.2 APSL-1.2 Fedora bad list
27 Apple Public Source License 2.0 APSL-2.0 APSL 2.0
28 Artistic License 1.0 Artistic-1.0 not on Fedora list
29 Artistic License 1.0 (Perl) Artistic-1.0-Perl Fedora bad list
30 Artistic License 1.0 w/clause 8 Artistic-1.0-cl8 not on Fedora list
31 Artistic License 2.0 Artistic-2.0 Artistic 2.0 Artistic 2.0
32 Attribution Assurance License AAL AAL
33 Bahyph License Bahyph Bahyph
34 Barr License Barr Barr
35 Beerware License Beerware Beerware
36 BitTorrent Open Source License v1.0 BitTorrent-1.0 This specific version not on Fedora list
37 BitTorrent Open Source License v1.1 BitTorrent-1.1 BitTorrent BitTorrent License
38 Boost Software License 1.0 BSL-1.0 Boost Boost Software License
39 Borceux license Borceux Borceux
40 BSD 2-clause "Simplified" License BSD-2-Clause BSD BSD License (two clause) Cryptix General License
41 BSD 2-clause FreeBSD License BSD-2-Clause-FreeBSD not on Fedora list
42 BSD 2-clause NetBSD License BSD-2-Clause-NetBSD not on Fedora list
43 BSD 3-clause "New" or "Revised" License BSD-3-Clause BSD BSD License (no advertising) Eclipse Distribution License 1.0
44 BSD 3-clause Clear License BSD-3-Clause-Clear not on Fedora list
45 BSD 4-clause "Original" or "Old" License BSD-4-Clause BSD with advertising See note re: BSD-4-Clause-UC (need to confirm w/Fedora)
46 BSD Protection License BSD-Protection BSD Protection
47 BSD with attribution BSD-3-Clause-Attribution BSD with attribution
48 BSD-4-Clause (University of California-Specific) BSD-4-Clause-UC BSD Due to U. of CA 1999 retroactive deletion of the advertising clause, this is effectively 'BSD'-3-clause. Hence, Fedora would classify as “BSD” and not “BSD with advertising”? (need to confirm with Fedora)
49 bzip2 and libbzip2 License v1.0.5 bzip2-1.0.5 not on Fedora list
50 bzip2 and libbzip2 License v1.0.6 bzip2-1.0.6 not on Fedora list
51 Caldera License Caldera not on Fedora list
52 CeCILL Free Software License Agreement v1.0 CECILL-1.0 This specific version not on Fedora list
53 CeCILL Free Software License Agreement v1.1 CECILL-1.1 CeCILL CeCILL License v1.1
54 CeCILL Free Software License Agreement v2.0 CECILL-2.0 CeCILL CeCILL License v2
55 CeCILL-B Free Software License Agreement CECILL-B CeCILL-B CeCILL-B License
56 CeCILL-C Free Software License Agreement CECILL-C CeCILL-C CeCILL-C License
57 Clarified Artistic License ClArtistic Artistic clarified Artistic (clarified)
58 CMU License MIT-CMU MIT CMU License (BSD like)
59 CNRI Jython License CNRI-Jython Jpython Jpython License (old)
60 CNRI Python License CNRI-Python CNRI CNRI License (Old Python) Check – may not be exact match as per SPDX Matching Guidelines
61 CNRI Python Open Source GPL Compatible License Agreement CNRI-Python-GPL-Compatible not on Fedora list
62 Code Project Open License 1.02 CPOL-1.02 Fedora bad list
63 Common Development and Distribution License 1.0 CDDL-1.0 CDDL Common Development Distribution License
64 Common Development and Distribution License 1.1 CDDL-1.1 CDDL This specific version not on Fedora list. Same as 1.0, but changes name from Sun to Oracle in section 4.1 and adds patent infringement termination clause (section 6.3) – would Fedora also consider “CDDL”?
65 Common Public Attribution License 1.0 CPAL-1.0 CPAL CPAL License 1.0
66 Common Public License 1.0 CPL-1.0 CPL Common Public License
67 Computer Associates Trusted Open Source License 1.1 CATOSL-1.1 CATOSL
68 Condor Public License v1.1 Condor-1.1 Condor Condor Public License
69 Creative Commons Attribution 1.0 CC-BY-1.0 This specific version not on Fedora list
70 Creative Commons Attribution 2.0 CC-BY-2.0 This specific version not on Fedora list
71 Creative Commons Attribution 2.5 CC-BY-2.5 This specific version not on Fedora list
72 Creative Commons Attribution 3.0 CC-BY-3.0 CC-BY
73 Creative Commons Attribution 4.0 CC-BY-4.0 This specific version not on Fedora list
74 Creative Commons Attribution No Derivatives 1.0 CC-BY-ND-1.0 not on Fedora list
75 Creative Commons Attribution No Derivatives 2.0 CC-BY-ND-2.0 not on Fedora list
76 Creative Commons Attribution No Derivatives 2.5 CC-BY-ND-2.5 not on Fedora list
77 Creative Commons Attribution No Derivatives 3.0 CC-BY-ND-3.0 not on Fedora list
78 Creative Commons Attribution No Derivatives 4.0 CC-BY-ND-4.0 not on Fedora list
79 Creative Commons Attribution Non Commercial 1.0 CC-BY-NC-1.0 not on Fedora list
80 Creative Commons Attribution Non Commercial 2.0 CC-BY-NC-2.0 not on Fedora list
81 Creative Commons Attribution Non Commercial 2.5 CC-BY-NC-2.5 not on Fedora list
82 Creative Commons Attribution Non Commercial 3.0 CC-BY-NC-3.0 not on Fedora list
83 Creative Commons Attribution Non Commercial 4.0 CC-BY-NC-4.0 not on Fedora list
84 Creative Commons Attribution Non Commercial No Derivatives 1.0 CC-BY-NC-ND-1.0 not on Fedora list
85 Creative Commons Attribution Non Commercial No Derivatives 2.0 CC-BY-NC-ND-2.0 not on Fedora list
86 Creative Commons Attribution Non Commercial No Derivatives 2.5 CC-BY-NC-ND-2.5 not on Fedora list
87 Creative Commons Attribution Non Commercial No Derivatives 3.0 CC-BY-NC-ND-3.0 not on Fedora list
88 Creative Commons Attribution Non Commercial No Derivatives 4.0 CC-BY-NC-ND-4.0 not on Fedora list
89 Creative Commons Attribution Non Commercial Share Alike 1.0 CC-BY-NC-SA-1.0 not on Fedora list
90 Creative Commons Attribution Non Commercial Share Alike 2.0 CC-BY-NC-SA-2.0 not on Fedora list
91 Creative Commons Attribution Non Commercial Share Alike 2.5 CC-BY-NC-SA-2.5 not on Fedora list
92 Creative Commons Attribution Non Commercial Share Alike 3.0 CC-BY-NC-SA-3.0 not on Fedora list
93 Creative Commons Attribution Non Commercial Share Alike 4.0 CC-BY-NC-SA-4.0 not on Fedora list
94 Creative Commons Attribution Share Alike 1.0 CC-BY-SA-1.0 This specific version not on Fedora list
95 Creative Commons Attribution Share Alike 2.0 CC-BY-SA-2.0 This specific version not on Fedora list
96 Creative Commons Attribution Share Alike 2.5 CC-BY-SA-2.5 This specific version not on Fedora list
97 Creative Commons Attribution Share Alike 3.0 CC-BY-SA-3.0 CC-BY-SA
98 Creative Commons Attribution Share Alike 4.0 CC-BY-SA-4.0 This specific version not on Fedora list
99 Creative Commons Zero v1.0 Universal CC0-1.0 CC0
100 Crossword License Crossword Crossword
101 CUA Office Public License v1.0 CUA-OPL-1.0 MPLv1.1
102 Cube License Cube Cube
103 Deutsche Freie Software Lizenz D-FSL-1.0 not on Fedora list
104 diffmark license diffmark diffmark
105 Do What The F*ck You Want To Public License WTFPL WTFPL
106 DOC License DOC DOC
107 Dotseqn License Dotseqn Dotseqn
108 DSDP License DSDP DSDP
109 dvipdfm License dvipdfm dvipdfm
110 Eclipse Public License 1.0 EPL-1.0 EPL
111 Educational Community License v1.0 ECL-1.0 ECL 1.0
112 Educational Community License v2.0 ECL-2.0 ECL 2.0
113 eGenix.com Public License 1.1.0 eGenix eGenix
114 Eiffel Forum License v1.0 EFL-1.0 Fedora bad list
115 Eiffel Forum License v2.0 EFL-2.0 EFL 2.0
116 Enlightenment License (e16) MIT-advertising MIT with advertising
117 enna License MIT-enna MIT
118 Entessa Public License v1.0 Entessa Entessa Entessa Public License
119 Erlang Public License v1.1 ErlPL-1.1 ERPL
120 EU DataGrid Software License EUDatagrid EU Datagrid
121 European Union Public License 1.0 EUPL-1.0 Fedora bad list
122 European Union Public License 1.1 EUPL-1.1 EUPL 1.1
123 Eurosym License Eurosym Eurosym
124 Fair License Fair Fair
125 feh License MIT-feh MIT
126 Frameworx Open License 1.0 Frameworx-1.0 Fedora bad list
127 FreeImage Public License v1.0 FreeImage MPLv1.0 FreeImage Public License
128 Freetype Project License FTL FTL Freetype License
129 FSF Unlimited License FSFUL FSFUL
130 FSF Unlimited License (with License Retention) FSFULLR FSFULLR
131 Giftware License Giftware Giftware
132 GL2PS License GL2PS GL2PS
133 Glulxe License Glulxe Glulxe
134 GNU Affero General Public License v3.0 AGPL-3.0 AGPLv3 Affero General Public License 3.0
135 GNU Free Documentation License v1.1 GFDL-1.1 This specific version not on Fedora list
136 GNU Free Documentation License v1.2 GFDL-1.2 This specific version not on Fedora list
137 GNU Free Documentation License v1.3 GFDL-1.3 GFDL
138 GNU General Public License v1.0 only GPL-1.0 GPLv1 For “or later” add + to SPDX or Fedora short identifier: SPDX: GPL-1.0+ Fedora: GPLv1+ or GPL+
139 GNU General Public License v2.0 only GPL-2.0 GPLv2 For “or later” add + to SPDX or Fedora short identifier: SPDX: GPL-2.0+ Fedora: GPLv2+
140 GNU General Public License v3.0 only GPL-3.0 GPLv3 For “or later” add + to SPDX or Fedora short identifier: SPDX: GPL-3.0+ Fedora: GPLv3+
141 GNU Lesser General Public License v2.1 only LGPL-2.1 LGPLv2
142 GNU Lesser General Public License v3.0 only LGPL-3.0 LGPLv3
143 GNU Library General Public License v2 only LGPL-2.0 LGPLv2
144 gnuplot License gnuplot gnuplot
145 gSOAP Public License v1.3b gSOAP-1.3b not on Fedora list
146 Haskell Language Report License HaskellReport HaskellReport
147 Historic Permission Notice and Disclaimer HPND MIT
148 IBM PowerPC Initialization and Boot Software IBM-pibs not on Fedora list
149 IBM Public License v1.0 IPL-1.0 IBM IBM Public License
150 ICU License ICU not on Fedora list
151 ImageMagick License ImageMagick ImageMagick
152 iMatix Standard Function Library Agreement iMatix iMatix
153 Imlib2 License Imlib2 Imlib2
154 Independent JPEG Group License IJG IJG
155 Intel ACPI Software License Agreement Intel-ACPI Intel ACPI
156 Intel Open Source License Intel Fedora bad list
157 IPA Font License IPA not on Fedora list
158 ISC License ISC ISC
159 JasPer License JasPer-2.0 JasPer
160 JSON License JSON Fedora bad list
161 LaTeX Project Public License 1.3a LPPL-1.3a LPPL
162 LaTeX Project Public License v1.0 LPPL-1.0 This specific version not on Fedora list
163 LaTeX Project Public License v1.1 LPPL-1.1 This specific version not on Fedora list
164 LaTeX Project Public License v1.2 LPPL-1.2 This specific version not on Fedora list
165 LaTeX Project Public License v1.3c LPPL-1.3c This specific version not on Fedora list
166 Latex2e License Latex2e Latex2e
167 Lawrence Berkeley National Labs BSD variant license BSD-3-Clause-LBNL LBNL BSD
168 Leptonica License Leptonica Leptonica
169 Lesser General Public License For Linguistic Resources LGPLLR
170 libpng License Libpng not on Fedora list
171 libtiff License libtiff libtiff
172 Lucent Public License v1.02 LPL-1.02 LPL Lucent Public License (Plan9)
173 Lucent Public License Version 1.0 LPL-1.0 This specific version not on Fedora list
174 MakeIndex License MakeIndex MakeIndex
175 Matrix Template Library License MTLL MTLL
176 Microsoft Public License MS-PL MS-PL
177 Microsoft Reciprocal License MS-RL MS-RL
178 MirOS Licence MirOS MirOS
179 MIT +no-false-attribs license MITNFA MITNFA
180 MIT License MIT MIT
181 Motosoto License Motosoto Motosoto
182 Mozilla Public License 1.0 MPL-1.0 MPLv1.0 Mozilla Public License v1.0
183 Mozilla Public License 1.1 MPL-1.1 MPLv1.1 Mozilla Public License v1.1
184 Mozilla Public License 2.0 MPL-2.0 MPLv2.0 Mozilla Public License v2.0
185 Mozilla Public License 2.0 (no copyleft exception) MPL-2.0-no-copyleft-exception This variant not included on Fedora list (confirm this is correct statement)
186 mpich2 License mpich2 MIT
187 Multics License Multics not on Fedora list
188 Mup License Mup Mup
189 NASA Open Source Agreement 1.3 NASA-1.3 Fedora bad list
190 Naumen Public License Naumen Naumen
191 Net Boolean Public License v1 NBPL-1.0 not on Fedora list
192 NetCDF license NetCDF NetCDF
193 Nethack General Public License NGPL NGPL
194 Netizen Open Source License NOSL NOSL
195 Netscape Public License v1.0 NPL-1.0 Netscape Netscape Public License
196 Netscape Public License v1.1 NPL-1.1 This specific version not on Fedora list
197 Newsletr License Newsletr Newsletr
198 No Limit Public License NLPL NLPL
199 Nokia Open Source License Nokia Nokia
200 Non-Profit Open Software License 3.0 NPOSL-3.0 not on Fedora list
201 Noweb License Noweb Noweb
202 NRL License NRL BSD with advertising
203 NTP License NTP not on Fedora list
204 Nunit License Nunit MIT with advertising
205 OCLC Research Public License 2.0 OCLC-2.0 Fedora bad list
206 ODC Open Database License v1.0 ODbL-1.0 not on Fedora list
207 ODC Public Domain Dedication & License 1.0 PDDL-1.0 not on Fedora list
208 Open Group Test Suite License OGTSL Fedora bad list
209 Open LDAP Public License 2.2.2 OLDAP-2.2.2 This specific version not on Fedora list
210 Open LDAP Public License v1.1 OLDAP-1.1 This specific version not on Fedora list
211 Open LDAP Public License v1.2 OLDAP-1.2 This specific version not on Fedora list
212 Open LDAP Public License v1.3 OLDAP-1.3 This specific version not on Fedora list
213 Open LDAP Public License v1.4 OLDAP-1.4 This specific version not on Fedora list
214 Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B) OLDAP-2.0 This specific version not on Fedora list
215 Open LDAP Public License v2.0.1 OLDAP-2.0.1 This specific version not on Fedora list
216 Open LDAP Public License v2.1 OLDAP-2.1 This specific version not on Fedora list
217 Open LDAP Public License v2.2 OLDAP-2.2 This specific version not on Fedora list
218 Open LDAP Public License v2.2.1 OLDAP-2.2.1 This specific version not on Fedora list
219 Open LDAP Public License v2.3 OLDAP-2.3 This specific version not on Fedora list
220 Open LDAP Public License v2.4 OLDAP-2.4 This specific version not on Fedora list
221 Open LDAP Public License v2.5 OLDAP-2.5 This specific version not on Fedora list
222 Open LDAP Public License v2.6 OLDAP-2.6 This specific version not on Fedora list
223 Open LDAP Public License v2.7 OLDAP-2.7 This specific version not on Fedora list
224 Open LDAP Public License v2.8 OLDAP-2.8 OpenLDAP
225 Open Market License OML OML
226 Open Public License v1.0 OPL-1.0 Fedora bad list
227 Open Software License 1.0 OSL-1.0 OSL 1.0
228 Open Software License 1.1 OSL-1.1 OSL 1.1
229 Open Software License 2.0 OSL-2.0 OSL 2.0
230 Open Software License 2.1 OSL-2.1 OSL 2.1
231 Open Software License 3.0 OSL-3.0 OSL 3.0
232 OpenSSL License OpenSSL OpenSSL
233 PHP License v3.0 PHP-3.0 PHP
234 PHP License v3.01 PHP-3.01 This specific version not on Fedora list
235 Plexus Classworlds License Plexus Plexus
236 PostgreSQL License PostgreSQL PostgreSQL
237 psfrag License psfrag psfrag
238 psutils License psutils psutils
239 Python License 2.0 Python-2.0 Stack of 4 licenses. SPDX version matches what is on OSI site. Fedora version looks to be more current version from Python website. May match, but need to check against SPDX matching guidelines (and possibly create template). SPDX could consider breaking indivicual licenses apart.
240 Q Public License 1.0 QPL-1.0 QPL Q Public License
241 Qhull License Qhull Qhull
242 Rdisc License Rdisc Rdisc
243 RealNetworks Public Source License v1.0 RPSL-1.0 RPSL
244 Reciprocal Public License 1.1 RPL-1.1 Fedora bad list
245 Reciprocal Public License 1.5 RPL-1.5 Fedora bad list
246 Red Hat eCos Public License v1.1 RHeCos-1.1 not on Fedora list
247 Ricoh Source Code Public License RSCPL Fedora bad list
248 RSA Message-Digest License RSA-MD not on Fedora list
249 Ruby License Ruby Ruby
250 Sax Public Domain Notice SAX-PD not on Fedora list
251 Saxpath License Saxpath Saxpath
252 SCEA Shared Source License SCEA SCEA
253 Scheme Widget Library (SWL) Software License Agreement SWL SWL
254 SGI Free Software License B v1.0 SGI-B-1.0 This specific version not on Fedora list
255 SGI Free Software License B v1.1 SGI-B-1.1 Fedora bad list
256 SGI Free Software License B v2.0 SGI-B-2.0 MIT SGI Free Software License B 2.0
257 SIL Open Font License 1.0 OFL-1.0 not on Fedora list
258 SIL Open Font License 1.1 OFL-1.1 not on Fedora list
259 Simple Public License 2.0 SimPL-2.0 not on Fedora list
260 Sleepycat License Sleepycat Sleepycat
261 SNIA Public License 1.1 SNIA SNIA
262 Spencer License 86 Spencer-86 HSRL Henry Spencer Reg-Ex Library License
263 Spencer License 94 Spencer-94 HSRL Henry Spencer Reg-Ex Library License
264 Spencer License 99 Spencer-99 This specific version not on Fedora list
265 Standard ML of New Jersey License SMLNJ MIT
266 SugarCRM Public License v1.1.3 SugarCRM-1.1.3 not on Fedora list
267 Sun Industry Standards Source License v1.1 SISSL SISSL
268 Sun Industry Standards Source License v1.2 SISSL-1.2 This specific version not on Fedora list
269 Sun Public License v1.0 SPL-1.0 SPL
270 Sybase Open Watcom Public License 1.0 Watcom-1.0 Fedora bad list
271 TCL/TK License TCL TCL
272 The Unlicense Unlicense Unlicense Unlicense
273 TMate Open Source License TMate TMate
274 TORQUE v2.5+ Software License v1.1 TORQUE-1.1 TORQUEv1.1
275 Trusster Open Source License TOSL TOSL
276 Unicode Terms of Use Unicode-TOU not on Fedora list
277 Universal Permissive License v1.0 UPL-1.0 not on Fedora list
278 University of Illinois/NCSA Open Source License NCSA NCSA NCSA/University of Illinois Open Source License
279 Vim License Vim Vim
280 VOSTROM Public License for Open Source VOSTROM VOSTROM
281 Vovida Software License v1.0 VSL-1.0 VSL
282 W3C Software Notice and License (1998-07-20) W3C-19980720 not on Fedora list
283 W3C Software Notice and License (2002-12-31) W3C W3C
284 Wsuipa License Wsuipa Wsuipa
285 X.Net License Xnet not on Fedora list
286 X11 License X11 MIT
287 Xerox License Xerox Xerox
288 XFree86 License 1.1 XFree86-1.1 not on Fedora list
289 xinetd License xinetd xinetd
290 XPP License xpp xpp
291 XSkat License XSkat XSkat
292 Yahoo! Public License v1.0 YPL-1.0 Fedora bad list
293 Yahoo! Public License v1.1 YPL-1.1 YPLv1.1
294 Zed License Zed Zed
295 Zend License v2.0 Zend-2.0 Zend
296 Zimbra Public License v1.3 Zimbra-1.3 Fedora bad list
297 Zimbra Public License v1.4 Zimbra-1.4 not on Fedora list
298 zlib License Zlib zlib Teeworlds Teeworlds License
299 zlib/libpng License with Acknowledgement zlib-acknowledgement zlib with acknowledgement
300 Zope Public License 1.1 ZPL-1.1 This specific version not on Fedora list
301 Zope Public License 2.0 ZPL-2.0 ZPLv2.0
302 Zope Public License 2.1 ZPL-2.1 ZPLv2.1
303 BSD Zero Clause License 0BSD added to SPDX-LLv2.2, so was not part of comparison to Fedora list
304 CeCILL Free Software License Agreement v2.1 CECILL-2.1 added to SPDX-LLv2.2, so was not part of comparison to Fedora list
305 CrystalStacker License CrystalStacker added to SPDX-LLv2.2, so was not part of comparison to Fedora list
306 Interbase Public License v1.0 Interbase-1.0 added to SPDX-LLv2.2, so was not part of comparison to Fedora list
307 Sendmail License Sendmail added to SPDX-LLv2.2, so was not part of comparison to Fedora list
308 curl License curl added to SPDX-LLv2.3, so was not part of comparison to Fedora list
309 Info-ZIP License Info-ZIP added to SPDX-LLv2.3, so was not part of comparison to Fedora list
310 Open CASCADE Technology Public License OCCT-PL added to SPDX-LLv2.3, so was not part of comparison to Fedora list
311 Open Government Licence v3.0 OGL-3.0 added to SPDX-LLv2.3, so was not part of comparison to Fedora list
312 Norwegian Licence for Open Government Data NLOD-1.0 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
313 FSF All Permissive License FSFAP added to SPDX-LLv2.4, so was not part of comparison to Fedora list
314 Secure Messaging Protocol Public License SMPPL added to SPDX-LLv2.4, so was not part of comparison to Fedora list
315 Licence Libre du Québec – Permissive version 1.1 LiLiQ-P-1.1 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
316 Licence Libre du Québec – Réciprocité forte version 1.1 LiLiQ-Rplus-1.1 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
317 Licence Libre du Québec – Réciprocité version 1.1 LiLiQ-R-1.1 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
318 OSET Public License version 2.1 OSET-PL-2.1 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
319 Free Art License 1.3 FAL-1.3 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
320 Free Art License 1.2 FAL-1.2 added to SPDX-LLv2.4, so was not part of comparison to Fedora list
321 BSD 3-Clause No Nuclear License BSD-3-Clause-No-Nuclear-License added to SPDX-LLv2.5, so was not part of comparison to Fedora list
322 BSD 3-Clause No Nuclear License 2014 BSD-3-Clause-No-Nuclear-License-2014 added to SPDX-LLv2.5, so was not part of comparison to Fedora list
323 BSD 3-Clause No Nuclear Warranty BSD-3-Clause-No-Nuclear-Warranty added to SPDX-LLv2.5, so was not part of comparison to Fedora list
324 BSD Source Code Attribution BSD-Source-Code added to SPDX-LLv2.5, so was not part of comparison to Fedora list
325
326
327
328
329 License Exceptions: As per SPDX specification – these exceptions would use the short identifier for the main license, the “with” operator, and then the short identifier for the exception (shown here). See SPDX spec 2.0, Appendix IV
330 389 Directory Server Exception 389-exception GPLv2 with exceptions Fedora Directory Server License
331 Autoconf exception 2.0 Autoconf-exception-2.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
332 Autoconf exception 3.0 Autoconf-exception-3.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
333 Bison exception 2.2 Bison-exception-2.2 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
334 Classpath exception 2.0 Classpath-exception-2.0 [identifier] with exceptions On Fedora List as "GNU General Public License (no version), with Classpath exception" and "GNU General Public License v2.0 only, with Classpath exception" and "GNU General Public License v2.0 or later, with Classpath exception" and "GNU General Public License v3.0 only, with Classpath exception" and "GNU General Public License v3.0 or later, with Classpath exception" Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions”
335 CLISP exception 2.0 CLISP-exception-2.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
336 eCos exception 2.0 eCos-exception-2.0 eCos eCos License v2.0
337 FLTK exception FLTK-exception LGPLv2 with exceptions FTLK License
338 Font exception 2.0 Font-exception-2.0 [identifier] with exceptions On Fedora list as "GNU General Public License v2.0 only, with font embedding exception" and "GNU General Public License v2.0 or later, with font embedding exception" and "GNU General Public License v3.0 only, with font embedding exception" and "GNU General Public License v3.0 or later, with font embedding exception" and "GNU General Public License (no version), with font embedding exception". Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
339 FreeRTOS Exception 2.0 freertos-exception-2.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
340 GCC Runtime Library exception 2.0 GCC-exception-2.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
341 GCC Runtime Library exception 3.1 GCC-exception-3.1 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
342 GNU JavaMail exception gnu-javamail-exception [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
343 i2p GPL+Java Exception i2p-gpl-java-exception [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
344 Libtool Exception Libtool-exception [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
345 LZMA exception LZMA-exception [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
346 Macros and Inline Functions Exception mif-exception [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
347 Nokia Qt LGPL exception 1.1 Nokia-Qt-exception-1.1 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
348 Qwt exception 1.0 Qwt-exception-1.0 LGPLv2+ with exceptions Qwt License 1.0
349 U-Boot exception 2.0 u-boot-exception-2.0 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
350 WxWindows Library Exception 3.1 WxWindows-exception-3.1 [identifier] with exceptions Similar to SPDX, Fedora uses the applicable license identifier and then “with exceptions” (this is not specifically on Fedora list)
351 DigiRule FOSS License Exception DigiRule-FOSS-exception added to SPDX-LLv2.2, so was not part of comparison to Fedora list
352 Fawkes Runtime Exception Fawkes-Runtime-exception added to SPDX-LLv2.2, so was not part of comparison to Fedora list
353 OpenVPN OpenSSL Exception openvpn-openssl-exception added to SPDX-LLv2.2, so was not part of comparison to Fedora list
354 Open CASCADE Exception 1.0 OCCT-exception-1.0 added to SPDX-LLv2.3, so was not part of comparison to Fedora list

View file

@ -20,7 +20,13 @@ Summary: {{ description_lines|join(" ")|trim }}
Group: {{ rust_group }} Group: {{ rust_group }}
{% endif %} {% endif %}
License: {{ md.license|default("# FIXME") }} {% if md.license != license %}
# Upstream license specification: {{ md.license|default("(missing)") }}
{% endif %}
License: {{ license|default("# FIXME") }}
{% if license_comments is not none %}
{{ license_comments }}
{% endif %}
URL: https://crates.io/crates/{{ md.name }} URL: https://crates.io/crates/{{ md.name }}
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
{% if patch_file is not none %} {% if patch_file is not none %}

View file

@ -10,6 +10,7 @@ ARGS = dict(
packages=["rust2rpm"], packages=["rust2rpm"],
package_data={ package_data={
"rust2rpm": [ "rust2rpm": [
"spdx_to_fedora.csv",
"templates/*.spec", "templates/*.spec",
"templates/*.spec.inc", "templates/*.spec.inc",
], ],