[Jpackage-commits] dist/derby/JPP-6 Makefile, NONE, 1.1 derby-10.6.2.1.pom, NONE, 1.1 derby.spec, NONE, 1.1 derbyLocale_cs-10.6.2.1.pom, NONE, 1.1 derbyLocale_de_DE-10.6.2.1.pom, NONE, 1.1 derbyLocale_es-10.6.2.1.pom, NONE, 1.1 derbyLocale_fr-10.6.2.1.pom, NONE, 1.1 derbyLocale_hu-10.6.2.1.pom, NONE, 1.1 derbyLocale_it-10.6.2.1.pom, NONE, 1.1 derbyLocale_ja_JP-10.6.2.1.pom, NONE, 1.1 derbyLocale_ko_KR-10.6.2.1.pom, NONE, 1.1 derbyLocale_pl-10.6.2.1.pom, NONE, 1.1 derbyLocale_pt_BR-10.6.2.1.pom, NONE, 1.1 derbyLocale_ru-10.6.2.1.pom, NONE, 1.1 derbyLocale_zh_CN-10.6.2.1.pom, NONE, 1.1 derbyLocale_zh_TW-10.6.2.1.pom, NONE, 1.1 derbyclient-10.6.2.1.pom, NONE, 1.1 derbynet-10.6.2.1.pom, NONE, 1.1 derbyrun-10.6.2.1.pom, NONE, 1.1 derbytools-10.6.2.1.pom, NONE, 1.1 sources, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Fri Dec 17 17:41:39 CET 2010


Update of /home/projects/jpackage/cvs/dist/derby/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv30310/JPP-6

Added Files:
	Makefile derby-10.6.2.1.pom derby.spec 
	derbyLocale_cs-10.6.2.1.pom derbyLocale_de_DE-10.6.2.1.pom 
	derbyLocale_es-10.6.2.1.pom derbyLocale_fr-10.6.2.1.pom 
	derbyLocale_hu-10.6.2.1.pom derbyLocale_it-10.6.2.1.pom 
	derbyLocale_ja_JP-10.6.2.1.pom derbyLocale_ko_KR-10.6.2.1.pom 
	derbyLocale_pl-10.6.2.1.pom derbyLocale_pt_BR-10.6.2.1.pom 
	derbyLocale_ru-10.6.2.1.pom derbyLocale_zh_CN-10.6.2.1.pom 
	derbyLocale_zh_TW-10.6.2.1.pom derbyclient-10.6.2.1.pom 
	derbynet-10.6.2.1.pom derbyrun-10.6.2.1.pom 
	derbytools-10.6.2.1.pom sources 
Log Message:
Import derby into JPP-6

--- NEW FILE: derbyLocale_ko_KR-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_ko_KR</artifactId>
  <name>Apache Derby messages: Korean</name>
  <description>Localized (Korean) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_ko_KR.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyrun-10.6.2.1.pom ---
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/0.7.62</center>
</body>
</html>

--- NEW FILE: derbyLocale_zh_CN-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_zh_CN</artifactId>
  <name>Apache Derby messages: Chinese (Simplified)</name>
  <description>Localized (Chinese) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_zh_CN.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_it-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_it</artifactId>
  <name>Apache Derby messages: Italian</name>
  <description>Localized (Italian) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_it.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_pl-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_pl</artifactId>
  <name>Apache Derby messages: Polish</name>
  <description>Localized (Polish) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_pl.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_pt_BR-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_pt_BR</artifactId>
  <name>Apache Derby messages: Portuguese (Brazilian)</name>
  <description>Localized (Portuguese) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_pt_BR.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_ru-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_ru</artifactId>
  <name>Apache Derby messages: Russian</name>
  <description>Localized (Russian) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_ru.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_hu-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_hu</artifactId>
  <name>Apache Derby messages: Hungarian</name>
  <description>Localized (Hungarian) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_hu.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbynet-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbynet</artifactId>
  <name>Apache Derby Network Server</name>
  <description>Contains the Apache Derby network server, which allows remote clients to connect to Derby databases over a network connection using the Derby client JDBC driver.</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

                <copy file="${basedir}/../../jars/${sanity}/derbynet.jar"
                      tofile="${basedir}/target/${project.build.finalName}.jar"
                      overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: sources ---
