Permalink
Browse files

Revert "remove licenses and use SPDX references instead"

This reverts commit 8aa6e05.
  • Loading branch information...
1 parent 26556d7 commit 51970dc53a70f40b7489002f115b4dd1ddaeb77b @bufferoverflow bufferoverflow committed Jul 9, 2013
View
3 examples/doap-doap.rdf 100755 → 100644
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
@@ -131,7 +130,7 @@
All Platforms :: Information Management (XML) -->
<category rdf:resource="http://osdir.com/Downloads+index-req-viewsdownload-sid-201.phtml" />
- <license rdf:resource="http://spdx.org/licenses/GPL-2.0+" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/GPL" />
<repository>
<GitRepository>
View
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:doap="http://usefulinc.com/ns/doap#"
View
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:doap="http://usefulinc.com/ns/doap#"
View
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<Project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns="http://usefulinc.com/ns/doap#">
@@ -34,7 +33,7 @@
</Version>
</release>
- <license rdf:resource="http://spdx.org/licenses/GPL-2.0+" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/gpl" />
<bug-database rdf:resource="http://bugzilla.gnome.org/" />
View
7 examples/redland-doap.rdf 100755 → 100644
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
@@ -71,9 +70,9 @@
<category rdf:resource="http://sourceforge.net/softwaremap/trove_list.php?form_cat=237" />
<!-- Licensing details -->
- <license rdf:resource="http://spdx.org/licenses/GPL-2.0+" />
- <license rdf:resource="http://spdx.org/licenses/LGPL-2.1+" />
- <license rdf:resource="http://spdx.org/licenses/MPL-2.0" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/gpl" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/mpl" />
<!-- source repository -->
<repository>
View
@@ -0,0 +1,11 @@
+## DOAP licenses
+
+.PHONY: live all
+
+LICENSES=gpl lgpl bsd mit artistic mpl w3c asl10 asl11 asl20
+
+all:
+ @echo "Type 'make live' to transfer the schema to the live site."
+
+live:
+ lftp -e "open -u edd http://usefulinc.com/doap/licenses; put style.xsl ${LICENSES}; quit"
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/artistic">
+ <rdfs:label>Artistic</rdfs:label>
+ <dc:title>Artistic License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.opensource.org/licenses/artistic-license.php" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/asl10">
+ <rdfs:label>Apache License 1.0</rdfs:label>
+ <dc:title>Apache License, Version 1.0</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.apache.org/licenses/LICENSE-1.0" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/asl11">
+ <rdfs:label>Apache License 1.1</rdfs:label>
+ <dc:title>Apache License, Version 1.1</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.apache.org/licenses/LICENSE-1.1" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/asl20">
+ <rdfs:label>Apache License 2.0</rdfs:label>
+ <dc:title>Apache License, Version 2.0</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.apache.org/licenses/LICENSE-2.0" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/bsd">
+ <rdfs:label>BSD</rdfs:label>
+ <dc:title>BSD License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.opensource.org/licenses/bsd-license.php" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/gpl">
+ <rdfs:label>GPL</rdfs:label>
+ <dc:title>GNU General Public License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.gnu.org/copyleft/gpl.html" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/lgpl">
+ <rdfs:label>LGPL</rdfs:label>
+ <dc:title>GNU Lesser General Public License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.gnu.org/copyleft/lesser.html" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/mit">
+ <rdfs:label>MIT</rdfs:label>
+ <dc:title>MIT License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.opensource.org/licenses/mit-license.php" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/mpl">
+ <rdfs:label>MPL</rdfs:label>
+ <dc:title>Mozilla Public License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.mozilla.org/MPL/" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,38 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:cc="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+ xmlns="http://www.w3.org/1999/xhtml"
+ exclude-result-prefixes="rdfs rdf cc dc"
+ version="1.0">
+
+<xsl:output indent="yes" encoding="utf-8" method="xml"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ />
+
+<xsl:template match="cc:License">
+<html>
+ <head>
+ <title>DOAP License Description: <xsl:value-of select="rdfs:label" /></title>
+ </head>
+ <body>
+ <h1>License: <xsl:value-of select="rdfs:label" /></h1>
+ <h2><xsl:value-of select="dc:title" /></h2>
+ <h3>URI for use in DOAP</h3>
+ <p>To use this as a license in your DOAP file, add the following:</p>
+ <p><tt>&lt;license rdf:resource="<xsl:value-of select="@rdf:about" />" /&gt;</tt></p>
+ <h3>See Also</h3>
+ <xsl:for-each select="rdfs:seeAlso">
+ <p><a href="{@rdf:resource}"><xsl:value-of select="@rdf:resource" /></a></p>
+ </xsl:for-each>
+ </body>
+</html>
+</xsl:template>
+
+<xsl:template match="/">
+ <xsl:apply-templates select="//cc:License" />
+</xsl:template>
+
+</xsl:stylesheet>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/gpl">
+ <rdfs:label>GPL</rdfs:label>
+ <dc:title>GNU General Public License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.gnu.org/copyleft/gpl.html" />
+</License>
+
+</rdf:RDF>
View
@@ -0,0 +1,13 @@
+<?xml-stylesheet href="style.xsl"?>
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
+
+<License rdf:about="http://usefulinc.com/doap/licenses/mpl">
+ <rdfs:label>W3C</rdfs:label>
+ <dc:title>W3C Software License</dc:title>
+ <rdfs:seeAlso rdf:resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231" />
+</License>
+
+</rdf:RDF>
View
@@ -347,10 +347,10 @@
<rdfs:label xml:lang="es">licencia</rdfs:label>
<rdfs:label xml:lang="de">Lizenz</rdfs:label>
<rdfs:label xml:lang="cs">licence</rdfs:label>
- <rdfs:comment xml:lang="en">The URI of an RDF description of the license the software is distributed under. E.g. a SPDX reference</rdfs:comment>
+ <rdfs:comment xml:lang="en">The URI of an RDF description of the license the software is distributed under.</rdfs:comment>
<rdfs:comment xml:lang="fr">L'URI d'une description RDF de la licence sous laquelle le programme est distribué.</rdfs:comment>
<rdfs:comment xml:lang="es">El URI de una descripción RDF de la licencia bajo la cuál se distribuye el software.</rdfs:comment>
- <rdfs:comment xml:lang="de">Die URI einer RDF-Beschreibung einer Lizenz unter der die Software herausgegeben wird. z.B. eine SPDX Referenz</rdfs:comment>
+ <rdfs:comment xml:lang="de">Die URI einer RDF-Beschreibung einer Lizenz unter der die Software herausgegeben wird.</rdfs:comment>
<rdfs:comment xml:lang="cs">URI adresa RDF popisu licence, pod kterou je software distribuován.</rdfs:comment>
</rdf:Property>
View
@@ -90,7 +90,7 @@
All Platforms :: Information Management (XML) -->
<category rdf:resource="http://osdir.com/Downloads+index-req-viewsdownload-sid-201.phtml" />
- <license rdf:resource="http://spdx.org/licenses/GPL-2.0+" />
+ <license rdf:resource="http://usefulinc.com/doap/licenses/GPL" />
<repository>
<GitRepository>

0 comments on commit 51970dc

Please sign in to comment.