[exec-maven-plugin] Initial commit
by Michal Srb
commit 9086d584b2099245395a37469863882c2ae89522
Author: Michal Srb <msrb(a)redhat.com>
Date: Fri Jan 11 16:24:14 2013 +0100
Initial commit
.gitignore | 2 +
exec-maven-plugin.spec | 104 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +
3 files changed, 108 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..641315d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/exec-maven-plugin-1.2.1-source-release.zip
+/LICENSE-2.0.txt
diff --git a/exec-maven-plugin.spec b/exec-maven-plugin.spec
new file mode 100644
index 0000000..b05c720
--- /dev/null
+++ b/exec-maven-plugin.spec
@@ -0,0 +1,104 @@
+Name: exec-maven-plugin
+Version: 1.2.1
+Release: 7%{?dist}
+Summary: Exec Maven Plugin
+
+Group: Development/Libraries
+# Most of the files are under ASL 2.0 license, but there are some files
+# with no license specified. The project contains MIT license text,
+# but there is no file which uses such a license.
+License: ASL 2.0 and MIT
+URL: http://mojo.codehaus.org/exec-maven-plugin
+Source0: http://repo1.maven.org/maven2/org/codehaus/mojo/exec-maven-plugin/1.2.1/e...
+Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
+BuildArch: noarch
+
+BuildRequires: xmvn
+BuildRequires: plexus-utils
+BuildRequires: maven-shared-plugin-testing-harness
+BuildRequires: maven-remote-resources-plugin
+BuildRequires: maven-plugin-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-enforcer-plugin
+BuildRequires: maven-surefire-plugin
+BuildRequires: maven-doxia-sitetools
+BuildRequires: maven-plugin-cobertura
+BuildRequires: mojo-signatures
+BuildRequires: maven-invoker-plugin
+BuildRequires: apache-commons-exec
+BuildRequires: plexus-containers-container-default
+
+Obsoletes: maven-plugin-exec < %{version}-%{release}
+Provides: maven-plugin-exec = %{version}-%{release}
+
+%description
+A plugin to allow execution of system and Java programs
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+
+%description javadoc
+API documentation for %{name}.
+
+
+%prep
+%setup -q -n exec-maven-plugin-%{version}
+
+sed -i 's/\r$//' LICENSE.txt
+find . -name *.jar -delete
+
+cp -p %{SOURCE1} .
+
+%pom_add_dep org.apache.maven:maven-compat pom.xml
+
+%build
+# There are missing dependencies for tests
+%mvn_build -f
+
+%install
+%mvn_install
+
+%files -f .mfiles
+%doc LICENSE.txt LICENSE-2.0.txt
+%dir %{_javadir}/%{name}
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt LICENSE-2.0.txt
+
+%changelog
+* Fri Jan 11 2013 Michal Srb <msrb(a)redhat.com> - 1.2.1-7
+- Fixed rpmlint warnings
+- Remove bundled JAR files before building the package
+
+* Wed Jan 09 2013 Michal Srb <msrb(a)redhat.com> - 1.2.1-6
+- maven-plugin-exec renamed (Resolves: #893451)
+- Migrated to xmvn
+
+* Wed Nov 28 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.2.1-5
+- Fix license tag
+- Install license files
+- Resolves: rhbz#880290
+
+* Wed Nov 28 2012 Tomas Radej <tradej(a)redhat.com> - 1.2.1-4
+- Removed (B)R on plexus-container-default
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Dec 6 2011 Alexander Kurtakov <akurtako(a)redhat.com> 1.2.1-1
+- Update to latest upstream.
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Sep 11 2009 Alexander Kurtakov <akurtako(a)gmail.com> 1.1-1
+- Initial package.
+
diff --git a/sources b/sources
index e69de29..8f34dc3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+e1cf1ddd8fbc456840269434b69f0bf1 exec-maven-plugin-1.2.1-source-release.zip
+3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt
11 years, 4 months
[maven-osgi] Initial commit
by tradej@fedoraproject.org
Summary of changes:
c0f1bc1... Initial commit (*)
(*) This commit already existed in another branch; no separate mail sent
11 years, 4 months
[maven-osgi/f18] Initial commit
by tradej@fedoraproject.org
commit c0f1bc1da34a74ec08eede8fd58fd88550174e0e
Author: Tomas Radej <tradej(a)redhat.com>
Date: Fri Jan 11 16:08:37 2013 +0100
Initial commit
.gitignore | 2 +
maven-osgi.spec | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 2 +
3 files changed, 97 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..430639c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/LICENSE-2.0.txt
+/maven-osgi-0.2.0.tar.xz
diff --git a/maven-osgi.spec b/maven-osgi.spec
new file mode 100644
index 0000000..80552e6
--- /dev/null
+++ b/maven-osgi.spec
@@ -0,0 +1,93 @@
+Name: maven-osgi
+Version: 0.2.0
+Release: 2%{?dist}
+# Maven-shared defines maven-osgi version as 0.3.0
+Epoch: 1
+Summary: Library for Maven-OSGi integration
+License: ASL 2.0
+URL: http://maven.apache.org/shared/maven-osgi
+# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-osgi-0.2.0 maven-osgi-0.2.0
+# tar caf maven-osgi-0.2.0.tar.xz maven-osgi-0.2.0/
+Source0: %{name}-%{version}.tar.xz
+# ASL mandates that the licence file be included in redistributed source
+Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
+
+BuildArch: noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven-plugin-testing-harness
+BuildRequires: maven-surefire-provider-junit
+Requires: aqute-bndlib
+Requires: java
+Requires: jpackage-utils
+Requires: maven-project
+
+Obsoletes: maven-shared-osgi < %{epoch}:%{version}-%{release}
+Provides: maven-shared-osgi = %{epoch}:%{version}-%{release}
+
+%description
+Library for Maven-OSGi integration.
+
+This is a replacement package for maven-shared-osgi
+
+%package javadoc
+Group: Documentation
+Summary: Javadoc for %{name}
+Requires: jpackage-utils
+
+%description javadoc
+API documentation for %{name}.
+
+
+%prep
+%setup -q
+
+# Replace plexus-maven-plugin with plexus-component-metadata
+find -name 'pom.xml' -exec sed \
+ -i 's/<artifactId>plexus-maven-plugin<\/artifactId>/<artifactId>plexus-component-metadata<\/artifactId>/' '{}' ';'
+find -name 'pom.xml' -exec sed \
+ -i 's/<goal>descriptor<\/goal>/<goal>generate-metadata<\/goal>/' '{}' ';'
+
+cp %{SOURCE1} LICENSE.txt
+
+# There are binary jars in test resources
+find -iname '*.jar' -exec rm '{}' ';'
+
+%build
+# Binary jars were removed, thus some tests fail
+mvn-rpmbuild install javadoc:aggregate -Dmaven.test.failure.ignore
+
+%install
+# JAR
+install -Ddm 755 %{buildroot}/%{_javadir}
+install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# POM
+install -Ddm 755 %{buildroot}/%{_mavenpomdir}
+install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+# JavaDoc
+install -Ddm 755 %{buildroot}/%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+%files
+%doc LICENSE.txt
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE.txt
+%doc %{_javadocdir}/%{name}
+
+
+%changelog
+* Fri Jan 11 2013 Tomas Radej <tradej(a)redhat.com> - 1:0.2.0-2
+- Fixed Provides/Obsoletes
+
+* Mon Jan 07 2013 Tomas Radej <tradej(a)redhat.com> - 1:0.2.0-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..fb511b2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+3b83ef96387f14655fc854ddc3c6bd57 LICENSE-2.0.txt
+ae43e35257505eb48292333fe011f90b maven-osgi-0.2.0.tar.xz
11 years, 4 months