ba4cc1176f4fa639561dae486e574806  DITA-OT1.1.2.1_bin-ASL.zip
fdb187f65d48596c4509d68da55aa4f8  db-derby-10.6.2.1-src.tar.gz

--- NEW FILE: Makefile ---
# Makefile for source rpm: derby
# $Id: Makefile,v 1.1 2010/12/17 16:41:37 jpackage Exp $
NAME := derby
SPECFILE = $(firstword $(wildcard *.spec))

define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef

MAKEFILE_COMMON := $(shell $(find-makefile-common))

ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef

MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif

include $(MAKEFILE_COMMON)

--- NEW FILE: derbyLocale_es-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_es</artifactId>
  <name>Apache Derby messages: Spanish</name>
  <description>Localized (Spanish) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_es.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_de_DE-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_de_DE</artifactId>
  <name>Apache Derby messages: German</name>
  <description>Localized (German) messages for Apache Derby</description>


  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_de_DE.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_ja_JP-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_ja_JP</artifactId>
  <name>Apache Derby messages: Japanese</name>
  <description>Localized (Japanese) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_ja_JP.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_fr-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_fr</artifactId>
  <name>Apache Derby messages: French</name>
  <description>Localized (French) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_fr.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyLocale_cs-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_cs</artifactId>
  <name>Apache Derby messages: Czech</name>
  <description>Localized (Czech) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_cs.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derby.spec ---
# Copyright (c) 2000-2010, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define without_tests %{!?_with_tests:1}%{?_with_tests:0}
%define with_tests %{?_with_tests:1}%{!?_with_tests:0}


%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}

%define section   free

Name:           derby
Version:        10.6.2.1
Release:        1%{?dist}
Epoch:          0
Summary:        Derby DB (ex Cloudscape)

Group:          Database
License:        ASL 2.0
URL:            http://db.apache.org/derby/
Source0:        http://www.apache.org/dist/db/derby/db-derby-10.6.2.1/db-derby-10.6.2.1-src.tar.gz
#Source1:        derby-10.1.1.0-test.script
Source1:        http://prdownloads.sourceforge.net/dita-ot/DITA-OT1.1.2.1_bin-ASL.zip
Source2:        http://repo2.maven.org/maven2/org/apache/derby/derby/10.6.2.1/derby-10.6.2.1.pom
Source3:        http://repo2.maven.org/maven2/org/apache/derby/derbyclient/10.6.2.1/derbyclient-10.6.2.1.pom
Source4:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_cs/10.6.2.1/derbyLocale_cs-10.6.2.1.pom
Source5:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_de_DE/10.6.2.1/derbyLocale_de_DE-10.6.2.1.pom
Source6:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_es/10.6.2.1/derbyLocale_es-10.6.2.1.pom
Source7:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_fr/10.6.2.1/derbyLocale_fr-10.6.2.1.pom
Source8:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_hu/10.6.2.1/derbyLocale_hu-10.6.2.1.pom
Source9:        http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_it/10.6.2.1/derbyLocale_it-10.6.2.1.pom
Source10:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_ja_JP/10.6.2.1/derbyLocale_ja_JP-10.6.2.1.pom
Source11:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_ko_KR/10.6.2.1/derbyLocale_ko_KR-10.6.2.1.pom
Source12:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_pl/10.6.2.1/derbyLocale_pl-10.6.2.1.pom
Source13:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_pt_BR/10.6.2.1/derbyLocale_pt_BR-10.6.2.1.pom
Source14:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_ru/10.6.2.1/derbyLocale_ru-10.6.2.1.pom
Source15:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_zh_CN/10.6.2.1/derbyLocale_zh_CN-10.6.2.1.pom
Source16:       http://repo2.maven.org/maven2/org/apache/derby/derbyLocale_zh_TW/10.6.2.1/derbyLocale_zh_TW-10.6.2.1.pom
Source17:       http://repo2.maven.org/maven2/org/apache/derby/derbynet/10.6.2.1/derbynet-10.6.2.1.pom
Source18:       http://repo2.maven.org/maven2/org/apache/derby/derbyrun/10.6.2.1/derbyrun-10.6.2.1.pom
Source19:       http://repo2.maven.org/maven2/org/apache/derby/derbytools/10.6.2.1/derbytools-10.6.2.1.pom

