[airline] Initial import (#1200885).

gil gil at fedoraproject.org
Mon Mar 23 13:43:39 UTC 2015


commit 920ea69367d9293f601b6acd552d135c6310d958
Author: gil <puntogil at libero.it>
Date:   Mon Mar 23 14:43:31 2015 +0100

    Initial import (#1200885).

 .gitignore   |  1 +
 airline.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |  1 +
 3 files changed, 62 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e736c1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.7.tar.gz
diff --git a/airline.spec b/airline.spec
new file mode 100644
index 0000000..324c0a7
--- /dev/null
+++ b/airline.spec
@@ -0,0 +1,60 @@
+Name:          airline
+Version:       0.7
+Release:       1%{?dist}
+Summary:       Java annotation-based framework
+License:       ASL 2.0
+URL:           https://github.com/airlift/airline
+Source0:       https://github.com/airlift/airline/archive/%{version}.tar.gz
+
+BuildRequires: maven-local
+BuildRequires: mvn(com.google.code.findbugs:annotations)
+BuildRequires: mvn(com.google.code.findbugs:jsr305)
+BuildRequires: mvn(com.google.guava:guava)
+BuildRequires: mvn(javax.inject:javax.inject)
+BuildRequires: mvn(org.testng:testng)
+BuildArch:     noarch
+
+%description
+Airline is a Java annotation-based framework
+for parsing Git like command line structures.
+
+%package javadoc
+Summary:       Javadoc for %{name}
+
+%description javadoc
+This package contains javadoc for %{name}.
+
+%prep
+%setup -q
+find -name '*.class' -delete
+find -name '*.jar' -delete
+
+# io.airlift:airbase:pom:28
+%pom_remove_parent
+%pom_xpath_inject "pom:project" "<groupId>io.airlift</groupId>"
+# cannot find symbol javax.annotation.Nullable
+%pom_add_dep com.google.code.findbugs:jsr305:2.0.3
+
+%pom_xpath_inject "pom:dependency[pom:artifactId='annotations']" '<version>2.0.3</version>'
+%pom_xpath_inject "pom:dependency[pom:artifactId='guava']" '<version>18.0</version>'
+%pom_xpath_inject "pom:dependency[pom:artifactId='testng']" '<version>6.8.7</version>'
+
+%mvn_file :%{name} %{name}
+
+%build
+
+%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc README.md
+%license license.txt notice.md
+
+%files javadoc -f .mfiles-javadoc
+%license license.txt notice.md
+
+%changelog
+* Wed Feb 18 2015 gil cattaneo <puntogil at libero.it> 0.7-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..a4499b4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e553dd01806a8e3bf5a2c30cc2489691  0.7.tar.gz


More information about the scm-commits mailing list