avatar
Rosa has added df4df686cc
Automatic import for version 2.6-5redhat_2.ep6.el6.1
view file @ df4df686cc
... ... --- /dev/null
... ... +++ b/apache-commons-lang-eap6.spec
... ... @@ -0,0 +1,129 @@
1
# Copyright (c) 2000-2012, JPackage Project
2
# All rights reserved.
3
#
4
# Redistribution and use in source and binary forms, with or without
5
# modification, are permitted provided that the following conditions
6
# are met:
7
#
8
# 1. Redistributions of source code must retain the above copyright
9
#    notice, this list of conditions and the following disclaimer.
10
# 2. Redistributions in binary form must reproduce the above copyright
11
#    notice, this list of conditions and the following disclaimer in the
12
#    documentation and/or other materials provided with the
13
#    distribution.
14
# 3. Neither the name of the JPackage Project nor the names of its
15
#    contributors may be used to endorse or promote products derived
16
#    from this software without specific prior written permission.
17
#
18
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30
%bcond_without mead
31
32
%define base_name  lang
33
%global short_name commons-%{base_name}
34
%global eap6_name %{short_name}-eap6
35
36
%define section    free
37
38
%define reltag redhat_2
39
%define namedreltag -redhat-2
40
%global namedversion %{version}%{?namedreltag}
41
42
%define maven_version 2.6-3.redhat_2.ep6.el6
43
44
Name:           apache-commons-lang-eap6
45
Version:        2.6
46
Release:        5%{?reltag}%{?dist}.1
47
Epoch:          0
48
Summary:        Apache Commons Lang Package
49
License:        ASL 2.0
50
Group:          Development/Libraries/Java
51
52
%if %with mead
53
Source102: commons-lang-2.6-redhat-2.pom
54
Source103: commons-lang-2.6-redhat-2.jar
55
Source104: commons-lang-2.6-redhat-2-sources.jar
56
%endif
57
58
URL:            http://commons.apache.org/lang/
59
60
BuildRequires:  jpackage-utils
61
62
Requires:       java >= 0:1.6.0
63
Requires(post): jpackage-utils
64
Requires(postun): jpackage-utils
65
Requires:       jpackage-utils
66
67
BuildArch:      noarch
68
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
69
70
%description
71
The standard Java libraries fail to provide enough methods for
72
manipulation of its core classes. The Commons Lang Component provides
73
these extra methods.
74
75
The Commons Lang Component provides a host of helper utilities for the
76
java.lang API, notably String manipulation methods, basic numerical
77
methods, object reflection, creation and serialization, and System
78
properties. Additionally it contains an inheritable enum type, an
79
exception structure that supports multiple types of nested-Exceptions
80
and a series of utilities dedicated to help with building methods, such
81
as hashCode, toString and equals.
82
83
This package is for EAP6 use only -- see regular commons-lang package.
84
85
%prep
86
87
%build
88
89
%install
90
rm -rf %{buildroot}
91
92
##DEBUG
93
ls -l %{_sourcedir}
94
95
# jars
96
mkdir -p %{buildroot}%{_javadir}/%{eap6_name}
97
cp -p %{_sourcedir}/%{short_name}-%{namedversion}.jar \
98
      %{buildroot}%{_javadir}/%{eap6_name}/%{short_name}-%{namedversion}.jar
99
100
ln -s %{short_name}-%{namedversion}.jar %{buildroot}%{_javadir}/%{eap6_name}/%{short_name}.jar
101
102
%clean
103
rm -rf %{buildroot}
104
105
%files
106
%defattr(0644,root,root,0755)
107
%{_javadir}*/%{eap6_name}/%{short_name}-%{namedversion}.jar
108
%{_javadir}*/%{eap6_name}/%{short_name}.jar
109
110
111
%changelog
112
* Wed Sep 19 2012 Fernando Nasser <fnasser@redhat.com> - 0:2.6-5redhat_2.1
113
- Rebuild for MD5
114
115
* Wed Aug 15 2012 Fernando Nasser <fnasser@redhat.com> - 0:2.6-4redhat_1.2
116
- Wrap unsigned build
117
118
* Mon Jul 23 2012 Fernando Nasser <fnasser@redhat.com> - 0:2.6-4redhat_1.1
119
- Rebuild without signing
120
121
* Fri May 25 2012 Fernando Nasser <fnasser@redhat.com> - 0:2.6-4.redhat_1
122
- Clean MANIFEST
123
124
* Fri Apr 27 2012 Martha Benitez <mbenitez@redhat.com> - 0:2.6-3.redhat_1
125
- Include sources in SRPM
126
127
* Wed Apr 18 2012 Fernando Nasser <fnasser@redhat.com> - 0:2.6-2.redhat_1
128
- EAP6 Wrapper of apache-commons-lang
129
view file @ df4df686cc
view file @ df4df686cc
view file @ df4df686cc
... ... --- /dev/null
... ... +++ b/commons-lang-2.6-redhat-2.pom
... ... @@ -0,0 +1,558 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
   Licensed to the Apache Software Foundation (ASF) under one or more
