[maven-dependency-tree] Build with xmvn
by Mikolaj Izdebski
commit 571a303a4483bc96e09ae362534c7281bb9e3e95
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Thu Jan 10 16:03:35 2013 +0100
Build with xmvn
maven-dependency-tree.spec | 60 +++++++++----------------------------------
1 files changed, 13 insertions(+), 47 deletions(-)
---
diff --git a/maven-dependency-tree.spec b/maven-dependency-tree.spec
index baf7b45..eee9267 100644
--- a/maven-dependency-tree.spec
+++ b/maven-dependency-tree.spec
@@ -1,47 +1,27 @@
Name: maven-dependency-tree
Version: 2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Maven dependency tree artifact
Group: Development/Libraries
License: ASL 2.0
Url: http://maven.apache.org/
Source0: http://repo1.maven.org/maven2/org/apache/maven/shared/%{name}/%{version}/...
+BuildArch: noarch
-BuildRequires: java-devel
-BuildRequires: jpackage-utils
-
-BuildRequires: maven
-BuildRequires: maven-artifact
-BuildRequires: maven-project
-BuildRequires: maven-compiler-plugin
-BuildRequires: maven-install-plugin
-BuildRequires: maven-jar-plugin
-BuildRequires: maven-javadoc-plugin
-BuildRequires: maven-surefire-plugin
+BuildRequires: xmvn
BuildRequires: plexus-containers-component-metadata
BuildRequires: plexus-containers-component-annotations
-Requires: maven
-Requires: maven-project
-Requires: maven-artifact
-Requires: plexus-containers-component-annotations
-Requires: java
-Requires: jpackage-utils
-
-
-BuildArch: noarch
-
-Provides: maven-shared-dependency-tree = %{version}-%{release}
-Obsoletes: maven-shared-dependency-tree < %{version}-%{release}
+Provides: maven-shared-dependency-tree = %{version}-%{release}
+Obsoletes: maven-shared-dependency-tree < %{version}-%{release}
%description
-Apache Maven dependency tree artifact. Originally part of maven-shared
+Apache Maven dependency tree artifact. Originally part of maven-shared.
%package javadoc
Group: Documentation
Summary: Javadoc for %{name}
-Requires: jpackage-utils
%description javadoc
This package contains javadoc for %{name}.
@@ -53,34 +33,20 @@ This package contains javadoc for %{name}.
%build
# we have no jmock yet
-mvn-rpmbuild -Dproject.build.sourceEncoding=utf-8 \
- -Dmaven.test.skip=true \
- package javadoc:aggregate
+%mvn_build -f
%install
-# jars
-install -d -m 0755 %{buildroot}%{_javadir}
-install -pm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-
-# pom
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap
+%mvn_install
-# javadoc
-install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
-cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-
-%files
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
+%files -f .mfiles
%doc LICENSE NOTICE
-%files javadoc
-%{_javadocdir}/%{name}
+%files javadoc -f .mfiles-javadoc
%doc LICENSE NOTICE
%changelog
+* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 2.0-2
+- Build with xmvn
+
* Wed Oct 24 2012 Stanislav Ochotnicky <sochotnicky(a)redhat.com> - 2.0-1
- Initial package
11 years, 3 months
[beust-jcommander] Update to upstream version 1.30
by Mikolaj Izdebski
commit 37171d475d9dd34ccb9153a03968419e470c31c1
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Thu Jan 10 10:55:00 2013 +0100
Update to upstream version 1.30
- Build with xmvn
.gitignore | 1 +
beust-jcommander.spec | 62 +++++++++++++-----------------------------------
sources | 2 +-
3 files changed, 19 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e054537..43c032b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/beust-jcommander-1.17.tar.xz
+/jcommander-1.30.tar.gz
diff --git a/beust-jcommander.spec b/beust-jcommander.spec
index 7919753..60b4e22 100644
--- a/beust-jcommander.spec
+++ b/beust-jcommander.spec
@@ -1,77 +1,49 @@
-
%global short_name jcommander
-%global group_id com.beust
Name: beust-%{short_name}
-Version: 1.17
-Release: 6%{?dist}
+Version: 1.30
+Release: 1%{?dist}
Summary: Java framework for parsing command line parameters
License: ASL 2.0
Group: Development/Libraries
URL: http://jcommander.org/
-# git clone git://github.com/cbeust/jcommander.git
-# cd jcommander
-# git archive --prefix="beust-jcommander-1.17/" --format=tar jcommander-1.17 | xz > beust-jcommander-1.17.tar.xz
-Source0: %{name}-%{version}.tar.xz
-
+Source0: https://github.com/cbeust/%{short_name}/archive/%{short_name}-%{version}....
BuildArch: noarch
-
-BuildRequires: java-devel
-BuildRequires: jpackage-utils
-BuildRequires: maven
-BuildRequires: maven-enforcer-plugin
-BuildRequires: testng
-
-Requires: java
-Requires: jpackage-utils
+BuildRequires: xmvn
%description
-JCommander is a very small Java framework
-that makes it trivial to parse command line
-parameters (with annotations).
+JCommander is a very small Java framework that makes it trivial to
+parse command line parameters (with annotations).
%package javadoc
Summary: API documentation for %{name}
Group: Documentation
-Requires: jpackage-utils
%description javadoc
-This package contains the API documentation for %{name}.
+This package contains the %{summary}.
%prep
-%setup -q
-
-# removing spurious-executable-perm
+%setup -q -n %{short_name}-%{short_name}-%{version}
chmod -x license.txt
%build
-mvn-rpmbuild install javadoc:aggregate
+%mvn_file : %{name}
+%mvn_build -f
%install
-# jars
-install -d -m 755 %{buildroot}%{_javadir}
-install -p -m 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-
-# pom
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom %{name}.jar
+%mvn_install
-# javadoc
-install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
-cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
-
-%files
+%files -f .mfiles
%doc license.txt notice.md README.markdown
-%{_javadir}/%{name}.jar
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
-%files javadoc
+%files javadoc -f .mfiles-javadoc
%doc license.txt notice.md
-%doc %{_javadocdir}/%{name}
%changelog
+* Thu Jan 10 2013 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.30-1
+- Update to upstream version 1.30
+- Build with xmvn
+
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk(a)redhat.com> - 1.17-6
- Install NOTICE files
diff --git a/sources b/sources
index 1acbfb0..fe87532 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4cc69f21ca9f6d5bb08916bb97dd3016 beust-jcommander-1.17.tar.xz
+fe495dea15cf6891f08e9702ff7890dd jcommander-1.30.tar.gz
11 years, 3 months
[Bug 879615] New: maven-jflex-plugin: GPL code linked with GPL-incompatible libraries
by Red Hat Bugzilla
Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=879615
Bug ID: 879615
Summary: maven-jflex-plugin: GPL code linked with
GPL-incompatible libraries
Product: Fedora
Version: 18
Component: maven-jflex-plugin
Severity: unspecified
Priority: unspecified
Reporter: mizdebsk(a)redhat.com
Blocks: 182235 (FE-Legal)
Description of problem:
maven-jflex-plugin is licensed under GPL (any version), but it links with
GPL-incompatible code (at least classworlds, which is licensed under Plexus
license [1], but it also likely that it is liked with CPL-licensed code of
junit and some ASL 1.1 code somewhere).
Possible solutions:
1) rewrite the plugin from scratch (only ~400 lines of code)
2) remove the package from Fedora and port other packages not to depend on it
3) obtain GPL classpath exception from copyright holders (maven-jflex-plugin
links to a GPL library - jflex, so the exception for this library would be
needed too)
Version-Release number of selected component (if applicable):
1.4.3-8
[1] https://fedoraproject.org/wiki/Licensing/Plexus_Classworlds_License
--
You are receiving this mail because:
You are on the CC list for the bug.
11 years, 3 months
[maven-jflex-plugin] Package is retired
by Mikolaj Izdebski
commit e2668aa5be5b4aef0a1d9e5077fd7c239f12ccaf
Author: Mikolaj Izdebski <mizdebsk(a)redhat.com>
Date: Wed Jan 9 22:29:20 2013 +0100
Package is retired
.gitignore | 1 -
dead.package | 3 +
maven-jflex-plugin-1.4.3-srcencoding.patch | 40 ----------
maven-jflex-plugin.spec | 111 ----------------------------
sources | 1 -
5 files changed, 3 insertions(+), 153 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..1167f07
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,3 @@
+Package is retired
+
+Reason: licensing problems (rhbz#879615)
11 years, 3 months