[gradle-plugin-protobuf] 01/02: Initial packaging

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Apr 12 07:46:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository gradle-plugin-protobuf.

commit 5973bb833cad5eac443ab695c25d85ec8dff851f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Apr 12 09:33:13 2016 +0200

    Initial packaging
---
 debian/changelog                              |  5 +++
 debian/compat                                 |  2 ++
 debian/control                                | 21 ++++++++++++
 debian/copyright                              | 39 ++++++++++++++++++++++
 debian/gradle-plugin-protobuf.poms            |  1 +
 debian/maven.ignoreRules                      |  2 ++
 debian/patches/01-ignore-git-plugin.patch     | 20 ++++++++++++
 debian/patches/02-ignore-bintray-plugin.patch | 26 +++++++++++++++
 debian/patches/series                         |  2 ++
 debian/pom.xml                                | 47 +++++++++++++++++++++++++++
 debian/rules                                  |  4 +++
 debian/source/format                          |  1 +
 debian/watch                                  |  2 ++
 13 files changed, 172 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2755cbc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gradle-plugin-protobuf (0.9.2-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #820777)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 12 Apr 2016 09:24:26 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..48c962f
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1,2 @@
+9
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ec330a6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: gradle-plugin-protobuf
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: debhelper (>= 9),
+               default-jdk,
+               gradle-debian-helper,
+               maven-repo-helper
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/gradle-plugin-protobuf.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/gradle-plugin-protobuf.git
+Homepage: https://github.com/aantono/gradle-plugin-protobuf
+
+Package: gradle-plugin-protobuf
+Architecture: all
+Depends: ${misc:Depends}
+Description: Protobuf Plugin for Gradle
+ The Protobuf plugin processes the Protocol Buffers files (.proto) in the
+ src/main/proto directory of Gradle projects. It generates the Java classes
+ and compiles them automatically.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..38b1ee9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Protobuf Plugin for Gradle
+Source: https://github.com/aantono/gradle-plugin-protobuf
+Files-Excluded: gradlew*
+                gradle
+                testProject/gradlew*
+                testProject/gradle
+
+Files: *
+Copyright: 2010-2015, Alex Antonov
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2014, Emmanuel Bourg <ebourg at apache.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ 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 copyright holder 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 HOLDER 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.
diff --git a/debian/gradle-plugin-protobuf.poms b/debian/gradle-plugin-protobuf.poms
new file mode 100644
index 0000000..2dd2c46
--- /dev/null
+++ b/debian/gradle-plugin-protobuf.poms
@@ -0,0 +1 @@
+debian/pom.xml --has-package-version --artifact=build/libs/gradle-plugin-protobuf*.jar
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..232bd72
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,2 @@
+org.ajoberstar gradle-git * * * *
+com.jfrog.bintray.gradle gradle-bintray-plugin * * * *
diff --git a/debian/patches/01-ignore-git-plugin.patch b/debian/patches/01-ignore-git-plugin.patch
new file mode 100644
index 0000000..ccac545
--- /dev/null
+++ b/debian/patches/01-ignore-git-plugin.patch
@@ -0,0 +1,20 @@
+Description: Ignore the git plugin
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -13,7 +13,6 @@
+ apply plugin: 'eclipse'
+ apply plugin: 'groovy'
+ apply plugin: 'maven'
+-apply plugin: 'git'
+ apply plugin: 'com.jfrog.bintray'
+ 
+ apply plugin: 'signing'
+@@ -156,4 +155,4 @@
+         }
+     }
+ 
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/02-ignore-bintray-plugin.patch b/debian/patches/02-ignore-bintray-plugin.patch
new file mode 100644
index 0000000..58e44db
--- /dev/null
+++ b/debian/patches/02-ignore-bintray-plugin.patch
@@ -0,0 +1,26 @@
+Description: Ignore the bintray plugin
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.gradle
++++ b/build.gradle
+@@ -13,7 +13,6 @@
+ apply plugin: 'eclipse'
+ apply plugin: 'groovy'
+ apply plugin: 'maven'
+-apply plugin: 'com.jfrog.bintray'
+ 
+ apply plugin: 'signing'
+ 
+@@ -119,6 +118,7 @@
+   }
+ }
+ 
++/*
+ bintray {
+     user = System.getProperty('bintrayUser')
+     key = System.getProperty('bintrayApiKey')
+@@ -156,3 +156,4 @@
+     }
+ 
+ }
++*/
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a30510d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01-ignore-git-plugin.patch
+02-ignore-bintray-plugin.patch
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..b8bbd1f
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,47 @@
+<?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>ws.antonov.gradle.plugins</groupId>
+  <artifactId>gradle-plugin-protobuf</artifactId>
+  <version>0.9.2</version>
+  <name>gradle-plugin-protobuf</name>
+  <description>Gradle build plugin to handle Protocol Buffers automated code generation and compilation</description>
+  <url>https://github.com/aantono/gradle-plugin-protobuf</url>
+  <licenses>
+    <license>
+      <name>New BSD License</name>
+      <url>http://www.opensource.org/licenses/bsd-license.php</url>
+    </license>
+  </licenses>
+  <developers>
+    <developer>
+      <id>aantono</id>
+      <name>Alex Antonov</name>
+      <email>alex at antonov.ws</email>
+    </developer>
+    <developer>
+      <id>valkolovos</id>
+      <name>Val Kolovos</name>
+      <email>valkolovos at yahoo.com</email>
+    </developer>
+    <developer>
+      <id>mleinartas</id>
+      <name>Michael Leinartas</name>
+      <email>mleinartas at gmail.com</email>
+    </developer>
+  </developers>
+  <scm>
+    <connection>scm:git:git://github.com/aantono/gradle-plugin-protobuf.git</connection>
+    <developerConnection>scm:git:git at github.com:aantono/gradle-plugin-protobuf.git</developerConnection>
+    <url>https://github.com/aantono/gradle-plugin-protobuf</url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e29fb34
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=gradle --with maven_repo_helper
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e6cf08f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/aantono/gradle-plugin-protobuf/tags .*/archive/([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-plugin-protobuf.git



More information about the pkg-java-commits mailing list