4
   contributor license agreements.  See the NOTICE file distributed with
5
   this work for additional information regarding copyright ownership.
6
   The ASF licenses this file to You under the Apache License, Version 2.0
7
   (the "License"); you may not use this file except in compliance with
8
   the License.  You may obtain a copy of the License at
9
10
       http://www.apache.org/licenses/LICENSE-2.0
11
12
   Unless required by applicable law or agreed to in writing, software
13
   distributed under the License is distributed on an "AS IS" BASIS,
14
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
   See the License for the specific language governing permissions and
16
   limitations under the License.
17
-->
18
<project
19
    xmlns="http://maven.apache.org/POM/4.0.0"
20
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
  <parent>
23
    <groupId>org.apache.commons</groupId>
24
    <artifactId>commons-parent</artifactId>
25
    <version>22-redhat-2</version>
26
  </parent>
27
  <modelVersion>4.0.0</modelVersion>
28
  <groupId>commons-lang</groupId>
29
  <artifactId>commons-lang</artifactId>
30
  <version>2.6-redhat-2</version>
31
  <name>Commons Lang</name>
32
33
  <inceptionYear>2001</inceptionYear>
34
    <description>
35
        Commons Lang, a package of Java utility classes for the
36
        classes that are in java.lang's hierarchy, or are considered to be so
37
        standard as to justify existence in java.lang.
38
    </description>
39
40
  <url>http://commons.apache.org/lang/</url>
41
42
  <issueManagement>
43
    <system>jira</system>
44
    <url>http://issues.apache.org/jira/browse/LANG</url>
45
  </issueManagement>
46
47
  <scm>
48
    <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/lang/branches/LANG_2_X</connection>
49
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/lang/branches/LANG_2_X</developerConnection>
50
    <url>http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X</url>
51
  </scm>
52
53
    <developers>
54
        <developer>
55
            <name>Daniel Rall</name>
56
            <id>dlr</id>
57
            <email>dlr@finemaltcoding.com</email>
58
            <organization>CollabNet, Inc.</organization>
59
            <roles>
60
                <role>Java Developer</role>
61
            </roles>
62
        </developer>
63
        <developer>
64
            <name>Stephen Colebourne</name>
65
            <id>scolebourne</id>
66
            <email>scolebourne@joda.org</email>
67
            <organization>SITA ATS Ltd</organization>
68
            <timezone>0</timezone>
69
            <roles>
70
                <role>Java Developer</role>
71
            </roles>
72
        </developer>
73
        <developer>
74
            <name>Henri Yandell</name>
75
            <id>bayard</id>
76
            <email>bayard@apache.org</email>
77
            <organization/>
78
            <roles>
79
                <role>Java Developer</role>
80
            </roles>
81
        </developer>
82
        <developer>
83
            <name>Steven Caswell</name>
84
            <id>scaswell</id>
85
            <email>stevencaswell@apache.org</email>
86
            <organization/>
87
            <roles>
88
                <role>Java Developer</role>
89
            </roles>
90
            <timezone>-5</timezone>
91
        </developer>
92
        <developer>
93
            <name>Robert Burrell Donkin</name>
94
            <id>rdonkin</id>
95
            <email>rdonkin@apache.org</email>
96
            <organization/>
97
            <roles>
98
                <role>Java Developer</role>
99
            </roles>
100
        </developer>
101
        <developer>
102
            <name>Gary D. Gregory</name>
103
            <id>ggregory</id>
104
            <email>ggregory@seagullsw.com</email>
105
            <organization>Seagull Software</organization>
106
            <timezone>-8</timezone>
107
            <roles>
108
                <role>Java Developer</role>
109
            </roles>
110
        </developer>
111
        <developer>
112
            <name>Phil Steitz</name>
113
            <id>psteitz</id>
114
            <email>phil@steitz.com</email>
115
            <organization/>
116
            <roles>
117
                <role>Java Developer</role>
118
            </roles>
119
        </developer>
120
        <developer>
121
            <name>Fredrik Westermarck</name>
122
            <id>fredrik</id>
123
            <email/>
124
            <organization/>
125
            <roles>
126
                <role>Java Developer</role>
