Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 084fc98004b0a1922caba16cdf9cdeac7c96f7b7
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Tue Sep 16 09:23:07 2014 +0200
[java] Add initial spec file
---------------------------------------------------------------
java/copr-java.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/java/copr-java.spec b/java/copr-java.spec
new file mode 100644
index 0000000..eb0b50e
--- /dev/null
+++ b/java/copr-java.spec
@@ -0,0 +1,45 @@
+Name: copr-java
+Version: 0.2
+Release: 1%{?dist}
+Summary: COPR Java client
+License: ASL 2.0
+URL:
https://fedorahosted.org/copr/
+
+# Source is created by
+# git clone
https://git.fedorahosted.org/git/copr.git
+# cd copr/java
+# tito build --tgz
+Source0: %{name}-%{version}.tar.gz
+
+BuildRequires: maven-local
+
+%description
+COPR is lightweight build system. It allows you to create new project in WebUI,
+and submit new builds and COPR will create yum repository from latest builds.
+
+This package contains Java client library.
+
+%package javadoc
+Summary: API documentation for %{name}
+
+%description javadoc
+This package provides %{summary}.
+
+%prep
+%setup -q
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE NOTICE
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE NOTICE
+
+%changelog
+* Tue Sep 16 2014 Mikolaj Izdebski <mizdebsk(a)redhat.com>
+- Initial packaging