[jbosgi-vfs/f17] Initial import

Marek Goldmann goldmann at fedoraproject.org
Mon Jun 18 13:15:09 UTC 2012


commit 20553e951f28dae39bc1c49077ab037b6e513d79
Author: Marek Goldmann <goldmann at fedoraproject.org>
Date:   Mon Jun 18 15:14:55 2012 +0200

    Initial import

 .gitignore      |    1 +
 jbosgi-vfs.spec |  101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 103 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e8d88e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jbosgi-vfs-1.1.2.CR1.tar.xz
diff --git a/jbosgi-vfs.spec b/jbosgi-vfs.spec
new file mode 100644
index 0000000..ca655ba
--- /dev/null
+++ b/jbosgi-vfs.spec
@@ -0,0 +1,101 @@
+%global namedreltag .CR1
+%global namedversion %{version}%{?namedreltag}
+
+Name:             jbosgi-vfs
+Version:          1.1.2
+Release:          0.3%{namedreltag}%{?dist}
+Summary:          JBoss OSGi Virtual File System
+Group:            Development/Libraries
+License:          LGPLv2+
+URL:              http://community.jboss.org/wiki/JBossOSGi
+
+# git clone git://github.com/jbosgi/jbosgi-vfs.git
+# cd jbosgi-vfs/ && git archive --format=tar --prefix=jbosgi-vfs-1.1.2.CR1/ 1.1.2.CR1 | xz > jbosgi-vfs-1.1.2.CR1.tar.xz
+Source0:          %{name}-%{namedversion}.tar.xz
+
+BuildArch:        noarch
+
+BuildRequires:    jpackage-utils
+BuildRequires:    java-devel
+BuildRequires:    jbosgi-parent
+BuildRequires:    maven
+BuildRequires:    maven-compiler-plugin
+BuildRequires:    maven-install-plugin
+BuildRequires:    maven-jar-plugin
+BuildRequires:    maven-javadoc-plugin
+BuildRequires:    maven-surefire-provider-junit4
+BuildRequires:    felix-osgi-core
+BuildRequires:    jboss-logging
+BuildRequires:    jboss-logging-tools
+BuildRequires:    jboss-vfs
+BuildRequires:    shrinkwrap
+BuildRequires:    junit
+
+Requires:         jpackage-utils
+Requires:         java
+Requires:         felix-osgi-core
+Requires:         jboss-logging
+Requires:         jboss-logging-tools
+Requires:         jboss-vfs
+Requires:         shrinkwrap
+
+%description
+This package contains the JBoss OSGi Virtual File System
+
+%package javadoc
+Summary:          Javadocs for %{name}
+Group:            Documentation
+Requires:         jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}-%{namedversion}
+
+%build
+mvn-rpmbuild install javadoc:aggregate
+
+%install
+install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+# JAR
+install -pm 644 api/target/jbosgi-vfs-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-vfs.jar
+install -pm 644 vfs30/target/jbosgi-vfs30-%{namedversion}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-vfs30.jar
+
+# POM
+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-parent.pom
+install -pm 644 api/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-vfs.pom
+install -pm 644 vfs30/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}-vfs30.pom
+
+# DEPMAP
+%add_maven_depmap JPP-%{name}-parent.pom
+%add_maven_depmap JPP-%{name}-vfs.pom %{name}-vfs.jar
+%add_maven_depmap JPP-%{name}-vfs30.pom %{name}-vfs30.jar
+
+# APIDOCS
+cp -rp target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+%files
+%{_mavenpomdir}/*
+%{_mavendepmapfragdir}/*
+%{_javadir}/*
+%doc LICENSE.txt
+
+%files javadoc
+%{_javadocdir}/%{name}
+%doc LICENSE.txt
+
+%changelog
+* Tue Jun 12 2012 Marek Goldmann <mgoldman at redhat.com> 1.1.2-0.3.CR1
+- Added license to packages
+- Changed url
+
+* Tue Jun 12 2012 Marek Goldmann <mgoldman at redhat.com> 1.1.2-0.2.CR1
+- Added new BR
+
+* Wed Jun 06 2012 Marek Goldmann <mgoldman at redhat.com> 1.1.2-0.1.CR1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..ecfab88 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cd7d76b75591c1afdb9e281c15d79a8a  jbosgi-vfs-1.1.2.CR1.tar.xz


More information about the scm-commits mailing list