127
            </roles>
128
        </developer>
129
        <developer>
130
            <name>James Carman</name>
131
            <id>jcarman</id>
132
            <email>jcarman@apache.org</email>
133
            <organization>Carman Consulting, Inc.</organization>
134
            <roles>
135
                <role>Java Developer</role>
136
            </roles>
137
        </developer>
138
        <developer>
139
            <name>Niall Pemberton</name>
140
            <id>niallp</id>
141
            <roles>
142
                <role>Java Developer</role>
143
            </roles>
144
        </developer>
145
        <developer>
146
            <name>Matt Benson</name>
147
            <id>mbenson</id>
148
            <roles>
149
                <role>Java Developer</role>
150
            </roles>
151
        </developer>
152
        <developer>
153
            <name>Joerg Schaible</name>
154
            <id>joehni</id>
155
            <email>joerg.schaible@gmx.de</email>
156
            <roles>
157
                <role>Java Developer</role>
158
            </roles>
159
            <timezone>+1</timezone>
160
        </developer>
161
        <developer>
162
          <name>Oliver Heger</name>
163
          <id>oheger</id>
164
          <email>oheger@apache.org</email>
165
          <timezone>+1</timezone>
166
          <roles>
167
            <role>Java Developer</role>
168
          </roles>
169
        </developer>
170
        <developer>
171
          <name>Paul Benedict</name>
172
          <id>pbenedict</id>
173
          <email>pbenedict@apache.org</email>
174
          <roles>
175
            <role>Java Developer</role>
176
          </roles>
177
        </developer>
178
    </developers>
179
    <contributors>
180
        <contributor>
181
            <name>C. Scott Ananian</name>
182
        </contributor>
183
        <contributor>
184
            <name>Chris Audley</name>
185
        </contributor>
186
        <contributor>
187
            <name>Stephane Bailliez</name>
188
        </contributor>
189
        <contributor>
190
            <name>Michael Becke</name>
191
        </contributor>
192
        <contributor>
193
            <name>Benjamin Bentmann</name>
194
        </contributor>
195
        <contributor>
196
            <name>Ola Berg</name>
197
        </contributor>
198
        <contributor>
199
            <name>Nathan Beyer</name>
200
        </contributor>
201
        <contributor>
202
            <name>Stefan Bodewig</name>
203
        </contributor>
204
        <contributor>
205
            <name>Janek Bogucki</name>
206
        </contributor>
207
        <contributor>
208
            <name>Mike Bowler</name>
209
        </contributor>
210
        <contributor>
211
            <name>Sean Brown</name>
212
        </contributor>
213
        <contributor>
214
            <name>Alexander Day Chaffee</name>
215
        </contributor>
216
        <contributor>
217
            <name>Al Chou</name>
218
        </contributor>
219
        <contributor>
220
            <name>Greg Coladonato</name>
221
        </contributor>
222
        <contributor>
223
            <name>Maarten Coene</name>
224
        </contributor>
225
        <contributor>
226
            <name>Justin Couch</name>
227
        </contributor>
228
        <contributor>
229
            <name>Michael Davey</name>
230
        </contributor>
231
        <contributor>
232
            <name>Norm Deane</name>
233
        </contributor>
234
        <contributor>
235
            <name>Ringo De Smet</name>
236
        </contributor>
237
        <contributor>
238
            <name>Russel Dittmar</name>
239
        </contributor>
240
        <contributor>
241
            <name>Steve Downey</name>
242
        </contributor>
243
        <contributor>
244
            <name>Matthias Eichel</name>
245
        </contributor>
246
        <contributor>
247
            <name>Christopher Elkins</name>
248
        </contributor>
249
        <contributor>
250
            <name>Chris Feldhacker</name>
251
        </contributor>
252
        <contributor>
253
            <name>Pete Gieser</name>
254
        </contributor>
255
        <contributor>
256
            <name>Jason Gritman</name>
257
        </contributor>
258
        <contributor>
259
            <name>Matthew Hawthorne</name>
260
        </contributor>
261
        <contributor>
262
            <name>Michael Heuer</name>
263
        </contributor>
264
        <contributor>
265
            <name>Chris Hyzer</name>
266
        </contributor>
267
        <contributor>
268
            <name>Marc Johnson</name>
269
        </contributor>
270
        <contributor>
271
            <name>Shaun Kalley</name>
272
        </contributor>
273
        <contributor>
274
            <name>Tetsuya Kaneuchi</name>
275
        </contributor>
276
        <contributor>
277
            <name>Nissim Karpenstein</name>
278
        </contributor>
279
        <contributor>
280
            <name>Ed Korthof</name>
