[Bug 723563] New: [PATCH] plexus-maven-plugin retiring (replaced with plexus-containers-component-metadata)
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [PATCH] plexus-maven-plugin retiring (replaced with plexus-containers-component-metadata)
https://bugzilla.redhat.com/show_bug.cgi?id=723563
Summary: [PATCH] plexus-maven-plugin retiring (replaced with
plexus-containers-component-metadata)
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: maven-doxia-tools
AssignedTo: fedora(a)matbooth.co.uk
ReportedBy: jcapik(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: fedora(a)matbooth.co.uk,
java-sig-commits(a)lists.fedoraproject.org,
jcapik(a)redhat.com
Blocks: 652183
Classification: Fedora
Story Points: ---
Created attachment 514033
--> https://bugzilla.redhat.com/attachment.cgi?id=514033
plexus-maven-plugin retiring
Description of problem:
The attached patch replaces the obsolete plexus-maven-plugin with
plexus-containers-component-metadata.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
12 years, 7 months
[maven-doxia-tools] Various updates.
by Alexander Kurtakov
commit c668e154ac17ee654043a45e88d3418b1a2380a8
Author: Alexander Kurtakov <akurtako(a)redhat.com>
Date: Tue Sep 27 11:38:59 2011 +0300
Various updates.
- Install license as doc.
- Use new package names.
- Merge and update patches.
- Use new macro
.gitignore | 1 +
maven-doxia-tools-maven3-compat.patch | 15 ------
...xia-tools-migration-to-component-metadata.patch | 47 ++++++++++++--------
maven-doxia-tools.spec | 44 +++++++++---------
sources | 2 +-
5 files changed, 53 insertions(+), 56 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fa966d0..c6d2c9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
maven-doxia-tools-1.2.tbz
+maven-doxia-tools-1.4-source-release.zip
diff --git a/maven-doxia-tools-migration-to-component-metadata.patch b/maven-doxia-tools-migration-to-component-metadata.patch
index e631eda..114554a 100644
--- a/maven-doxia-tools-migration-to-component-metadata.patch
+++ b/maven-doxia-tools-migration-to-component-metadata.patch
@@ -1,18 +1,29 @@
-diff -Naur maven-doxia-tools-1.4.orig/pom.xml maven-doxia-tools-1.4/pom.xml
---- maven-doxia-tools-1.4.orig/pom.xml 2011-06-24 16:57:36.000000000 +0200
-+++ maven-doxia-tools-1.4/pom.xml 2011-06-24 17:08:00.322970648 +0200
-@@ -150,12 +150,12 @@
- <plugins>
- <plugin>
- <groupId>org.codehaus.plexus</groupId>
-- <artifactId>plexus-maven-plugin</artifactId>
-+ <artifactId>plexus-component-metadata</artifactId>
- <executions>
- <execution>
- <id>create-component-descriptor</id>
- <goals>
-- <goal>descriptor</goal>
-+ <goal>generate-metadata</goal>
- </goals>
- </execution>
- </executions>
+--- pom.xml.sav 2011-04-30 23:20:18.000000000 +0300
++++ pom.xml 2011-09-27 11:30:31.469299395 +0300
+@@ -75,6 +75,11 @@
+ </dependency>
+
+ <!-- maven -->
++ <dependency>
++ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>${mavenVersion}</version>
++ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+@@ -174,12 +179,12 @@
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+- <artifactId>plexus-maven-plugin</artifactId>
++ <artifactId>plexus-component-metadata</artifactId>
+ <executions>
+ <execution>
+ <id>create-component-descriptor</id>
+ <goals>
+- <goal>descriptor</goal>
++ <goal>generate-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
diff --git a/maven-doxia-tools.spec b/maven-doxia-tools.spec
index 0a7a112..1877054 100644
--- a/maven-doxia-tools.spec
+++ b/maven-doxia-tools.spec
@@ -1,19 +1,16 @@
Name: maven-doxia-tools
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Maven Doxia Integration Tools
Group: Development/Libraries
License: ASL 2.0
URL: http://maven.apache.org/shared/maven-doxia-tools/
-# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-doxia-tools-1.4/
-# tar caf maven-doxia-tools-1.4.tar.xz maven-doxia-tools-1.4
-Source0: %{name}-%{version}.tar.xz
+Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/...
Patch0: %{name}-migration-to-component-metadata.patch
-Patch1: %{name}-maven3-compat.patch
-BuildRequires: jakarta-commons-io >= 1.4
-BuildRequires: jakarta-commons-logging
+BuildRequires: apache-commons-io >= 1.4
+BuildRequires: apache-commons-logging
BuildRequires: plexus-utils
BuildRequires: plexus-interpolation
BuildRequires: plexus-container-default
@@ -22,20 +19,20 @@ BuildRequires: maven
BuildRequires: maven-shared
BuildRequires: maven-doxia
BuildRequires: maven-doxia-sitetools
-BuildRequires: maven2-plugin-compiler
-BuildRequires: maven2-plugin-install
-BuildRequires: maven2-plugin-jar
-BuildRequires: maven2-plugin-javadoc
-BuildRequires: maven2-plugin-resources
-BuildRequires: maven2-plugin-surefire
-BuildRequires: maven-shared-plugin-testing-harness
+BuildRequires: maven-compiler-plugin
+BuildRequires: maven-install-plugin
+BuildRequires: maven-jar-plugin
+BuildRequires: maven-javadoc-plugin
+BuildRequires: maven-resources-plugin
+BuildRequires: maven-surefire-plugin
+BuildRequires: maven-plugin-testing-harness
BuildRequires: maven-shared-reporting-impl
BuildRequires: plexus-containers-component-metadata
BuildRequires: java-devel >= 1:1.6.0
BuildArch: noarch
-Requires: jakarta-commons-io >= 1.4
+Requires: apache-commons-io >= 1.4
Requires: plexus-utils
Requires: plexus-interpolation
Requires: plexus-container-default
@@ -61,16 +58,11 @@ API documentation for %{name}.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
+%patch0 -b .sav
%build
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mkdir -p $MAVEN_REPO_LOCAL
-
mvn-rpmbuild \
- -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-Dmaven.test.skip=true \
install javadoc:aggregate
@@ -85,17 +77,25 @@ cp -pr target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
# poms
install -Dpm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
-%add_to_maven_depmap org.apache.maven.shared %{name} %{version} JPP %{name}
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
%files
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/%{name}
+%doc LICENSE NOTICE DEPENDENCIES
%files javadoc
%doc %{_javadocdir}/*
+%doc LICENSE
%changelog
+* Tue Sep 27 2011 Alexander Kurtakov <akurtako(a)redhat.com> 1.4-2
+- Install license as doc.
+- Use new package names.
+- Merge and update patches.
+- Use new macro
+
* Fri Jun 24 2011 Jaromir Capik <jcapik(a)redhat.com> 1.4-1
- Update to 1.4
- Migration from plexus-maven-plugin to plexus-containers-component-metadata
diff --git a/sources b/sources
index ec30c8e..96f67d2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b7e4b311421b11f2c6027d05bc75081 maven-doxia-tools-1.2.tbz
+a588119a2815f64e75d4edd7bb60b79c maven-doxia-tools-1.4-source-release.zip
12 years, 7 months
[maven-doxia-tools] Migration to plexus-containers-component-metadata & update to 1.4
by Alexander Kurtakov
commit b81e0edc8de64e34206750e31164b014062aae29
Author: Jaromír Cápík <jcapik(a)redhat.com>
Date: Wed Jul 20 17:04:45 2011 +0200
Migration to plexus-containers-component-metadata & update to 1.4
maven-doxia-tools-maven3-compat.patch | 15 +++++
...xia-tools-migration-to-component-metadata.patch | 18 ++++++
maven-doxia-tools-update-interpolation.patch | 48 ----------------
maven-doxia-tools.spec | 59 ++++++++-----------
4 files changed, 58 insertions(+), 82 deletions(-)
---
diff --git a/maven-doxia-tools-maven3-compat.patch b/maven-doxia-tools-maven3-compat.patch
new file mode 100644
index 0000000..a38e598
--- /dev/null
+++ b/maven-doxia-tools-maven3-compat.patch
@@ -0,0 +1,15 @@
+diff -Naur maven-doxia-tools-1.4.orig/pom.xml maven-doxia-tools-1.4/pom.xml
+--- maven-doxia-tools-1.4.orig/pom.xml 2011-07-20 16:23:03.000000000 +0200
++++ maven-doxia-tools-1.4/pom.xml 2011-07-20 16:23:45.267091971 +0200
+@@ -77,6 +77,11 @@
+ <!-- maven -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
++ <artifactId>maven-compat</artifactId>
++ <version>${mavenVersion}</version>
++ </dependency>
++ <dependency>
++ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${mavenVersion}</version>
+ </dependency>
diff --git a/maven-doxia-tools-migration-to-component-metadata.patch b/maven-doxia-tools-migration-to-component-metadata.patch
new file mode 100644
index 0000000..e631eda
--- /dev/null
+++ b/maven-doxia-tools-migration-to-component-metadata.patch
@@ -0,0 +1,18 @@
+diff -Naur maven-doxia-tools-1.4.orig/pom.xml maven-doxia-tools-1.4/pom.xml
+--- maven-doxia-tools-1.4.orig/pom.xml 2011-06-24 16:57:36.000000000 +0200
++++ maven-doxia-tools-1.4/pom.xml 2011-06-24 17:08:00.322970648 +0200
+@@ -150,12 +150,12 @@
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+- <artifactId>plexus-maven-plugin</artifactId>
++ <artifactId>plexus-component-metadata</artifactId>
+ <executions>
+ <execution>
+ <id>create-component-descriptor</id>
+ <goals>
+- <goal>descriptor</goal>
++ <goal>generate-metadata</goal>
+ </goals>
+ </execution>
+ </executions>
diff --git a/maven-doxia-tools.spec b/maven-doxia-tools.spec
index 44a712c..0a7a112 100644
--- a/maven-doxia-tools.spec
+++ b/maven-doxia-tools.spec
@@ -1,16 +1,16 @@
Name: maven-doxia-tools
-Version: 1.2
-Release: 5%{?dist}
+Version: 1.4
+Release: 1%{?dist}
Summary: Maven Doxia Integration Tools
Group: Development/Libraries
License: ASL 2.0
URL: http://maven.apache.org/shared/maven-doxia-tools/
-# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-doxia-tools-1.2/
-Source0: %{name}-%{version}.tbz
-Patch0: %{name}-update-interpolation.patch
-
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+# svn export http://svn.apache.org/repos/asf/maven/shared/tags/maven-doxia-tools-1.4/
+# tar caf maven-doxia-tools-1.4.tar.xz maven-doxia-tools-1.4
+Source0: %{name}-%{version}.tar.xz
+Patch0: %{name}-migration-to-component-metadata.patch
+Patch1: %{name}-maven3-compat.patch
BuildRequires: jakarta-commons-io >= 1.4
BuildRequires: jakarta-commons-logging
@@ -18,6 +18,7 @@ BuildRequires: plexus-utils
BuildRequires: plexus-interpolation
BuildRequires: plexus-container-default
BuildRequires: plexus-i18n
+BuildRequires: maven
BuildRequires: maven-shared
BuildRequires: maven-doxia
BuildRequires: maven-doxia-sitetools
@@ -29,7 +30,7 @@ BuildRequires: maven2-plugin-resources
BuildRequires: maven2-plugin-surefire
BuildRequires: maven-shared-plugin-testing-harness
BuildRequires: maven-shared-reporting-impl
-BuildRequires: plexus-maven-plugin
+BuildRequires: plexus-containers-component-metadata
BuildRequires: java-devel >= 1:1.6.0
BuildArch: noarch
@@ -61,56 +62,46 @@ API documentation for %{name}.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
mkdir -p $MAVEN_REPO_LOCAL
-mvn-jpp \
+mvn-rpmbuild \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-Dmaven.test.skip=true \
- install javadoc:javadoc
-
+ install javadoc:aggregate
%install
-rm -rf $RPM_BUILD_ROOT
-
-mkdir -p $RPM_BUILD_ROOT%{_javadir}
-
-install -m 644 target/%{name}-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+# jars
+install -Dm 644 target/%{name}-%{version}.jar %{buildroot}/%{_javadir}/%{name}.jar
-mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-(cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name})
+# javadoc
+install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}/%{_javadocdir}/%{name}
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
+# poms
+install -Dpm 644 pom.xml %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
%add_to_maven_depmap org.apache.maven.shared %{name} %{version} JPP %{name}
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
-%defattr(-,root,root,-)
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%defattr(-,root,root,-)
%doc %{_javadocdir}/*
%changelog
+* Fri Jun 24 2011 Jaromir Capik <jcapik(a)redhat.com> 1.4-1
+- Update to 1.4
+- Migration from plexus-maven-plugin to plexus-containers-component-metadata
+- Dependency maven-compat introduced
+- Minor spec file changes according to the latest guidelines
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12 years, 7 months
[aqute-bnd] Initial import (#740545).
by Jaromír Cápík
commit 2af9989caa22583c26e7762fe6e8aaffdb4dda5b
Author: Jaromir Capik <jcapik(a)redhat.com>
Date: Mon Sep 26 19:55:15 2011 +0200
Initial import (#740545).
.gitignore | 2 +
aqute-bnd.spec | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
bnd-0.0.363.pom | 22 +++++++
sources | 2 +
4 files changed, 193 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45ff9af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/aqute-service.tar.gz
+/bnd-0.0.363.jar
diff --git a/aqute-bnd.spec b/aqute-bnd.spec
new file mode 100644
index 0000000..f8f729c
--- /dev/null
+++ b/aqute-bnd.spec
@@ -0,0 +1,167 @@
+# Copyright (c) 2000-2008, JPackage Project
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the
+# distribution.
+# 3. Neither the name of the JPackage Project nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+Name: aqute-bnd
+Version: 0.0.363
+Release: 2%{?dist}
+Summary: BND Tool
+License: ASL 2.0
+Group: Development/Tools
+URL: http://www.aQute.biz/Code/Bnd
+
+# NOTE : sources for 0.0.363 are no longer available
+# The following links would work for 0.0.370-0.0.401 version range, but
+# we need to stay by 0.0.363 to minimize problems during the 1.43.0 introduction
+Source0: http://www.aqute.biz/repo/biz/aQute/bnd/%{version}/bnd-%{version}.jar
+Source1: http://www.aqute.biz/repo/biz/aQute/bnd/%{version}/bnd-%{version}.pom
+Source2: aqute-service.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: jpackage-utils
+BuildRequires: java-devel
+BuildRequires: ant
+BuildRequires: eclipse-ecj
+BuildRequires: eclipse-jdt
+
+Requires: java
+
+%description
+The bnd tool helps you create and diagnose OSGi R4 bundles.
+The key functions are:
+- Show the manifest and JAR contents of a bundle
+- Wrap a JAR so that it becomes a bundle
+- Create a Bundle from a specification and a class path
+- Verify the validity of the manifest entries
+The tool is capable of acting as:
+- Command line tool
+- File format
+- Directives
+- Use of macros
+
+%package javadoc
+Requires: jpackage-utils
+Summary: Javadoc for %{name}
+Group: Documentation
+
+%description javadoc
+Javadoc for %{name}.
+
+%prep
+%setup -q -c
+
+mkdir -p target/site/apidocs/
+mkdir -p target/classes/
+mkdir -p src/main/
+mv OSGI-OPT/src src/main/java
+pushd src/main/java
+tar xfs %{SOURCE2}
+popd
+sed -i "s|import aQute.lib.filter.*;||g" src/main/java/aQute/bnd/make/ComponentDef.java
+sed -i "s|import aQute.lib.filter.*;||g" src/main/java/aQute/bnd/make/ServiceComponent.java
+
+# remove bundled stuff
+rm -rf aQute
+
+# Convert CR+LF to LF
+sed -i "s|\r||g" LICENSE
+
+%build
+export LANG=en_US.utf8
+export OPT_JAR_LIST=:
+export CLASSPATH=$(build-classpath ant)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.osgi_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.osgi.services_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.jface_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.jface.databinding_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.jface.text_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui.ide_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.core.commands_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.core.jobs_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.core.runtime_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.core.resources_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.debug.core_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.debug.ui_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.text_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui.console_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui.editors_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui.workbench_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.ui.workbench.texteditor_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.core_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.debug.ui_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.launching_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.junit_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.junit.core_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/dropins/jdt/plugins/org.eclipse.jdt.ui_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.equinox.common_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.equinox.registry_*.jar)
+CLASSPATH=${CLASSPATH}:$(ls /usr/lib*/eclipse/plugins/org.eclipse.swt.*.jar)
+
+%{javac} -d target/classes -target 1.5 -source 1.5 $(find src/main/java -type f -name "*.java")
+%{javadoc} -d target/site/apidocs -sourcepath src/main/java aQute.lib.header aQute.lib.osgi aQute.lib.qtokens aQute.lib.filter
+cp -p LICENSE maven-dependencies.txt plugin.xml pom.xml target/classes
+for f in $(find aQute/ -type f -not -name "*.class"); do
+ cp -p $f target/classes/$f
+done
+pushd target/classes
+%{jar} cmf ../../META-INF/MANIFEST.MF ../%{name}-%{version}.jar *
+popd
+
+%install
+# jars
+install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -Dm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
+
+%files
+%doc LICENSE
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc LICENSE
+%{_javadocdir}/%{name}
+
+%changelog
+* Thu Sep 22 2011 Jaromir Capik <jcapik(a)redhat.com> - 0.0.363-2
+- Bundled classes removed
+- jpackage-utils dependency added to the javadoc subpackage
+
+* Wed Sep 21 2011 Jaromir Capik <jcapik(a)redhat.com> - 0.0.363-1
+- Initial version (cloned from aqute-bndlib 0.0.363)
diff --git a/bnd-0.0.363.pom b/bnd-0.0.363.pom
new file mode 100644
index 0000000..ef1b897
--- /dev/null
+++ b/bnd-0.0.363.pom
@@ -0,0 +1,22 @@
+<project xmlns='http://maven.apache.org/POM/4.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd'>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>biz.aQute</groupId>
+ <artifactId>bnd</artifactId>
+ <version>0.0.363</version>
+ <description>
+ A utility and plugin to wrap, build, or print bundles
+ </description>
+ <name>aQute Bundle Tool</name>
+ <url>http://www.aQute.biz/Code/Bnd</url>
+ <organization>
+ <name>aQute SARL</name>
+ <url>http://www.aQute.biz</url>
+ </organization>
+ <licenses>
+ <license>
+ <name>All files contained in this JAR are licensed under the Apache 2.0 license, unless noted differently in their source (see swing2swt).</name>
+ <url>http://www.opensource.org/licenses/apache2.0.php</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+</project>
diff --git a/sources b/sources
index e69de29..4dc0aa4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1,2 @@
+11fe2398149f85066f6d0b6dc8af225b aqute-service.tar.gz
+1d36d0271381964304c08b00b5fd1b4a bnd-0.0.363.jar
12 years, 7 months