Codebase list core-cache-clojure / d93d1fd
Initial debianization Eugenio Cano-Manuel 10 years ago
13 changed file(s) with 308 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 core-cache-clojure (0.6.2-1) UNRELEASED; urgency=low
1
2 * Initial Release. (Closes: #XXXXXX)
3
4 -- Eugenio Cano-Manuel Mendoza <eugeniocanom@gmail.com> Fri, 12 Jul 2013 19:47:18 +0200
0 Source: core-cache-clojure
1 Section: java
2 Priority: optional
3 Maintainer: Eugenio Cano-Manuel Mendoza <eugeniocanom@gmail.com>
4 Build-Depends:
5 javahelper (>= 0.43),
6 libtext-markdown-perl | markdown,
7 debhelper (>= 9),
8 default-jdk,
9 clojure1.4
10 Standards-Version: 3.9.4
11 Homepage: http://github.com/clojure/core.cache
12 Vcs-Git: git://git.debian.org/pkg-clojure/core-cache-clojure.git
13 Vcs-Browser: http://git.debian.org/?p=pkg-clojure/core-cache-clojure.git
14
15 Package: libcore-cache-clojure
16 Architecture: all
17 Depends: ${java:Depends}, ${misc:Depends}
18 Recommends: ${java:Recommends}
19 Description:
20
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: core-cache-clojure
2 Source: http://github.com/clojure/core.cache
3
4 Files: *
5 Copyright: 2012 Rich Hickey
6 2012 Michael Fogus
7 License: EPL-1.0
8
9 Files: debian/*
10 Copyright: Copyright (C) Eugenio Cano-Manuel Mendoza <eugeniocanom@gmail.com>
11 License: EPL-1.0
12
13 License: EPL-1.0
14 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
15 LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
16 CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
17 .
18 1. DEFINITIONS
19 .
20 "Contribution" means:
21 .
22 a) in the case of the initial Contributor, the initial code and
23 documentation distributed under this Agreement, and
24 .
25 b) in the case of each subsequent Contributor:
26 .
27 i) changes to the Program, and
28 .
29 ii) additions to the Program;
30 .
31 where such changes and/or additions to the Program originate from and are
32 distributed by that particular Contributor. A Contribution 'originates' from
33 a Contributor if it was added to the Program by such Contributor itself or
34 anyone acting on such Contributor's behalf. Contributions do not include
35 additions to the Program which: (i) are separate modules of software
36 distributed in conjunction with the Program under their own license
37 agreement, and (ii) are not derivative works of the Program.
38 .
39 "Contributor" means any person or entity that distributes the Program.
40 .
41 "Licensed Patents" mean patent claims licensable by a Contributor which are
42 necessarily infringed by the use or sale of its Contribution alone or when
43 combined with the Program.
44 .
45 "Program" means the Contributions distributed in accordance with this
46 Agreement.
47 .
48 "Recipient" means anyone who receives the Program under this Agreement,
49 including all Contributors.
50 .
51 2. GRANT OF RIGHTS
52 .
53 a) Subject to the terms of this Agreement, each Contributor hereby grants
54 Recipient a non-exclusive, worldwide, royalty-free copyright license to
55 reproduce, prepare derivative works of, publicly display, publicly perform,
56 distribute and sublicense the Contribution of such Contributor, if any, and
57 such derivative works, in source code and object code form.
58 .
59 b) Subject to the terms of this Agreement, each Contributor hereby grants
60 Recipient a non-exclusive, worldwide, royalty-free patent license under
61 Licensed Patents to make, use, sell, offer to sell, import and otherwise
62 transfer the Contribution of such Contributor, if any, in source code and
63 object code form. This patent license shall apply to the combination of the
64 Contribution and the Program if, at the time the Contribution is added by the
65 Contributor, such addition of the Contribution causes such combination to be
66 covered by the Licensed Patents. The patent license shall not apply to any
67 other combinations which include the Contribution. No hardware per se is
68 licensed hereunder.
69 .
70 c) Recipient understands that although each Contributor grants the licenses
71 to its Contributions set forth herein, no assurances are provided by any
72 Contributor that the Program does not infringe the patent or other
73 intellectual property rights of any other entity. Each Contributor disclaims
74 any liability to Recipient for claims brought by any other entity based on
75 infringement of intellectual property rights or otherwise. As a condition to
76 exercising the rights and licenses granted hereunder, each Recipient hereby
77 assumes sole responsibility to secure any other intellectual property rights
78 needed, if any. For example, if a third party patent license is required to
79 allow Recipient to distribute the Program, it is Recipient's responsibility
80 to acquire that license before distributing the Program.
81 .
82 d) Each Contributor represents that to its knowledge it has sufficient
83 copyright rights in its Contribution, if any, to grant the copyright license
84 set forth in this Agreement.
85 .
86 3. REQUIREMENTS
87 .
88 A Contributor may choose to distribute the Program in object code form under
89 its own license agreement, provided that:
90 .
91 a) it complies with the terms and conditions of this Agreement; and
92 .
93 b) its license agreement:
94 .
95 i) effectively disclaims on behalf of all Contributors all warranties and
96 conditions, express and implied, including warranties or conditions of title
97 and non-infringement, and implied warranties or conditions of merchantability
98 and fitness for a particular purpose;
99 .
100 ii) effectively excludes on behalf of all Contributors all liability for
101 damages, including direct, indirect, special, incidental and consequential
102 damages, such as lost profits;
103 .
104 iii) states that any provisions which differ from this Agreement are offered
105 by that Contributor alone and not by any other party; and
106 .
107 iv) states that source code for the Program is available from such
108 Contributor, and informs licensees how to obtain it in a reasonable manner on
109 or through a medium customarily used for software exchange.
110 .
111 When the Program is made available in source code form:
112 .
113 a) it must be made available under this Agreement; and
114 .
115 b) a copy of this Agreement must be included with each copy of the Program.
116 .
117 Contributors may not remove or alter any copyright notices contained within
118 the Program.
119 .
120 Each Contributor must identify itself as the originator of its Contribution,
121 if any, in a manner that reasonably allows subsequent Recipients to identify
122 the originator of the Contribution.
123 .
124 4. COMMERCIAL DISTRIBUTION
125 .
126 Commercial distributors of software may accept certain responsibilities with
127 respect to end users, business partners and the like. While this license is
128 intended to facilitate the commercial use of the Program, the Contributor who
129 includes the Program in a commercial product offering should do so in a
130 manner which does not create potential liability for other Contributors.
131 Therefore, if a Contributor includes the Program in a commercial product
132 offering, such Contributor ("Commercial Contributor") hereby agrees to defend
133 and indemnify every other Contributor ("Indemnified Contributor") against any
134 losses, damages and costs (collectively "Losses") arising from claims,
135 lawsuits and other legal actions brought by a third party against the
136 Indemnified Contributor to the extent caused by the acts or omissions of such
137 Commercial Contributor in connection with its distribution of the Program in
138 a commercial product offering. The obligations in this section do not apply
139 to any claims or Losses relating to any actual or alleged intellectual
140 property infringement. In order to qualify, an Indemnified Contributor must:
141 a) promptly notify the Commercial Contributor in writing of such claim, and
142 b) allow the Commercial Contributor tocontrol, and cooperate with the
143 Commercial Contributor in, the defense and any related settlement
144 negotiations. The Indemnified Contributor may participate in any such claim
145 at its own expense.
146 .
147 For example, a Contributor might include the Program in a commercial product
148 offering, Product X. That Contributor is then a Commercial Contributor. If
149 that Commercial Contributor then makes performance claims, or offers
150 warranties related to Product X, those performance claims and warranties are
151 such Commercial Contributor's responsibility alone. Under this section, the
152 Commercial Contributor would have to defend claims against the other
153 Contributors related to those performance claims and warranties, and if a
154 court requires any other Contributor to pay any damages as a result, the
155 Commercial Contributor must pay those damages.
156 .
157 5. NO WARRANTY
158 .
159 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON
160 AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
161 EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR
162 CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A
163 PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the
164 appropriateness of using and distributing the Program and assumes all risks
165 associated with its exercise of rights under this Agreement , including but
166 not limited to the risks and costs of program errors, compliance with
167 applicable laws, damage to or loss of data, programs or equipment, and
168 unavailability or interruption of operations.
169 .
170 6. DISCLAIMER OF LIABILITY
171 .
172 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
173 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
174 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
175 LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
176 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
177 ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
178 EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
179 OF SUCH DAMAGES.
180 .
181 7. GENERAL
182 .
183 If any provision of this Agreement is invalid or unenforceable under
184 applicable law, it shall not affect the validity or enforceability of the
185 remainder of the terms of this Agreement, and without further action by the
186 parties hereto, such provision shall be reformed to the minimum extent
187 necessary to make such provision valid and enforceable.
188 .
189 If Recipient institutes patent litigation against any entity (including a
190 cross-claim or counterclaim in a lawsuit) alleging that the Program itself
191 (excluding combinations of the Program with other software or hardware)
192 infringes such Recipient's patent(s), then such Recipient's rights granted
193 under Section 2(b) shall terminate as of the date such litigation is filed.
194 .
195 All Recipient's rights under this Agreement shall terminate if it fails to
196 comply with any of the material terms or conditions of this Agreement and
197 does not cure such failure in a reasonable period of time after becoming
198 aware of such noncompliance. If all Recipient's rights under this Agreement
199 terminate, Recipient agrees to cease use and distribution of the Program as
200 soon as reasonably practicable. However, Recipient's obligations under this
201 Agreement and any licenses granted by Recipient relating to the Program shall
202 continue and survive.
203 .
204 Everyone is permitted to copy and distribute copies of this Agreement, but in
205 order to avoid inconsistency the Agreement is copyrighted and may only be
206 modified in the following manner. The Agreement Steward reserves the right to
207 publish new versions (including revisions) of this Agreement from time to
208 time. No one other than the Agreement Steward has the right to modify this
209 Agreement. The Eclipse Foundation is the initial Agreement Steward. The
210 Eclipse Foundation may assign the responsibility to serve as the Agreement
211 Steward to a suitable separate entity. Each new version of the Agreement will
212 be given a distinguishing version number. The Program (including
213 Contributions) may always be distributed subject to the version of the
214 Agreement under which it was received. In addition, after a new version of
215 the Agreement is published, Contributor may elect to distribute the Program
216 (including its Contributions) under the new version. Except as expressly
217 stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
218 licenses to the intellectual property of any Contributor under this
219 Agreement, whether expressly, by implication, estoppel or otherwise. All
220 rights in the Program not expressly granted under this Agreement are
221 reserved.
222 .
223 This Agreement is governed by the laws of the State of Washington and the
224 intellectual property laws of the United States of America. No party to this
225 Agreement will bring a legal action under this Agreement more than one year
226 after the cause of action arose. Each party waives its rights to a jury trial
227 in any resulting litigation.
0 </body>
1 </html>
0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1 <html>
2 <head>
3 <title>@TITLE@</title>
4 </head>
5 <body>
0 usr/share/java/clojure-core-cache.jar /usr/share/java/clojure.jar
0 Document: core-cache-clojure
1 Title: core-cache-clojure
2 Author:
3 Abstract: core-cache-clojure readme
4 Section: Programming
5
6 Format: HTML
7 Index: /usr/share/doc/libcore-cache-clojure/html/README.html
8 Files: /usr/share/doc/libcore-cache-clojure/html/README.html
9
10 Format: Text
11 Index: /usr/share/doc/libcore-cache-clojure/README.md
12 Files: /usr/share/doc/libcore-cache-clojure/README.md
0 clojure-core-cache.jar
0 <?xml version="1.0" encoding="UTF-8"?><project><name>core.cache</name><version>0.6.3-SNAPSHOT</version><main></main><url></url><description>Cache library for Clojure.</description><dependencies><dependency><name>org.clojure/clojure</name><version>1.5.0-master-SNAPSHOT</version></dependency></dependencies></project>
0 #!/usr/bin/make -f
1
2 include /usr/share/javahelper/java-vars.mk
3 export JAVA_HOME=/usr/lib/jvm/default-java
4 export CLASSPATH=/usr/share/java/clojure.jar
5
6 MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
7 PRODUCED_JAR=clojure-core-cache.jar
8
9 %:
10 dh $@ --with javahelper
11
12 override_jh_build: $(MDWN_DOCS)
13 jar cf $(PRODUCED_JAR) -C src/main/clojure .
14 mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
15
16 override_jh_clean:
17 jh_clean
18 rm -f $(CURDIR)/$(PRODUCED_JAR)
19 rm -rf $(CURDIR)/doc
20
21 %.html:%.md
22 cat debian/header.html > $@
23 sed -i'' -e 's/@TITLE@/$(shell head -n 1 $< | sed 's/^#*\s*//')/g' $@
24 markdown $< >> $@
25 cat debian/footer.html >> $@
0 3.0 (quilt)