[mycila-licenses] Initial commit (1190733)

Zdeněk Žamberský zzambers at fedoraproject.org
Fri Feb 20 10:58:36 UTC 2015


commit da8617ad222fb3c0c3f47034b8a473989850018d
Author: Zdenek Zambersky <zzambers at redhat.com>
Date:   Fri Feb 20 11:57:43 2015 +0100

    Initial commit (1190733)

 fixWebdav.patch      | 13 +++++++++++++
 mycila-licenses.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources              |  1 +
 3 files changed, 60 insertions(+)
---
diff --git a/fixWebdav.patch b/fixWebdav.patch
new file mode 100644
index 0000000..a823036
--- /dev/null
+++ b/fixWebdav.patch
@@ -0,0 +1,13 @@
+--- pom.xml
++++ pom.xml
+@@ -60,8 +60,7 @@
+         <extensions>
+             <extension>
+                 <groupId>org.apache.maven.wagon</groupId>
+-                <artifactId>wagon-webdav</artifactId>
+-                <version>1.0-beta-2</version>
++                <artifactId>wagon-webdav-jackrabbit</artifactId>
+             </extension>
+         </extensions>
+         <pluginManagement>
+
diff --git a/mycila-licenses.spec b/mycila-licenses.spec
new file mode 100644
index 0000000..abbeacf
--- /dev/null
+++ b/mycila-licenses.spec
@@ -0,0 +1,46 @@
+%global pmname  licenses
+Name:           mycila-%{pmname}
+Version:        1
+Release:        1%{?dist}
+Summary:        Licenses used in Mycila projects
+
+Group:          Development/Tools
+License:        ASL 2.0
+URL:            https://github.com/mycila/licenses
+BuildArch:      noarch
+
+Source0:        https://github.com/mycila/licenses/archive/%{pmname}-%{version}.tar.gz
+Patch0:         fixWebdav.patch
+
+BuildRequires:  maven-local
+BuildRequires:  maven-wagon
+BuildRequires:  maven-wagon-webdav-jackrabbit
+BuildRequires:  dos2unix
+Requires: java-headless
+
+%description
+Licenses used in Mycila projects
+DO NOT USE THIS PROJECT OUT OF MYCILA PARENT POM:
+This is an internal Mycila JAR !
+
+
+%prep
+%setup -q -n %{pmname}-%{pmname}-%{version}
+dos2unix pom.xml
+dos2unix README.md
+chmod -x README.md
+%patch0
+
+%build
+%mvn_build
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc README.md
+
+
+%changelog  
+* Tue Feb 03 2015 Zdenek Zambersky <zzambers at redhat.com> 1-1
+- initial rpm
diff --git a/sources b/sources
index e69de29..5e18d7c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+32a2b9cdd2dc95bf0a5e0eb064eafbb4  licenses-1.tar.gz


More information about the scm-commits mailing list