%if %{gcj_support}
BuildRequires:          java-gcj-compat-devel
%endif
%if ! %{gcj_support}
BuildArch:      noarch
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:  java-devel >= 0:1.6.0
BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  ant17
BuildRequires:  ant17-nodeps
BuildRequires:  ant17-trax
BuildRequires:  avalon-framework
BuildRequires:  felix
BuildRequires:  jakarta-commons-io
BuildRequires:  jakarta-commons-logging
BuildRequires:  javacc
BuildRequires:  junit
BuildRequires:  oro
BuildRequires:  servlet_2_4_api
#BuildRequires:  xalan-j2
#BuildRequires:  xerces-j2
#BuildRequires:  xml-commons-jaxp-1.3-apis
BuildRequires:  xmlgraphics-commons
BuildRequires:  xmlgraphics-batik-rasterizer
BuildRequires:  xmlgraphics-fop
Requires:  java >= 0:1.6.0
Requires:  jta
Requires:  oro
Requires:  servletapi5
#Requires:  xalan-j2
#Requires:  xerces-j2
#Requires:  xml-commons-jaxp-1.3-apis

%description
The Derby project develops open source database technology 
that is: Pure Java, Easy to use, Small footprint, Standards 
based, Secure.
The core of the technology, Derby.s database engine is a 
full functioned relational embedded database engine. JDBC 
and SQL are the programming APIs. 
The Derby network server increases the reach of the Derby 
database engine by providing traditional client server 
functionality. The network server allows clients to connect 
over TCP/IP using the standard DRDA protocol. The network 
server allows the Derby engine to support networked JDBC, 
ODBC/CLI, Perl and PHP. 
Database Utilities:
ij -- a tool that allows SQL scripts to be executed against 
      any JDBC database. 
dblook -- Schema extraction tool for a Derby database. 
sysinfo -- Utility to display version numbers and class path. 

%package        javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description    javadoc
Javadoc for %{name}

%package        manual
Summary:        Documents for %{name}
Group:          Development/Documentation

%description    manual
Documents for %{name}

%package        demo
Summary:        Examples for %{name}
Group:          Development/Documentation

%description    demo
Examples for %{name}

%prep
%setup -q -c
ln -s db-%{name}-%{version}-doc-src doc
pushd doc
unzip -q %{SOURCE1}
popd

for j in $(find . -name "*.jar"); do
        mv $j $j.no
done
mv doc/DITA-OT1.1.2.1/lib/dost.jar.no doc/DITA-OT1.1.2.1/lib/dost.jar

%if 1
ln -sf $(build-classpath avalon-framework) doc/lib/avalon-framework-4.2.0.jar
ln -sf $(build-classpath xmlgraphics-batik/rasterizer) doc/lib
ln -sf $(build-classpath commons-io) doc/lib/commons-io-1.1.jar
ln -sf $(build-classpath commons-logging) doc/lib/commons-logging-1.0.4.jar
ln -sf $(build-classpath xmlgraphics-commons) doc/lib/xmlgraphics-commons-1.1.jar
ln -sf $(build-classpath xmlgraphics-fop) doc/lib/fop.jar
ln -sf $(build-classpath xalan-j2) doc/lib/xalan-2.7.0.jar
ln -sf $(build-classpath xalan-j2-serializer) doc/lib/serializer-2.7.0.jar
ln -sf $(build-classpath xerces-j2) doc/lib/xercesImpl-2.7.1.jar
ln -sf $(build-classpath xml-commons-jaxp-1.3-apis) doc/lib/xml-apis-1.3.02.jar
%endif

cp %{SOURCE1} doc/lib

pushd db-%{name}-%{version}-src
mv java/testing/org/apache/derbyTesting/functionTests/testData/v1/j1v1.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/testData/v1/j1v1.jar
mv java/testing/org/apache/derbyTesting/functionTests/testData/v2/j1v2.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/testData/v2/j1v2.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc1.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc1.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2l.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2l.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2s.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2s.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2sm.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emc2sm.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emcaddon.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_emcaddon.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_id.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_id.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_java.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_java.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot1.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot1.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot2.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot2.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot3.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dcl_ot3.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/lang/dummy_vti.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/lang/dummy_vti.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/perf/existingDb.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/perf/existingDb.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/store/brtestjar.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/store/brtestjar.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/store/obtest_customer.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/store/obtest_customer.jar
mv java/testing/org/apache/derbyTesting/functionTests/tests/tools/dblook_test.jar.no \
   java/testing/org/apache/derbyTesting/functionTests/tests/tools/dblook_test.jar