281
        </contributor>
282
        <contributor>
283
            <name>Holger Krauth</name>
284
        </contributor>
285
        <contributor>
286
            <name>Rafal Krupinski</name>
287
        </contributor>
288
        <contributor>
289
            <name>Rafal Krzewski</name>
290
        </contributor>
291
        <contributor>
292
            <name>Craig R. McClanahan</name>
293
        </contributor>
294
        <contributor>
295
            <name>Rand McNeely</name>
296
        </contributor>
297
        <contributor>
298
            <name>Hendrik Maryns</name>
299
        </contributor>
300
        <contributor>
301
            <name>Dave Meikle</name>
302
        </contributor>
303
        <contributor>
304
            <name>Nikolay Metchev</name>
305
        </contributor>
306
        <contributor>
307
            <name>Kasper Nielsen</name>
308
        </contributor>
309
        <contributor>
310
            <name>Tim O'Brien</name>
311
        </contributor>
312
        <contributor>
313
            <name>Brian S O'Neill</name>
314
        </contributor>
315
        <contributor>
316
            <name>Andrew C. Oliver</name>
317
        </contributor>
318
        <contributor>
319
            <name>Alban Peignier</name>
320
        </contributor>
321
        <contributor>
322
            <name>Moritz Petersen</name>
323
        </contributor>
324
        <contributor>
325
            <name>Dmitri Plotnikov</name>
326
        </contributor>
327
        <contributor>
328
            <name>Neeme Praks</name>
329
        </contributor>
330
        <contributor>
331
            <name>Eric Pugh</name>
332
        </contributor>
333
        <contributor>
334
            <name>Stephen Putman</name>
335
        </contributor>
336
        <contributor>
337
            <name>Travis Reeder</name>
338
        </contributor>
339
        <contributor>
340
            <name>Antony Riley</name>
341
        </contributor>
342
        <contributor>
343
            <name>Scott Sanders</name>
344
        </contributor>
345
        <contributor>
346
            <name>Ralph Schaer</name>
347
        </contributor>
348
        <contributor>
349
            <name>Henning P. Schmiedehausen</name>
350
        </contributor>
351
        <contributor>
352
            <name>Sean Schofield</name>
353
        </contributor>
354
        <contributor>
355
            <name>Robert Scholte</name>
356
        </contributor>
357
        <contributor>
358
            <name>Reuben Sivan</name>
359
        </contributor>
360
        <contributor>
361
            <name>Ville Skytta</name>
362
        </contributor>
363
        <contributor>
364
            <name>Jan Sorensen</name>
365
        </contributor>
366
        <contributor>
367
            <name>Glen Stampoultzis</name>
368
        </contributor>
369
        <contributor>
370
            <name>Scott Stanchfield</name>
371
        </contributor>
372
        <contributor>
373
            <name>Jon S. Stevens</name>
374
        </contributor>
375
        <contributor>
376
            <name>Sean C. Sullivan</name>
377
        </contributor>
378
        <contributor>
379
            <name>Ashwin Suresh</name>
380
        </contributor>
381
        <contributor>
382
            <name>Helge Tesgaard</name>
383
        </contributor>
384
        <contributor>
385
            <name>Arun Mammen Thomas</name>
386
        </contributor>
387
        <contributor>
388
            <name>Masato Tezuka</name>
389
        </contributor>
390
        <contributor>
391
            <name>Jeff Varszegi</name>
392
        </contributor>
393
        <contributor>
394
            <name>Chris Webb</name>
395
        </contributor>
396
        <contributor>
397
            <name>Mario Winterer</name>
398
        </contributor>
399
        <contributor>
400
            <name>Stepan Koltsov</name>
401
        </contributor>
402
        <contributor>
403
            <name>Holger Hoffstatte</name>
404
        </contributor>
405
        <contributor>
406
            <name>Derek C. Ashmore</name>
407
        </contributor>
408
    </contributors>
409
410
  <!-- Lang should depend on very little -->
411
  <dependencies>
412
    <dependency>
413
      <groupId>junit</groupId>
414
      <artifactId>junit</artifactId>
415
      <version>4.8.2-redhat-2</version>
416
      <scope>test</scope>
417
    </dependency>
418
  </dependencies> 
419
420
  <properties>
421
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
422
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
423
    <maven.compile.source>1.4</maven.compile.source>
424
    <maven.compile.target>1.5</maven.compile.target>
425
    <commons.componentid>lang</commons.componentid>
426
    <commons.release.version>2.6</commons.release.version>
427
    <commons.release.desc>(Java 5.0+)</commons.release.desc>
