Codebase list java-classpath-clojure / 5cbe714
Initial Debian packaging Apollon Oikonomopoulos 6 years ago
15 changed file(s) with 353 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 java-classpath-clojure (0.2.3-1) unstable; urgency=medium
1
2 * Initial release. (Closes: #855730)
3
4 -- Apollon Oikonomopoulos <apoikos@debian.org> Thu, 03 Aug 2017 16:10:19 -0400
0 Source: java-classpath-clojure
1 Section: java
2 Priority: optional
3 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Apollon Oikonomopoulos <apoikos@debian.org>
5 Build-Depends: clojure (>= 1.8),
6 debhelper (>= 10),
7 default-jdk,
8 javahelper (>= 0.32),
9 markdown,
10 maven-repo-helper (>= 1.5~)
11 Standards-Version: 4.0.0
12 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/java-classpath-clojure.git
13 Vcs-Git: https://anonscm.debian.org/cgit/pkg-java/java-classpath-clojure.git
14 Homepage: https://github.com/clojure/java.classpath
15
16 Package: libjava-classpath-clojure
17 Architecture: all
18 Depends: ${java:Depends}, ${misc:Depends}
19 Recommends: ${java:Recommends}
20 Description: examine the Java classpath from Clojure programs
21 java.classpath is a Clojure library that provides access to the Java
22 classpath. The `classpath` function returns a sequence of java.io.File objects
23 representing all JAR files and directories on the classpath.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: java.classpath
2 Source: https://github.com/clojure/java.classpath
3
4 Files: *
5 Copyright: (c) 2013 Rich Hickey, Stuart Sierra, and contributors
6 License: EPL-1
7 Eclipse Public License - v 1.0
8 .
9 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
10 PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE
11 PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
12 .
13 1. DEFINITIONS
14 .
15 "Contribution" means:
16 .
17 a) in the case of the initial Contributor, the initial code and
18 documentation distributed under this Agreement, and
19 .
20 b) in the case of each subsequent Contributor:
21 .
22 i) changes to the Program, and
23 .
24 ii) additions to the Program;
25 .
26 where such changes and/or additions to the Program originate from and are
27 distributed by that particular Contributor. A Contribution 'originates'
28 from a Contributor if it was added to the Program by such Contributor
29 itself or anyone acting on such Contributor's behalf. Contributions do not
30 include additions to the Program which: (i) are separate modules of
31 software distributed in conjunction with the Program under their own
32 license agreement, and (ii) are not derivative works of the Program.
33 .
34 "Contributor" means any person or entity that distributes the Program.
35 .
36 "Licensed Patents" mean patent claims licensable by a Contributor which
37 are necessarily infringed by the use or sale of its Contribution alone or
38 when combined with the Program.
39 .
40 "Program" means the Contributions distributed in accordance with this
41 Agreement.
42 .
43 "Recipient" means anyone who receives the Program under this Agreement,
44 including all Contributors.
45 .
46 2. GRANT OF RIGHTS
47 .
48 a) Subject to the terms of this Agreement, each Contributor hereby grants
49 Recipient a non-exclusive, worldwide, royalty-free copyright license to
50 reproduce, prepare derivative works of, publicly display, publicly
51 perform, distribute and sublicense the Contribution of such Contributor,
52 if any, and such derivative works, in source code and object code form.
53 .
54 b) Subject to the terms of this Agreement, each Contributor hereby grants
55 Recipient a non-exclusive, worldwide, royalty-free patent license under
56 Licensed Patents to make, use, sell, offer to sell, import and otherwise
57 transfer the Contribution of such Contributor, if any, in source code and
58 object code form. This patent license shall apply to the combination of
59 the Contribution and the Program if, at the time the Contribution is added
60 by the Contributor, such addition of the Contribution causes such
61 combination to be covered by the Licensed Patents. The patent license
62 shall not apply to any other combinations which include the Contribution.
63 No hardware per se is licensed hereunder.
64 .
65 c) Recipient understands that although each Contributor grants the
66 licenses to its Contributions set forth herein, no assurances are provided
67 by any Contributor that the Program does not infringe the patent or other
68 intellectual property rights of any other entity. Each Contributor
69 disclaims any liability to Recipient for claims brought by any other
70 entity based on infringement of intellectual property rights or otherwise.
71 As a condition to exercising the rights and licenses granted hereunder,
72 each Recipient hereby assumes sole responsibility to secure any other
73 intellectual property rights needed, if any. For example, if a third party
74 patent license is required to allow Recipient to distribute the Program,
75 it is Recipient's responsibility to acquire that license before
76 distributing the Program.
77 .
78 d) Each Contributor represents that to its knowledge it has sufficient
79 copyright rights in its Contribution, if any, to grant the copyright
80 license set forth in this Agreement.
81 .
82 3. REQUIREMENTS
83 .
84 A Contributor may choose to distribute the Program in object code form
85 under its own license agreement, provided that:
86 .
87 a) it complies with the terms and conditions of this Agreement; and
88 .
89 b) its license agreement:
90 .
91 i) effectively disclaims on behalf of all Contributors all warranties and
92 conditions, express and implied, including warranties or conditions of
93 title and non-infringement, and implied warranties or conditions of
94 merchantability and fitness for a particular purpose;
95 .
96 ii) effectively excludes on behalf of all Contributors all liability for
97 damages, including direct, indirect, special, incidental and consequential
98 damages, such as lost profits;
99 .
100 iii) states that any provisions which differ from this Agreement are
101 offered by that Contributor alone and not by any other party; and
102 .
103 iv) states that source code for the Program is available from such
104 Contributor, and informs licensees how to obtain it in a reasonable manner
105 on or through a medium customarily used for software exchange.
106 .
107 When the Program is made available in source code form:
108 .
109 a) it must be made available under this Agreement; and
110 .
111 b) a copy of this Agreement must be included with each copy of the
112 Program.
113 .
114 Contributors may not remove or alter any copyright notices contained
115 within the Program.
116 .
117 Each Contributor must identify itself as the originator of its
118 Contribution, if any, in a manner that reasonably allows subsequent
119 Recipients to identify the originator of the Contribution.
120 .
121 4. COMMERCIAL DISTRIBUTION
122 .
123 Commercial distributors of software may accept certain responsibilities
124 with respect to end users, business partners and the like. While this
125 license is intended to facilitate the commercial use of the Program, the
126 Contributor who includes the Program in a commercial product offering
127 should do so in a manner which does not create potential liability for
128 other Contributors. Therefore, if a Contributor includes the Program in a
129 commercial product offering, such Contributor ("Commercial Contributor")
130 hereby agrees to defend and indemnify every other Contributor
131 ("Indemnified Contributor") against any losses, damages and costs
132 (collectively "Losses") arising from claims, lawsuits and other legal
133 actions brought by a third party against the Indemnified Contributor to
134 the extent caused by the acts or omissions of such Commercial Contributor
135 in connection with its distribution of the Program in a commercial product
136 offering. The obligations in this section do not apply to any claims or
137 Losses relating to any actual or alleged intellectual property
138 infringement. In order to qualify, an Indemnified Contributor must: a)
139 promptly notify the Commercial Contributor in writing of such claim, and
140 b) allow the Commercial Contributor to control, and cooperate with the
141 Commercial Contributor in, the defense and any related settlement
142 negotiations. The Indemnified Contributor may participate in any such
143 claim at its own expense.
144 .
145 For example, a Contributor might include the Program in a commercial
146 product offering, Product X. That Contributor is then a Commercial
147 Contributor. If that Commercial Contributor then makes performance claims,
148 or offers warranties related to Product X, those performance claims and
149 warranties are such Commercial Contributor's responsibility alone. Under
150 this section, the Commercial Contributor would have to defend claims
151 against the other Contributors related to those performance claims and
152 warranties, and if a court requires any other Contributor to pay any
153 damages as a result, the Commercial Contributor must pay those damages.
154 .
155 5. NO WARRANTY
156 .
157 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED
158 ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
159 EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
160 CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
161 PARTICULAR PURPOSE. Each Recipient is solely responsible for determining
162 the appropriateness of using and distributing the Program and assumes all
163 risks associated with its exercise of rights under this Agreement ,
164 including but not limited to the risks and costs of program errors,
165 compliance with applicable laws, damage to or loss of data, programs or
166 equipment, and unavailability or interruption of operations.
167 .
168 6. DISCLAIMER OF LIABILITY
169 .
170 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
171 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
172 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
173 WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
174 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
175 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION
176 OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF
177 ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
178 .
179 7. GENERAL
180 .
181 If any provision of this Agreement is invalid or unenforceable under
182 applicable law, it shall not affect the validity or enforceability of the
183 remainder of the terms of this Agreement, and without further action by
184 the parties hereto, such provision shall be reformed to the minimum extent
185 necessary to make such provision valid and enforceable.
186 .
187 If Recipient institutes patent litigation against any entity (including a
188 cross-claim or counterclaim in a lawsuit) alleging that the Program itself
189 (excluding combinations of the Program with other software or hardware)
190 infringes such Recipient's patent(s), then such Recipient's rights granted
191 under Section 2(b) shall terminate as of the date such litigation is
192 filed.
193 .
194 All Recipient's rights under this Agreement shall terminate if it fails to
195 comply with any of the material terms or conditions of this Agreement and
196 does not cure such failure in a reasonable period of time after becoming
197 aware of such noncompliance. If all Recipient's rights under this
198 Agreement terminate, Recipient agrees to cease use and distribution of the
199 Program as soon as reasonably practicable. However, Recipient's
200 obligations under this Agreement and any licenses granted by Recipient
201 relating to the Program shall continue and survive.
202 .
203 Everyone is permitted to copy and distribute copies of this Agreement, but
204 in order to avoid inconsistency the Agreement is copyrighted and may only
205 be modified in the following manner. The Agreement Steward reserves the
206 right to publish new versions (including revisions) of this Agreement from
207 time to time. No one other than the Agreement Steward has the right to
208 modify this Agreement. The Eclipse Foundation is the initial Agreement
209 Steward. The Eclipse Foundation may assign the responsibility to serve as
210 the Agreement Steward to a suitable separate entity. Each new version of
211 the Agreement will be given a distinguishing version number. The Program
212 (including Contributions) may always be distributed subject to the version
213 of the Agreement under which it was received. In addition, after a new
214 version of the Agreement is published, Contributor may elect to distribute
215 the Program (including its Contributions) under the new version. Except as
216 expressly stated in Sections 2(a) and 2(b) above, Recipient receives no
217 rights or licenses to the intellectual property of any Contributor under
218 this Agreement, whether expressly, by implication, estoppel or otherwise.
219 All rights in the Program not expressly granted under this Agreement are
220 reserved.
221 .
222 This Agreement is governed by the laws of the State of New York and the
223 intellectual property laws of the United States of America. No party to
224 this Agreement will bring a legal action under this Agreement more than
225 one year after the cause of action arose. Each party waives its rights to
226 a jury trial in any resulting litigation.
227
228 Files: debian/*
229 Copyright: 2017 Apollon Oikonomopoulos <apoikos@debian.org>
230 License: GPL-2+
231 This package is free software; you can redistribute it and/or modify
232 it under the terms of the GNU General Public License as published by
233 the Free Software Foundation; either version 2 of the License, or
234 (at your option) any later version.
235 .
236 This package is distributed in the hope that it will be useful,
237 but WITHOUT ANY WARRANTY; without even the implied warranty of
238 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
239 GNU General Public License for more details.
240 .
241 You should have received a copy of the GNU General Public License
242 along with this program. If not, see <http://www.gnu.org/licenses/>
243 .
244 On Debian systems, the complete text of the GNU General
245 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
0 usr/share/java/java.classpath.jar /usr/share/java/clojure.jar
0 README.md
1 CONTRIBUTING.md
0 # List of POM files for the package
1 # Format of this file is:
2 # <path to pom file> [option]*
3 # where option can be:
4 # --ignore: ignore this POM and its artifact if any
5 # --ignore-pom: don't install the POM. To use on POM files that are created
6 # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
7 # --no-parent: remove the <parent> tag from the POM
8 # --package=<package>: an alternative package to use when installing this POM
9 # and its artifact
10 # --has-package-version: to indicate that the original version of the POM is the same as the upstream part
11 # of the version for the package.
12 # --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
13 # during a clean operation with mh_cleanpom or mh_installpom
14 # --artifact=<path>: path to the build artifact associated with this POM,
15 # it will be installed when using the command mh_install. [mh_install]
16 # --java-lib: install the jar into /usr/share/java to comply with Debian
17 # packaging guidelines
18 # --usj-name=<name>: name to use when installing the library in /usr/share/java
19 # --usj-version=<version>: version to use when installing the library in /usr/share/java
20 # --no-usj-versionless: don't install the versionless link in /usr/share/java
21 # --dest-jar=<path>: the destination for the real jar.
22 # It will be installed with mh_install. [mh_install]
23 # --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
24 # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
25 # Empty by default. [mh_install]
26 #
27 pom.xml --no-parent --has-package-version
0
1 * clojure * s/([0-9]+)\.([0-9]+).*/$1.$2.x/ * *
0 #!/usr/bin/make -f
1
2 include /usr/share/javahelper/java-vars.mk
3 include /usr/share/dpkg/pkg-info.mk
4
5 MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
6
7 export CLASSPATH=/usr/share/java/clojure.jar
8
9 PRODUCED_JAR=java.classpath.jar
10
11 %:
12 dh $@ --with javahelper --with maven_repo_helper
13
14 override_jh_build: $(MDWN_DOCS)
15 jar cf $(PRODUCED_JAR) -C src/main/clojure .
16 mkdir -p $(CURDIR)/doc/html && mv $^ $(CURDIR)/doc/html
17
18 override_jh_clean:
19 jh_clean
20 rm -f $(CURDIR)/$(PRODUCED_JAR)
21 rm -rf $(CURDIR)/doc
22
23 get-orig-source:
24 uscan --download-version $(DEB_VERSION_UPSTREAM) --force-download --rename
25
26 %.html:%.md
27 @echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"' \
28 '"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' > $@
29 @echo "<html>" >> $@
30 @echo "<head>" >> $@
31 @echo "<title>$(shell head -n 1 $< | sed 's/^#*\s*//')</title>" >> $@
32 @echo "</head>" >> $@
33 @echo "<body>" >> $@
34 markdown $< >> $@
35 @echo "</body>" >> $@
36 @echo "</html>" >> $@
0 3.0 (quilt)
0 version=3
1 https://github.com/clojure/java.classpath/tags .*\-([\d\.]+)\.tar\.gz