#tools/java/geronimo-spec-servlet-2.4-rc4.jar.no
ln -sf $(build-classpath servlet_2_4_api) tools/java
#tools/java/jakarta-oro-2.0.8.jar.no
ln -sf $(build-classpath jakarta-oro) tools/java
#tools/java/javacc.jar.no
ln -sf $(build-classpath javacc) tools/java
#tools/java/serializer.jar.no
ln -sf $(build-classpath xalan-j2-serializer) tools/java
#tools/java/xalan.jar.no
ln -sf $(build-classpath xalan-j2) tools/java
#tools/java/xercesImpl.jar.no
ln -sf $(build-classpath xerces-j2) tools/java
popd

%build
export CLASSPATH=$(build-classpath ant17)
pushd db-%{name}-%{version}-src
ant17 \
   -Dant.library.dir=%{_javadir} \
   -Djunit=$(build-classpath junit) \
   -Doro=$(build-classpath oro) \
   -Dosgi=$(build-classpath felix/org.osgi.core.jar) \
   -Dservlet24=$(build-classpath servlet_2_4_api) \
   all
ant17 buildjars
ant17 \
   -Dant.library.dir=%{_javadir} \
   -Djunit=$(build-classpath junit) \
   -Doro=$(build-classpath oro) \
   -Dosgi=$(build-classpath felix/org.osgi.core.jar) \
   -Dservlet24=$(build-classpath servlet_2_4_api) \
   javadoc
popd

pushd doc
ant17 html
ant17 monohtml
popd

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -dm 755 $RPM_BUILD_ROOT%{_javadir}/%{name}
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms

pushd db-derby-10.6.2.1-src/
install -m 644 jars/sane/derby.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derby-%{version}.jar
install -m 644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derby.pom
%add_to_maven_depmap org.apache.derby derby %{version} JPP/%{name} derby

install -m 644 jars/sane/derbyclient.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyclient-%{version}.jar
install -m 644 %{SOURCE3} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyclient.pom
%add_to_maven_depmap org.apache.derby derbyclient %{version} JPP/%{name} derbyclient

install -m 644 jars/sane/derbyLocale_cs.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_cs-%{version}.jar
install -m 644 %{SOURCE4} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_cs.pom
%add_to_maven_depmap org.apache.derby derbyLocale_cs %{version} JPP/%{name} derbyLocale_cs

install -m 644 jars/sane/derbyLocale_de_DE.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_de_DE-%{version}.jar
install -m 644 %{SOURCE5} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_de_DE.pom
%add_to_maven_depmap org.apache.derby derbyLocale_de_DE %{version} JPP/%{name} derbyLocale_de_DE

install -m 644 jars/sane/derbyLocale_es.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_es-%{version}.jar
install -m 644 %{SOURCE6} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_es.pom
%add_to_maven_depmap org.apache.derby derbyLocale_es %{version} JPP/%{name} derbyLocale_es

install -m 644 jars/sane/derbyLocale_fr.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_fr-%{version}.jar
install -m 644 %{SOURCE7} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_fr.pom
%add_to_maven_depmap org.apache.derby derbyLocale_fr %{version} JPP/%{name} derbyLocale_fr

install -m 644 jars/sane/derbyLocale_hu.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_hu-%{version}.jar
install -m 644 %{SOURCE8} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_hu.pom
%add_to_maven_depmap org.apache.derby derbyLocale_hu %{version} JPP/%{name} derbyLocale_hu

install -m 644 jars/sane/derbyLocale_it.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_it-%{version}.jar
install -m 644 %{SOURCE9} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_it.pom
%add_to_maven_depmap org.apache.derby derbyLocale_it %{version} JPP/%{name} derbyLocale_it

install -m 644 jars/sane/derbyLocale_ja_JP.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_ja_JP-%{version}.jar
install -m 644 %{SOURCE10} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_ja_JP.pom
%add_to_maven_depmap org.apache.derby derbyLocale_ja_JP %{version} JPP/%{name} derbyLocale_ja_JP

install -m 644 jars/sane/derbyLocale_ko_KR.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_ko_KR-%{version}.jar
install -m 644 %{SOURCE11} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_ko_KR.pom
%add_to_maven_depmap org.apache.derby derbyLocale_ko_KR %{version} JPP/%{name} derbyLocale_ko_KR

