[base64coder] Initial import (#709233).
by Jaromír Cápík
commit 18feecf1f0951d7920812c12ec4940cc14c572c5
Author: Jaromír Cápík <jcapik(a)redhat.com>
Date: Wed Jun 8 14:19:20 2011 +0200
Initial import (#709233).
.gitignore | 1 +
base64coder.spec | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3aeddf3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/base64coder-2010-12-19-distribution.zip
diff --git a/base64coder.spec b/base64coder.spec
new file mode 100644
index 0000000..72b8913
--- /dev/null
+++ b/base64coder.spec
@@ -0,0 +1,92 @@
+
+%global group_id biz.source_code
+%global long_ver 2010-12-19
+
+Name: base64coder
+Version: 20101219
+Release: 2%{?dist}
+Summary: Fast and compact Base64 encoder/decoder Java library
+License: EPL or LGPLv2+ or GPLv2+ or ASL 2.0+ or BSD
+Group: Development/Libraries
+# http://www.source-code.biz/base64coder/java/
+URL: http://www.source-code.biz/%{name}/java/
+# http://repo2.maven.org/maven2/biz/source_code/base64coder/2010-12-19/base...
+Source0: http://repo2.maven.org/maven2/biz/source_code/%{name}/%{long_ver}/%{name}...
+
+BuildArch: noarch
+
+BuildRequires: java-devel
+BuildRequires: jpackage-utils
+BuildRequires: maven
+BuildRequires: maven-surefire-provider-junit4
+
+Requires: java
+Requires: jpackage-utils
+Requires(post): jpackage-utils
+Requires(postun): jpackage-utils
+
+%description
+Base64Coder is a fast and compact Base64 encoder/decoder class.
+
+There is no Base64 encoder/decoder in the standard Java SDK class library.
+The undocumented classes sun.misc.BASE64Encoder and sun.misc.BASE64Decoder
+should not be used.
+
+Explanation:
+http://java.sun.com/products/jdk/faq/faq-sun-packages.html
+
+%package javadoc
+Summary: API documentation for %{name}
+Group: Documentation
+Requires: jpackage-utils
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+%setup -q -n %{name}-%{long_ver}
+
+# convert CR+LF to LF
+sed -i 's/\r//g' README.txt CHANGES.txt
+
+%build
+mvn-rpmbuild install
+
+%install
+# jars
+install -d -m 755 %{buildroot}%{_javadir}
+install -p -m 644 target/%{name}-%{long_ver}.jar %{buildroot}%{_javadir}/%{name}.jar
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
+%add_to_maven_depmap %{group_id} %{name} %{long_ver} JPP %{name}
+
+# javadoc
+install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/apidocs/* %{buildroot}%{_javadocdir}/%{name}
+
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
+%files
+%doc README.txt CHANGES.txt
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+
+%files javadoc
+%doc %{_javadocdir}/%{name}
+
+%changelog
+* Tue Jun 07 2011 Jaromir Capik <jcapik(a)redhat.com> - 20101219-2
+- Java suffix removed from the package name and put in the summary instead
+- Version string added in the source URL (no need for manual renaming)
+- POM file added in the source package -> Source1 removed (no need for copying)
+- Removal of the target directory removed (not present anymore)
+
+* Mon May 30 2011 Jaromir Capik <jcapik(a)redhat.com> - 20101219-1
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..f657bba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8067a5a8ead6a88c20efe390e8e88ab8 base64coder-2010-12-19-distribution.zip
12 years, 11 months
[maven-archiver] Build with maven 3.x.
by Alexander Kurtakov
commit 59d2efa468518ca3dae16e12ea4ad536472a3a7b
Author: Alexander Kurtakov <akurtako(a)redhat.com>
Date: Wed Jun 8 13:44:10 2011 +0300
Build with maven 3.x.
maven-archiver.spec | 39 ++++++++++++---------------------------
1 files changed, 12 insertions(+), 27 deletions(-)
---
diff --git a/maven-archiver.spec b/maven-archiver.spec
index 4d92cc9..3064f39 100644
--- a/maven-archiver.spec
+++ b/maven-archiver.spec
@@ -30,7 +30,7 @@
Name: maven-archiver
Version: 2.4.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Epoch: 0
Summary: Maven Archiver
License: ASL 2.0
@@ -41,13 +41,12 @@ URL: http://maven.apache.org/
# tar caf maven-archiver-2.4.1-src.tar.xz maven-archiver/
Source0: %{name}-%{version}-src.tar.xz
Source1: %{name}-depmap.xml
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils >= 0:1.7.2
-BuildRequires: maven2 >= 0:2.0.8
+BuildRequires: maven
BuildRequires: maven-compiler-plugin
BuildRequires: maven-install-plugin
BuildRequires: maven-jar-plugin
@@ -63,7 +62,7 @@ BuildRequires: plexus-archiver >= 1.0-0.1.a7
BuildRequires: plexus-utils
BuildRequires: apache-commons-parent
-Requires: maven2 >= 0:2.0.4-9
+Requires: maven
Requires: plexus-archiver >= 1.0-0.1.a7
Requires: plexus-interpolation
Requires: plexus-utils
@@ -92,28 +91,17 @@ Javadoc for %{name}.
rm -fr src/test/java/org/apache/maven/archiver/*.java
%build
-
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mkdir -p $MAVEN_REPO_LOCAL
-
-mvn-jpp \
- -e \
- -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
- -Dmaven.test.failure.ignore=true \
- -Dmaven2.jpp.depmap.file=%{SOURCE1} \
- install javadoc:javadoc
+mvn-rpmbuild install javadoc:aggregate
%install
-rm -rf $RPM_BUILD_ROOT
# jars/poms
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
# Copy file and create unversioned symlink
install -pm 644 target/%{name}-%{version}.jar \
- $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+ $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
# Copy pom
install -pm 644 pom.xml \
@@ -121,24 +109,21 @@ install -pm 644 pom.xml \
%add_to_maven_depmap org.apache.maven maven-archiver %{version} JPP maven-archiver
# javadoc
-install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%files
-%defattr(-,root,root,-)
%{_javadir}/*
-%{_datadir}/maven2/poms/JPP-maven-archiver.pom
+%{_mavenpomdir}/JPP-maven-archiver.pom
%{_mavendepmapfragdir}/%{name}
%files javadoc
-%defattr(-,root,root,-)
%doc %{_javadocdir}/*
%changelog
+* Wed Jun 8 2011 Alexander Kurtakov <akurtako(a)redhat.com> 0:2.4.1-6
+- Build with maven 3.x.
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0:2.4.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12 years, 11 months
[maven-antrun-plugin] Build with maven 3.x.
by Alexander Kurtakov
commit fcd2adde038f8fbbd1bc51bca2056aa575387dc7
Author: Alexander Kurtakov <akurtako(a)redhat.com>
Date: Wed Jun 8 13:33:37 2011 +0300
Build with maven 3.x.
maven-antrun-plugin.spec | 31 +++++++++----------------------
1 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/maven-antrun-plugin.spec b/maven-antrun-plugin.spec
index 2385089..c8350dc 100644
--- a/maven-antrun-plugin.spec
+++ b/maven-antrun-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-antrun-plugin
Version: 1.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Maven AntRun Plugin
Group: Development/Libraries
@@ -9,14 +9,13 @@ URL: http://maven.apache.org/plugins/maven-antrun-plugin/
Source0: http://repo2.maven.org/maven2/org/apache/maven/plugins/%{name}/%{version}...
Patch0: fix-deps.patch
Patch1: fix-ant-1.8.2.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: plexus-utils
BuildRequires: ant
-BuildRequires: maven2
+BuildRequires: maven
BuildRequires: maven-install-plugin
BuildRequires: maven-compiler-plugin
BuildRequires: maven-plugin-plugin
@@ -26,7 +25,7 @@ BuildRequires: maven-surefire-provider-junit
BuildRequires: maven-jar-plugin
BuildRequires: maven-javadoc-plugin
Requires: ant
-Requires: maven2
+Requires: maven
Requires: jpackage-utils
Requires: java
Requires(post): jpackage-utils
@@ -53,16 +52,9 @@ API documentation for %{name}.
%patch1
%build
-export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
-mvn-jpp \
- -e \
- -Dmaven2.jpp.mode=true \
- -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
- install javadoc:javadoc
+mvn-rpmbuild install javadoc:javadoc
%install
-rm -rf %{buildroot}
-
# jars
install -d -m 0755 %{buildroot}%{_javadir}
install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
@@ -75,10 +67,8 @@ install -pm 644 pom.xml \
%{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
# javadoc
-install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
-cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}-%{version}/
-ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
-rm -rf target/site/api*
+install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
+cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%post
%update_maven_depmap
@@ -86,23 +76,20 @@ rm -rf target/site/api*
%postun
%update_maven_depmap
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc LICENSE NOTICE
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
-%defattr(-,root,root,-)
%doc LICENSE NOTICE
-%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}
%changelog
+* Wed Jun 8 2011 Alexander Kurtakov <akurtako(a)redhat.com> 1.6-4
+- Build with maven 3.x.
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
12 years, 11 months
[Bug 711130] New: Please remove maven2 dependencies
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: Please remove maven2 dependencies
https://bugzilla.redhat.com/show_bug.cgi?id=711130
Summary: Please remove maven2 dependencies
Product: Fedora
Version: rawhide
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: apache-commons-collections
AssignedTo: carlgreen(a)gmail.com
ReportedBy: SpikeFedora(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: carlgreen(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Description of problem:
Java-SIG is currently trying to remove all maven2 dependencies before F16
branch (2011-07-26 ). Please revise the spec file and rebuild with maven3.
--
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, 11 months