428
    <commons.release.2.version>3.0-beta</commons.release.2.version>
429
    <commons.release.2.desc>(Java 5.0+)</commons.release.2.desc>
430
    <commons.jira.id>LANG</commons.jira.id>
431
    <commons.jira.pid>12310481</commons.jira.pid>
432
    <random.exclude.test>**/RandomUtilsFreqTest.java</random.exclude.test>
433
  </properties> 
434
435
436
  <build>
437
    <plugins>
438
      <plugin>
439
        <groupId>org.apache.maven.plugins</groupId>
440
        <artifactId>maven-surefire-plugin</artifactId>
441
        <configuration>
442
          <includes>
443
            <include>**/*Test.java</include>
444
          </includes>
445
          <excludes>
446
            <exclude>**/EntitiesPerformanceTest.java</exclude>
447
            <exclude>${random.exclude.test}</exclude>
448
          </excludes>
449
        </configuration>
450
      </plugin>
451
      <plugin>
452
        <artifactId>maven-assembly-plugin</artifactId>
453
        <configuration>
454
          <descriptors>
455
            <descriptor>src/assembly/bin.xml</descriptor>
456
            <descriptor>src/assembly/src.xml</descriptor>
457
          </descriptors>
458
          <tarLongFileMode>gnu</tarLongFileMode>
459
        </configuration>
460
      </plugin>
461
      <plugin>
462
        <artifactId>maven-javadoc-plugin</artifactId>
463
        <configuration>
464
          <source>1.4</source>
465
        </configuration>
466
      </plugin>
467
      <plugin>
468
        <artifactId>maven-compiler-plugin</artifactId>
469
        <configuration>
470
          <source>1.4</source>
471
          <target>1.5</target>
472
        </configuration>
473
      </plugin>
474
    </plugins>
475
  </build>
476
477
  <profiles>
478
      <!--
479
        RandomUtils frequency tests have been put in a separate test case which
480
        is only run when using this profile because it fails too frequently.
481
        See https://issues.apache.org/jira/browse/LANG-592
482
        -->
483
      <profile>
484
        <id>test-random-freq</id>
485
        <properties>
486
          <random.exclude.test/>
487
        </properties> 
488
        <build>
489
          <plugins>
490
            <plugin>
491
              <groupId>org.apache.maven.plugins</groupId>
492
              <artifactId>maven-surefire-plugin</artifactId>
493
              <configuration>
494
                <includes>
495
                  <include>**/RandomUtilsFreqTest.java</include>
496
                </includes>
497
              </configuration>
498
            </plugin>
499
          </plugins>
500
        </build>
501
      </profile>
502
  </profiles>
503
504
  <reporting>
505
    <plugins>
506
        <plugin>
507
          <groupId>org.apache.maven.plugins</groupId>
508
          <artifactId>maven-changes-plugin</artifactId>
509
          <!--<version>2.3</version>-->
510
          <configuration>
511
            <xmlPath>${basedir}/src/site/changes/changes.xml</xmlPath>
512
            <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
513
          </configuration>
514
          <reportSets>
515
            <reportSet>
516
              <reports>
517
                 <report>changes-report</report>
518
              </reports>
519
            </reportSet>
520
          </reportSets>
521
        </plugin>
522
      <plugin>
523
        <artifactId>maven-checkstyle-plugin</artifactId>
524
        <!--<version>2.6</version>-->
525
        <configuration>
526
          <configLocation>${basedir}/checkstyle.xml</configLocation>
527
          <enableRulesSummary>false</enableRulesSummary>
528
        </configuration>
529
      </plugin>
530
      <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' -->
531
      <plugin>
532
        <groupId>org.codehaus.mojo</groupId>
533
        <artifactId>findbugs-maven-plugin</artifactId>
534
        <!--<version>2.3.1</version>-->
535
        <configuration>
536
          <threshold>Normal</threshold>
537
          <effort>Default</effort>
538
          <excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
539
       </configuration>
540
      </plugin>
541
      <plugin>
542
        <groupId>org.codehaus.mojo</groupId>
543
        <artifactId>cobertura-maven-plugin</artifactId>
544
        <!--<version>2.4</version>-->
545
      </plugin>
546
      <plugin>
547
        <groupId>org.codehaus.mojo</groupId>
548
        <artifactId>clirr-maven-plugin</artifactId>
549
        <!--<version>2.2.2</version>-->
550
        <configuration>
551
          <comparisonVersion>2.5</comparisonVersion>
552
          <minSeverity>info</minSeverity>
553
        </configuration>
554
      </plugin>
555
    </plugins>
556
  </reporting>
557
558
</project>

Comments