install -m 644 jars/sane/derbyLocale_pl.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_pl-%{version}.jar
install -m 644 %{SOURCE12} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_pl.pom
%add_to_maven_depmap org.apache.derby derbyLocale_pl %{version} JPP/%{name} derbyLocale_pl

install -m 644 jars/sane/derbyLocale_pt_BR.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_pt_BR-%{version}.jar
install -m 644 %{SOURCE13} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_pt_BR.pom
%add_to_maven_depmap org.apache.derby derbyLocale_pt_BR %{version} JPP/%{name} derbyLocale_pt_BR

install -m 644 jars/sane/derbyLocale_ru.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_ru-%{version}.jar
install -m 644 %{SOURCE14} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_ru.pom
%add_to_maven_depmap org.apache.derby derbyLocale_ru %{version} JPP/%{name} derbyLocale_ru

install -m 644 jars/sane/derbyLocale_zh_CN.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_zh_CN-%{version}.jar
install -m 644 %{SOURCE15} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_zh_CN.pom
%add_to_maven_depmap org.apache.derby derbyLocale_zh_CN %{version} JPP/%{name} derbyLocale_zh_CN

install -m 644 jars/sane/derbyLocale_zh_TW.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyLocale_zh_TW-%{version}.jar
install -m 644 %{SOURCE16} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyLocale_zh_TW.pom
%add_to_maven_depmap org.apache.derby derbyLocale_zh_TW %{version} JPP/%{name} derbyLocale_zh_TW

install -m 644 jars/sane/derbynet.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbynet-%{version}.jar
install -m 644 %{SOURCE17} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbynet.pom
%add_to_maven_depmap org.apache.derby derbynet %{version} JPP/%{name} derbynet

install -m 644 jars/sane/derbyrun.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyrun-%{version}.jar
install -m 644 %{SOURCE18} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbyrun.pom
%add_to_maven_depmap org.apache.derby derbyrun %{version} JPP/%{name} derbyrun

%if %{with_tests}
install -m 644 jars/sane/derbyTesting.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbyTesting-%{version}.jar
%endif

install -m 644 jars/sane/derbytools.jar \
  $RPM_BUILD_ROOT%{_javadir}/%{name}/derbytools-%{version}.jar
install -m 644 %{SOURCE19} \
  $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.derby-derbytools.pom
%add_to_maven_depmap org.apache.derby derbytools %{version} JPP/%{name} derbytools
(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)


install -dm 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 644 jars/sane/derby.war \
        $RPM_BUILD_ROOT%{_datadir}/%{name}/derby-%{version}.war
install -m 644 LICENSE $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 644 NOTICE $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 644 README $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 644 RELEASE-NOTES.html $RPM_BUILD_ROOT%{_datadir}/%{name}
install -m 644 STATUS $RPM_BUILD_ROOT%{_datadir}/%{name}

# javadoc
install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr javadoc/publishedapi $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr javadoc/engine $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink

# manual
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -pr javadoc/language $RPM_BUILD_ROOT%{_docdir}/%{name}/javadoc-language
cp -pr javadoc/tools $RPM_BUILD_ROOT%{_docdir}/%{name}/javadoc-tools
popd

install -dm 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/fo
cp doc/out/*/*.fo $RPM_BUILD_ROOT%{_docdir}/%{name}/fo
rm doc/out/*/*.fo
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
install -m 0644 doc/out/adminguide/adminguide-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/adminguide/adminguide-single.html
install -m 0644 doc/out/devguide/devguide-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/devguide/devguide-single.html
install -m 0644 doc/out/getstart/getstart-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/getstart/getstart-single.html
cp -pr doc/out/images $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
install -m 0644 doc/out/ref/ref-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/ref/ref-single.html
install -m 0644 doc/out/tools/tools-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/tools/tools-single.html
install -m 0644 doc/out/tuning/tuning-single.html $RPM_BUILD_ROOT%{_docdir}/%{name}/html_single
rm doc/out/tuning/tuning-single.html
install -dm 755 $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/adminguide $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/devguide $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/getstart $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/getstart $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/images $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/ref $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/tools $RPM_BUILD_ROOT%{_docdir}/%{name}/html
cp -pr doc/out/tuning $RPM_BUILD_ROOT%{_docdir}/%{name}/html

