From 4977886d1845192abd9f69fdf210acf52e48a48b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 16 2015 15:03:17 +0000 Subject: import devtoolset-4-rome-0.9-19.2.el7 --- diff --git a/.devtoolset-4-rome.metadata b/.devtoolset-4-rome.metadata new file mode 100644 index 0000000..627c4f1 --- /dev/null +++ b/.devtoolset-4-rome.metadata @@ -0,0 +1 @@ +6f5b3c6784becfd593e9e8b728322b72d6dbeb82 SOURCES/rome-0.9-src.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e936e3a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rome-0.9-src.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +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/MANIFEST.MF b/SOURCES/MANIFEST.MF new file mode 100644 index 0000000..f202b9e --- /dev/null +++ b/SOURCES/MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Bundle-SymbolicName: com.sun.syndication +Import-Package: org.jdom;version="1.1.2",org.jdom.adapters;version="1. + 1.2",org.jdom.filter;version="1.1.2",org.jdom.input;version="1.1.2",o + rg.jdom.output;version="1.1.2",org.jdom.transform;version="1.1.2",org + .jdom.xpath;version="1.1.2" +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Localization: plugin +Bundle-Version: 0.9.0.v200803061811 +Bundle-Vendor: %providerName +Export-Package: com.sun.syndication.feed;version="0.9.0",com.sun.syndi + cation.feed.atom;version="0.9.0",com.sun.syndication.feed.impl;versio + n="0.9.0",com.sun.syndication.feed.module;version="0.9.0",com.sun.syn + dication.feed.module.impl;version="0.9.0",com.sun.syndication.feed.rs + s;version="0.9.0",com.sun.syndication.feed.synd;version="0.9.0",com.s + un.syndication.feed.synd.impl;version="0.9.0",com.sun.syndication.io; + version="0.9.0",com.sun.syndication.io.impl;version="0.9.0" diff --git a/SOURCES/rome-0.9-addosgimanifest.patch b/SOURCES/rome-0.9-addosgimanifest.patch new file mode 100644 index 0000000..c0fbb64 --- /dev/null +++ b/SOURCES/rome-0.9-addosgimanifest.patch @@ -0,0 +1,13 @@ +diff -up ./build.xml.osgimanifest ./build.xml +--- ./build.xml.osgimanifest 2008-07-25 11:58:58.000000000 -0400 ++++ ./build.xml 2008-07-25 11:59:40.000000000 -0400 +@@ -68,7 +68,8 @@ + + + +- ++ + + + diff --git a/SOURCES/rome-0.9-pom.patch b/SOURCES/rome-0.9-pom.patch new file mode 100644 index 0000000..bf9c9a2 --- /dev/null +++ b/SOURCES/rome-0.9-pom.patch @@ -0,0 +1,13 @@ +--- pom.xml 2007-05-11 22:26:30.000000000 +0200 ++++ pom.xml-gil 2012-05-25 15:35:42.456444479 +0200 +@@ -90,7 +90,9 @@ + + + +- surefire ++ org.apache.maven.plugins ++ maven-surefire-plugin ++ 2.10 + + + **/Test*.java diff --git a/SOURCES/rome-0.9.pom b/SOURCES/rome-0.9.pom new file mode 100644 index 0000000..051979c --- /dev/null +++ b/SOURCES/rome-0.9.pom @@ -0,0 +1,109 @@ + + 4.0.0 + rome + rome + ROME, RSS and atOM utilitiEs for Java + 0.9 + jar + All Roads Lead to ROME. + ROME is a set of Atom/RSS Java utilities that make it easy to work in Java with most syndication formats. + Today it accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds. + Rome includes a set of parsers and generators for the various flavors of feeds, as well as converters to convert from one format to another. + The parsers can give you back Java objects that are either specific for the format you want to work with, or a generic normalized SyndFeed object that lets you work on with the data without bothering about the underlying format. + https://rome.dev.java.net/ + + https://rome.dev.java.net/servlets/ProjectIssues + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + +
dev@rome.dev.java.net
+
+
+
+
+ 2004 + + + dev@rome.dev.java.net + https://rome.dev.java.net/servlets/ProjectMailingListList + https://rome.dev.java.net/servlets/ProjectMailingListList + https://rome.dev.java.net/servlets/SummarizeList?listName=dev + + + + + Alejandro Abdelnur + http://blog.sun.com/roller/page/tucu/ + 0 + + + Elaine Chien + 0 + + + Patrick Chanezon + http://www.chanezon.com/pat/weblog/ + -9 + + + + scm:cvs:pserver:guest@cvs.dev.java.net:/cvs:rome + https://rome.dev.java.net/source/browse/rome/ + + + Sun Microsystems + http://java.sun.com/ + + + src/java + src/test + + + src/java + + **/*.properties + + + + + + ${basedir}/src/data + + **/*.xml + + + + src/test + + rome.properties + + + + + + surefire + + + **/Test*.java + + + + + + + + jdom + jdom + 1.0 + + +
diff --git a/SPECS/rome.spec b/SPECS/rome.spec new file mode 100644 index 0000000..97af5b0 --- /dev/null +++ b/SPECS/rome.spec @@ -0,0 +1,140 @@ +%{?scl:%scl_package rome} +%{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} + +Name: %{?scl_prefix}rome +Version: 0.9 +Release: 19.2%{?dist} +Summary: RSS and Atom Utilities + +License: ASL 2.0 +URL: https://rome.dev.java.net/ +# wget https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/rome-0.9-src.tar.gz?rev=1.1 +Source0: %{pkg_name}-%{version}-src.tar.gz +# wget http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.sun.syndication_0.9.0.v200803061811.jar +# unzip com.sun.syndication_0.9.0.v200803061811.jar META-INF/MANIFEST.MF +# sed -i 's/\r//' META-INF/MANIFEST.MF +# # We won't have the same SHA-1 sums (class sometimes spills into # cl\nass) +# sed -i -e "/^Name/d" -e "/^SHA/d" -e "/^\ ass$/d" -e "/^$/d" META-INF/MANIFEST.MF +Source1: MANIFEST.MF +Source2: http://repo1.maven.org/maven2/%{pkg_name}/%{pkg_name}/%{version}/%{pkg_name}-%{version}.pom +BuildArch: noarch + +Patch0: %{pkg_name}-%{version}-addosgimanifest.patch +# fix maven-surefire-plugin aId +Patch1: %{pkg_name}-%{version}-pom.patch + +BuildRequires: %{?scl_prefix_java_common}javapackages-local +BuildRequires: %{?scl_prefix_java_common}ant +BuildRequires: %{?scl_prefix_java_common}jdom >= 1.1.2-3 +Requires: %{?scl_prefix_java_common}jdom >= 1.1.2-3 + +%description +ROME is an set of open source Java tools for parsing, generating and +publishing RSS and Atom feeds. + +%package javadoc +Summary: Javadocs for %{pkg_name} +Requires: %{name} = %{version}-%{release} + +%description javadoc +This package contains the API documentation for %{pkg_name}. + +%prep +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%setup -n %{pkg_name}-%{version} -q +find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \; +cp -p %{SOURCE1} . +%patch0 +cp -p %{SOURCE2} pom.xml +%patch1 +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +mkdir -p target/lib +build-jar-repository -p target/lib jdom +ant -Dnoget=true dist + +%mvn_artifact pom.xml target/rome-%{version}.jar +%{?scl:EOF} + + +%install +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} +%mvn_install -J dist/docs/api +%{?scl:EOF} + + +%files -f .mfiles +%dir %{_mavenpomdir}/rome +%dir %{_javadir}/rome + +%files javadoc -f .mfiles-javadoc + +%changelog +* Thu Jul 16 2015 Mat Booth - 0.9-19.2 +- Fix broken requires on javadoc package +- Fix unowned directories + +* Tue Jun 23 2015 Mat Booth - 0.9-19.1 +- Import latest from Fedora + +* Tue Jun 23 2015 Mat Booth - 0.9-19 +- Adopt xmvn + +* Thu Jun 18 2015 Fedora Release Engineering - 0.9-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jun 9 2014 Alexander Kurtakov 0.9-17 +- Fix FTBFS. + +* Sun Jun 08 2014 Fedora Release Engineering - 0.9-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Feb 21 2014 Alexander Kurtakov 0.9-15 +- Require java-headless. + +* Sun Aug 04 2013 Fedora Release Engineering - 0.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.9-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.9-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri May 25 2012 gil cattaneo 0.9-11 +- Added maven POM + +* Tue Apr 17 2012 Alexander Kurtakov 0.9-10 +- Adapt to current guidelines. + +* Fri Apr 13 2012 Krzysztof Daniel 0.9-9 +- Use Java 7 +- Use latest jdom + +* Sat Jan 14 2012 Fedora Release Engineering - 0.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Feb 15 2010 Alexander Kurtakov 0.9-6 +- Fix build with latest jdom. (rhbz#565057) + +* Mon Jan 11 2010 Andrew Overholt 0.9-5 +- Update URL in instructions for getting MANIFEST. + +* Sun Jul 26 2009 Fedora Release Engineering - 0.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Mar 30 2009 Andrew Overholt 0.9-3 +- Fix javadoc Group (rhbz#492761). + +* Wed Feb 25 2009 Fedora Release Engineering - 0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jul 25 2008 Andrew Overholt 0.9-1 +- Initial Fedora version