gil pushed to jxmpp (master). "Initial import (#1177453)."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 6 11:05:48 UTC 2015


>From 62f8a784e0388bcdbe80939cc26f4165c1e2245b Mon Sep 17 00:00:00 2001
From: gil <puntogil at libero.it>
Date: Mon, 6 Apr 2015 13:05:34 +0200
Subject: Initial import (#1177453).


diff --git a/.gitignore b/.gitignore
index e69de29..a96e774 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.4.1.tar.gz
diff --git a/jxmpp-core-template.pom b/jxmpp-core-template.pom
new file mode 100644
index 0000000..a572e27
--- /dev/null
+++ b/jxmpp-core-template.pom
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.igniterealtime.jxmpp</groupId>
+  <artifactId>jxmpp-core</artifactId>
+  <version>@VERSION@</version>
+  <name>JXMPP Core</name>
+  <description>JXMPP core components.</description>
+  <url>http://www.igniterealtime.org/projects/jxmpp/</url>
+  <inceptionYear>2014</inceptionYear>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>flow</id>
+      <name>Florian Schmaus</name>
+      <email>flow at igniterealtime.org</email>
+    </developer>
+  </developers>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.igniterealtime.org/browse/JXMPP</url>
+  </issueManagement>
+  <scm>
+    <connection>scm:git:https://github.com/igniterealtime/Smack.git</connection>
+    <developerConnection>scm:git:https://github.com/igniterealtime/Smack.git</developerConnection>
+    <url>https://github.com/igniterealtime/Smack</url>
+  </scm>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>smack.snapshot</id>
+      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.+</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.igniterealtime.jxmpp</groupId>
+      <artifactId>jxmpp-util-cache</artifactId>
+      <version>@VERSION@</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>2.3.7</version>
+        <extensions>true</extensions>
+        <configuration>
+          <supportedProjectTypes>
+            <supportedProjectType>bundle</supportedProjectType>
+            <supportedProjectType>jar</supportedProjectType>
+          </supportedProjectTypes>
+          <instructions>
+            <Bundle-Name>${project.artifactId}</Bundle-Name>
+            <Bundle-Version>${project.version}</Bundle-Version>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/jxmpp-jid-template.pom b/jxmpp-jid-template.pom
new file mode 100644
index 0000000..7367078
--- /dev/null
+++ b/jxmpp-jid-template.pom
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.igniterealtime.jxmpp</groupId>
+  <artifactId>jxmpp-jid</artifactId>
+  <version>@VERSION@</version>
+  <name>JXMPP JID</name>
+  <description>JID classes from JXMPP.</description>
+  <url>http://www.igniterealtime.org/projects/jxmpp/</url>
+  <inceptionYear>2014</inceptionYear>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>flow</id>
+      <name>Florian Schmaus</name>
+      <email>flow at igniterealtime.org</email>
+    </developer>
+  </developers>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.igniterealtime.org/browse/JXMPP</url>
+  </issueManagement>
+  <scm>
+    <connection>scm:git:https://github.com/igniterealtime/Smack.git</connection>
+    <developerConnection>scm:git:https://github.com/igniterealtime/Smack.git</developerConnection>
+    <url>https://github.com/igniterealtime/Smack</url>
+  </scm>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>smack.snapshot</id>
+      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.igniterealtime.jxmpp</groupId>
+      <artifactId>jxmpp-core</artifactId>
+      <version>@VERSION@</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.igniterealtime.jxmpp</groupId>
+      <artifactId>jxmpp-util-cache</artifactId>
+      <version>@VERSION@</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.11</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>any</version>
+        <extensions>true</extensions>
+        <configuration>
+          <supportedProjectTypes>
+            <supportedProjectType>bundle</supportedProjectType>
+            <supportedProjectType>jar</supportedProjectType>
+          </supportedProjectTypes>
+          <instructions>
+            <Bundle-Name>${project.artifactId}</Bundle-Name>
+            <Bundle-Version>${project.version}</Bundle-Version>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>any</version>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/jxmpp-pom.xml b/jxmpp-pom.xml
new file mode 100644
index 0000000..cd06264
--- /dev/null
+++ b/jxmpp-pom.xml
@@ -0,0 +1,44 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.igniterealtime.jxmpp</groupId>
+  <artifactId>jxmpp-parent</artifactId>
+  <packaging>pom</packaging>
+  <name>jxmpp parent</name>
+  <version>@VERSION@</version>
+  <description>An Open Source XMPP Java base-library.</description>
+
+  <organization>
+	  <name>Ignite Realtime</name>
+	  <url>http://www.igniterealtime.org</url>
+  </organization>
+  <url>https://github.com/igniterealtime/jxmpp/</url>
+  <developers>
+	  <developer>
+	     <id>flow</id>
+	     <name>Florian Schmaus</name>
+	     <email>flow at igniterealtime.org</email>
+	  </developer>
+  </developers>
+  <licenses>
+	  <license>
+		  <name>The Apache Software License, Version 2.0</name>
+		  <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+		  <distribution>repo</distribution>
+	  </license>
+  </licenses>
+  <scm>
+	  <connection>scm:svn:https://github.com/igniterealtime/jxmpp.git</connection>
+	  <developerConnection>scm:svn:https://github.com/igniterealtime/jxmpp.git</developerConnection>
+	  <url>https://github.com/igniterealtime/jxmpp</url>
+  </scm>
+
+  <modules>
+    <!-- These are not all the modules, only those that we can currently build: -->
+    <module>jxmpp-core</module>
+    <module>jxmpp-stringprep-libidn</module>
+    <module>jxmpp-jid</module>
+    <module>jxmpp-util-cache</module>
+  </modules>
+
+</project>
diff --git a/jxmpp-stringprep-libidn-template.pom b/jxmpp-stringprep-libidn-template.pom
new file mode 100644
index 0000000..39545e7
--- /dev/null
+++ b/jxmpp-stringprep-libidn-template.pom
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.igniterealtime.jxmpp</groupId>
+  <artifactId>jxmpp-stringprep-libidn</artifactId>
+  <version>@VERSION@</version>
+  <name>JXMPP Stringprep Libidn</name>
+  <description>JXMPP Stringprep with libidn.</description>
+  <url>http://www.igniterealtime.org/projects/jxmpp/</url>
+  <inceptionYear>2014</inceptionYear>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>flow</id>
+      <name>Florian Schmaus</name>
+      <email>flow at igniterealtime.org</email>
+    </developer>
+  </developers>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.igniterealtime.org/browse/JXMPP</url>
+  </issueManagement>
+  <scm>
+    <connection>scm:git:https://github.com/igniterealtime/Smack.git</connection>
+    <developerConnection>scm:git:https://github.com/igniterealtime/Smack.git</developerConnection>
+    <url>https://github.com/igniterealtime/Smack</url>
+  </scm>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>smack.snapshot</id>
+      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.gnu.inet</groupId>
+      <artifactId>libidn</artifactId>
+      <version>1.15</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.igniterealtime.jxmpp</groupId>
+      <artifactId>jxmpp-core</artifactId>
+      <version>@VERSION@</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>2.3.7</version>
+        <extensions>true</extensions>
+        <configuration>
+          <supportedProjectTypes>
+            <supportedProjectType>bundle</supportedProjectType>
+            <supportedProjectType>jar</supportedProjectType>
+          </supportedProjectTypes>
+          <instructions>
+            <Bundle-Name>${project.artifactId}</Bundle-Name>
+            <Bundle-Version>${project.version}</Bundle-Version>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/jxmpp-util-cache-template.pom b/jxmpp-util-cache-template.pom
new file mode 100644
index 0000000..cb94676
--- /dev/null
+++ b/jxmpp-util-cache-template.pom
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.igniterealtime.jxmpp</groupId>
+  <artifactId>jxmpp-util-cache</artifactId>
+  <version>@VERSION@</version>
+  <name>JXMPP Util Cache</name>
+  <description>A minimalistic and efficient bounded LRU Cache with optional expiration.</description>
+  <url>http://www.igniterealtime.org/projects/jxmpp/</url>
+  <inceptionYear>2014</inceptionYear>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>flow</id>
+      <name>Florian Schmaus</name>
+      <email>flow at igniterealtime.org</email>
+    </developer>
+  </developers>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.igniterealtime.org/browse/JXMPP</url>
+  </issueManagement>
+  <scm>
+    <connection>scm:git:https://github.com/igniterealtime/Smack.git</connection>
+    <developerConnection>scm:git:https://github.com/igniterealtime/Smack.git</developerConnection>
+    <url>https://github.com/igniterealtime/Smack</url>
+  </scm>
+  <distributionManagement>
+    <snapshotRepository>
+      <id>smack.snapshot</id>
+      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+    </snapshotRepository>
+  </distributionManagement>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.11</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <source>1.7</source>
+          <target>1.7</target>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>2.3.7</version>
+        <extensions>true</extensions>
+        <configuration>
+          <supportedProjectTypes>
+            <supportedProjectType>bundle</supportedProjectType>
+            <supportedProjectType>jar</supportedProjectType>
+          </supportedProjectTypes>
+          <instructions>
+            <Bundle-Name>${project.artifactId}</Bundle-Name>
+            <Bundle-Version>${project.version}</Bundle-Version>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifest>
+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
+            </manifest>
+          </archive>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/jxmpp.spec b/jxmpp.spec
new file mode 100644
index 0000000..d4af1c8
--- /dev/null
+++ b/jxmpp.spec
@@ -0,0 +1,104 @@
+Name:          jxmpp
+Version:       0.4.1
+Release:       1%{?dist}
+Summary:       An Open Source XMPP Java base-library
+License:       ASL 2.0
+URL:           https://github.com/igniterealtime/jxmpp
+Source0:       https://github.com/igniterealtime/jxmpp/archive/%{version}.tar.gz
+Source1:       jxmpp-core-template.pom
+Source2:       jxmpp-jid-template.pom
+Source4:       jxmpp-util-cache-template.pom
+Source5:       jxmpp-stringprep-libidn-template.pom
+Source6:       jxmpp-pom.xml
+
+BuildRequires: maven-local
+BuildRequires: mvn(junit:junit)
+BuildRequires: mvn(org.gnu.inet:libidn)
+
+BuildArch:     noarch
+
+%description
+JXMPP is an Open Source Java base library for XMPP. It
+provides often used functionality needed to build a XMPP stack.
+
+%package core
+Summary:       JXMPP Core
+
+%description core
+JXMPP core components.
+
+%package jid
+Summary:       JXMPP JID
+
+%description jid
+JID classes from JXMPP.
+
+%package stringprep-libidn
+Summary:       JXMPP Stringprep Libidn
+
+%description stringprep-libidn
+JXMPP Stringprep with libidn.
+
+%package util-cache
+Summary:       JXMPP Util Cache
+
+%description util-cache
+A minimalistic and efficient bounded LRU Cache
+with optional expiration.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q
+# cleanup
+find . -name "*.class" -print -delete
+find . -name "*.dll" -print -delete
+find . -name "*.jar" -print  -delete
+
+cp -p %{SOURCE1} %{name}-core/pom.xml
+cp -p %{SOURCE2} %{name}-jid/pom.xml
+cp -p %{SOURCE4} %{name}-util-cache/pom.xml
+cp -p %{SOURCE5} %{name}-stringprep-libidn/pom.xml
+
+for p in core jid stringprep-libidn util-cache;do
+sed -i "s|@VERSION@|%{version}|" %{name}-${p}/pom.xml
+done
+cp -p %{SOURCE6} pom.xml
+sed -i "s|@VERSION@|%{version}|" pom.xml
+
+%mvn_package :%{name}-parent __noinstall
+
+%build
+
+%mvn_build -s -- -Dproject.build.sourceEncoding=UTF-8
+
+%install
+%mvn_install
+
+%files core -f .mfiles-%{name}-core
+%license LICENSE
+
+%files jid -f .mfiles-%{name}-jid
+%license LICENSE
+
+%files stringprep-libidn -f .mfiles-%{name}-stringprep-libidn
+%license LICENSE
+
+%files util-cache -f .mfiles-%{name}-util-cache
+%dir %{_javadir}/%{name}
+%doc README.md
+%license LICENSE
+
+%files javadoc -f .mfiles-javadoc
+%license LICENSE
+
+%changelog
+* Sun Feb 15 2015 gil cattaneo <puntogil at libero.it> 0.4.1-1
+- update to 0.4.1
+
+* Sat Dec 27 2014 gil cattaneo <puntogil at libero.it> 0.3.0-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..dcaef25 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8199dbdaf03a34d1c1b07939ca698a31  0.4.1.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jxmpp.git/commit/?h=master&id=62f8a784e0388bcdbe80939cc26f4165c1e2245b


More information about the scm-commits mailing list