%if %{gcj_support}
%{_bindir}/aot-compile-rpm
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%postun
%update_maven_depmap
%if %{gcj_support}
if [ -x %{_bindir}/rebuild-gcj-db ]
then
  %{_bindir}/rebuild-gcj-db
fi
%endif

%files
%defattr(0644,root,root,0755)
%{_javadir}/%{name}
%{_datadir}/%{name}
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*
%if %{gcj_support}
%dir %{_libdir}/gcj/%{name}
%attr(-,root,root) %{_libdir}/gcj/%{name}/derby*-%{version}.jar.*
%endif

%files javadoc
%defattr(0644,root,root,0755)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}

%files manual
%defattr(0644,root,root,0755)
%doc %{_docdir}/%{name}

%changelog
* Fri Dec 17 2010 Ralph Apel <r.apel at r-apel.de> - 0:10.6.2.1-1
- 10.6.2.1 for JPP-6

* Fri Aug 08 2008 Ralph Apel <r.apel at r-apel.de> - 0:10.3.3.0-1.jpp5
- 10.3.3.0

* Thu Jul 10 2008 David Walluck <dwalluck at redhat.com> 0:10.1.0-2
- fix GCJ support
- fix BuildRoot
- update License
- remove javadoc scriptlets
- fix build

* Wed Oct 11 2006 Ralph Apel <r.apel at r-apel.de> - 0:10.1.1.0-1jpp
- Update to 10.1.1.0
- Repatch to JDK14/JDBC3 only
- Add post/postun Requires for javadoc
- Add gcj_support option

* Fri May 19 2006 Fernando Nasser <fnasser at redhat.com> - 0:10.0.2.1-3jpp
- First JPP 1.7 build

* Fri Mar 11 2005 Ralph Apel <r.apel at r-apel.de> - 0:10.0.2.1-2jpp
- Scrap jndi references
- Add OPT_JAR_LIST with ant/ant-nodeps

* Tue Feb 08 2005 Ralph Apel <r.apel at r-apel.de> - 0:10.0.2.1-1jpp
- First JPackage release
- Naively patched to NOT require Java-1.3 nor its extensions
- Tests pass successfully

--- NEW FILE: derbyLocale_zh_TW-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyLocale_zh_TW</artifactId>
  <name>Apache Derby messages: Chinese (Traditional)</name>
  <description>Localized (Chinese) messages for Apache Derby</description>

  <dependencies>
    <dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.6.2.1</version>
      <optional>false</optional>
    </dependency>
  </dependencies>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

            <copy file="${basedir}/../../jars/${sanity}/derbyLocale_zh_TW.jar"
                  tofile="${basedir}/target/${project.build.finalName}.jar"
                  overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbytools-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbytools</artifactId>
  <name>Apache Derby Tools</name>
  <description>Contains Apache Derby tools like ij, sysinfo, and dblook.</description>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

                <copy file="${basedir}/../../jars/${sanity}/derbytools.jar"
                      tofile="${basedir}/target/${project.build.finalName}.jar"
                      overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derbyclient-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derbyclient</artifactId>
  <name>Apache Derby Client JDBC Driver</name>
  <description>The Derby client JDBC driver, used to connect to a Derby server over a network connection.</description>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

                <copy file="${basedir}/../../jars/${sanity}/derbyclient.jar"
                      tofile="${basedir}/target/${project.build.finalName}.jar"
                      overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
  </build>

</project>

--- NEW FILE: derby-10.6.2.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
  -->
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.derby</groupId>
  <parent>
    <groupId>org.apache.derby</groupId>
    <artifactId>derby-project</artifactId>
    <version>10.6.2.1</version>
  </parent>
  <artifactId>derby</artifactId>
  <name>Apache Derby Database Engine and Embedded JDBC Driver</name>
  <description>Contains the core Apache Derby database engine, which also includes the embedded JDBC driver.</description>

  <build>
    <plugins>
        <plugin>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
                <execution>
                    <phase>package</phase>
                    <configuration>
                        <tasks>

                <copy file="${basedir}/../../jars/${sanity}/derby.jar"
                      tofile="${basedir}/target/${project.build.finalName}.jar"
                      overwrite="true"/>

                        </tasks>
                    </configuration>
                    <goals>
                        <goal>run</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>

        <!-- 
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      -->

    </plugins>
  </build>

</project>




More information about the JPackage-commits mailing list