From 446df4bd33df761fc5d0e86c9f274840098e151f Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Oct 25 2013 02:09:42 +0000 Subject: import glassfish-fastinfoset-1.2.12-8.el7.src.rpm --- diff --git a/.glassfish-fastinfoset.metadata b/.glassfish-fastinfoset.metadata new file mode 100644 index 0000000..d1346f7 --- /dev/null +++ b/.glassfish-fastinfoset.metadata @@ -0,0 +1 @@ +25989877523298264fa90ba9d7d7d60039403dd7 SOURCES/glassfish-fastinfoset-1.2.12-src-svn.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/glassfish-fastinfoset-1.2.12-pom.patch b/SOURCES/glassfish-fastinfoset-1.2.12-pom.patch new file mode 100644 index 0000000..b5b64bb --- /dev/null +++ b/SOURCES/glassfish-fastinfoset-1.2.12-pom.patch @@ -0,0 +1,52 @@ +diff --git a/pom.xml b/pom.xml +index d4b9c25..120c2d1 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -1,10 +1,4 @@ + +- +- net.java +- jvnet-parent +- 1 +- +- + 4.0.0 + com.sun.xml.fastinfoset + fastinfoset-project +@@ -64,13 +58,6 @@ + http://java.net/projects/fi/sources/svn/show/tags/1_2_12 + + +- +- +- org.apache.maven.wagon +- wagon-webdav +- 1.0-beta-2 +- +- + install + + +@@ -210,9 +197,6 @@ + + + fastinfoset +- roundtrip-tests +- utilities +- samples + + + target/site +@@ -277,9 +261,9 @@ + test + + +- javax.xml.bind +- jsr173_api +- 1.0 ++ stax ++ stax-api ++ 1.0.1 + + + diff --git a/SPECS/glassfish-fastinfoset.spec b/SPECS/glassfish-fastinfoset.spec new file mode 100644 index 0000000..7acfa54 --- /dev/null +++ b/SPECS/glassfish-fastinfoset.spec @@ -0,0 +1,87 @@ +Name: glassfish-fastinfoset +Version: 1.2.12 +Release: 8%{?dist} +Summary: Fast Infoset +Group: Development/Libraries +License: ASL 2.0 +URL: https://fi.dev.java.net + +# svn export https://svn.java.net/svn/fi~svn/tags/1_2_12/ glassfish-fastinfoset-1.2.12 +# find glassfish-fastinfoset-1.2.12/ -name '*.class' -delete +# find glassfish-fastinfoset-1.2.12/ -name '*.jar' -delete +# rm -rf glassfish-fastinfoset-1.2.12/roundtrip-tests +# tar czf glassfish-fastinfoset-1.2.12-src-svn.tar.gz glassfish-fastinfoset-1.2.12 +Source0: %{name}-%{version}-src-svn.tar.gz + +# Replace javax.xml.bind jsr173_api with stax (bea-)stax-api: +Patch0: %{name}-%{version}-pom.patch + +BuildRequires: maven-local + +Requires: bea-stax-api +Requires: jpackage-utils +Requires: xsom + +BuildArch: noarch + + +%package javadoc +Group: Development/Libraries +Summary: Javadoc for %{name} +Requires: jpackage-utils + + +%description +Fast Infoset specifies a standardized binary encoding for the XML Information +Set. An XML infoset (such as a DOM tree, StAX events or SAX events in +programmatic representations) may be serialized to an XML 1.x document or, as +specified by the Fast Infoset standard, may be serialized to a fast infoset +document. Fast infoset documents are generally smaller in size and faster to +parse and serialize than equivalent XML documents. + + +%description javadoc +This package contains javadoc for %{name}. + + +%prep +%setup -q +%patch0 -p1 + + +%build +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%dir %{_javadir}/%{name} + +%files javadoc -f .mfiles-javadoc + +%changelog +* Thu Oct 24 2013 Ade Lee 1.2.12-8 +- Resolves: rhbz#1017803 - glassfish-fastinfoset: mock build failed on RHEL 7 + +* Fri Feb 22 2013 Juan Hernandez - 1.2.12-7 +- Remove the wagon-webdav build extension (rhbz 914033) + +* Wed Feb 13 2013 Fedora Release Engineering - 1.2.12-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.2.12-5 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Thu Jul 19 2012 Fedora Release Engineering - 1.2.12-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Mar 7 2012 Juan Hernandez 1.2.12-3 +- Changed name from glassfish-fi to glassfish-fastinfoset + +* Tue Feb 14 2012 Juan Hernandez 1.2.12-2 +- Cleanup of the spec file + +* Sat Jan 21 2012 Marek Goldmann 1.2.12-1 +- Initial packaging