|
|
497788 |
%{?scl:%scl_package rome}
|
|
|
497788 |
%{!?scl:%global pkg_name %{name}}
|
|
|
497788 |
%{?java_common_find_provides_and_requires}
|
|
|
497788 |
|
|
|
497788 |
Name: %{?scl_prefix}rome
|
|
|
497788 |
Version: 0.9
|
|
|
497788 |
Release: 19.2%{?dist}
|
|
|
497788 |
Summary: RSS and Atom Utilities
|
|
|
497788 |
|
|
|
497788 |
License: ASL 2.0
|
|
|
497788 |
URL: https://rome.dev.java.net/
|
|
|
497788 |
# wget https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/rome-0.9-src.tar.gz?rev=1.1
|
|
|
497788 |
Source0: %{pkg_name}-%{version}-src.tar.gz
|
|
|
497788 |
# wget http://download.eclipse.org/tools/orbit/downloads/drops/R20090825191606/bundles/com.sun.syndication_0.9.0.v200803061811.jar
|
|
|
497788 |
# unzip com.sun.syndication_0.9.0.v200803061811.jar META-INF/MANIFEST.MF
|
|
|
497788 |
# sed -i 's/\r//' META-INF/MANIFEST.MF
|
|
|
497788 |
# # We won't have the same SHA-1 sums (class sometimes spills into # cl\nass)
|
|
|
497788 |
# sed -i -e "/^Name/d" -e "/^SHA/d" -e "/^\ ass$/d" -e "/^$/d" META-INF/MANIFEST.MF
|
|
|
497788 |
Source1: MANIFEST.MF
|
|
|
497788 |
Source2: http://repo1.maven.org/maven2/%{pkg_name}/%{pkg_name}/%{version}/%{pkg_name}-%{version}.pom
|
|
|
497788 |
BuildArch: noarch
|
|
|
497788 |
|
|
|
497788 |
Patch0: %{pkg_name}-%{version}-addosgimanifest.patch
|
|
|
497788 |
# fix maven-surefire-plugin aId
|
|
|
497788 |
Patch1: %{pkg_name}-%{version}-pom.patch
|
|
|
497788 |
|
|
|
497788 |
BuildRequires: %{?scl_prefix_java_common}javapackages-local
|
|
|
497788 |
BuildRequires: %{?scl_prefix_java_common}ant
|
|
|
497788 |
BuildRequires: %{?scl_prefix_java_common}jdom >= 1.1.2-3
|
|
|
497788 |
Requires: %{?scl_prefix_java_common}jdom >= 1.1.2-3
|
|
|
497788 |
|
|
|
497788 |
%description
|
|
|
497788 |
ROME is an set of open source Java tools for parsing, generating and
|
|
|
497788 |
publishing RSS and Atom feeds.
|
|
|
497788 |
|
|
|
497788 |
%package javadoc
|
|
|
497788 |
Summary: Javadocs for %{pkg_name}
|
|
|
497788 |
Requires: %{name} = %{version}-%{release}
|
|
|
497788 |
|
|
|
497788 |
%description javadoc
|
|
|
497788 |
This package contains the API documentation for %{pkg_name}.
|
|
|
497788 |
|
|
|
497788 |
%prep
|
|
|
497788 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
497788 |
%setup -n %{pkg_name}-%{version} -q
|
|
|
497788 |
find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;
|
|
|
497788 |
cp -p %{SOURCE1} .
|
|
|
497788 |
%patch0
|
|
|
497788 |
cp -p %{SOURCE2} pom.xml
|
|
|
497788 |
%patch1
|
|
|
497788 |
%{?scl:EOF}
|
|
|
497788 |
|
|
|
497788 |
|
|
|
497788 |
%build
|
|
|
497788 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
497788 |
mkdir -p target/lib
|
|
|
497788 |
build-jar-repository -p target/lib jdom
|
|
|
497788 |
ant -Dnoget=true dist
|
|
|
497788 |
|
|
|
497788 |
%mvn_artifact pom.xml target/rome-%{version}.jar
|
|
|
497788 |
%{?scl:EOF}
|
|
|
497788 |
|
|
|
497788 |
|
|
|
497788 |
%install
|
|
|
497788 |
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
|
|
|
497788 |
%mvn_install -J dist/docs/api
|
|
|
497788 |
%{?scl:EOF}
|
|
|
497788 |
|
|
|
497788 |
|
|
|
497788 |
%files -f .mfiles
|
|
|
497788 |
%dir %{_mavenpomdir}/rome
|
|
|
497788 |
%dir %{_javadir}/rome
|
|
|
497788 |
|
|
|
497788 |
%files javadoc -f .mfiles-javadoc
|
|
|
497788 |
|
|
|
497788 |
%changelog
|
|
|
497788 |
* Thu Jul 16 2015 Mat Booth <mat.booth@redhat.com> - 0.9-19.2
|
|
|
497788 |
- Fix broken requires on javadoc package
|
|
|
497788 |
- Fix unowned directories
|
|
|
497788 |
|
|
|
497788 |
* Tue Jun 23 2015 Mat Booth <mat.booth@redhat.com> - 0.9-19.1
|
|
|
497788 |
- Import latest from Fedora
|
|
|
497788 |
|
|
|
497788 |
* Tue Jun 23 2015 Mat Booth <mat.booth@redhat.com> - 0.9-19
|
|
|
497788 |
- Adopt xmvn
|
|
|
497788 |
|
|
|
497788 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-18
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Mon Jun 9 2014 Alexander Kurtakov <akurtako@redhat.com> 0.9-17
|
|
|
497788 |
- Fix FTBFS.
|
|
|
497788 |
|
|
|
497788 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-16
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Fri Feb 21 2014 Alexander Kurtakov <akurtako@redhat.com> 0.9-15
|
|
|
497788 |
- Require java-headless.
|
|
|
497788 |
|
|
|
497788 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-14
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-13
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-12
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Fri May 25 2012 gil cattaneo <puntogil@libero.it> 0.9-11
|
|
|
497788 |
- Added maven POM
|
|
|
497788 |
|
|
|
497788 |
* Tue Apr 17 2012 Alexander Kurtakov <akurtako@redhat.com> 0.9-10
|
|
|
497788 |
- Adapt to current guidelines.
|
|
|
497788 |
|
|
|
497788 |
* Fri Apr 13 2012 Krzysztof Daniel <kdaniel@redhat.com> 0.9-9
|
|
|
497788 |
- Use Java 7
|
|
|
497788 |
- Use latest jdom
|
|
|
497788 |
|
|
|
497788 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-8
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Mon Feb 15 2010 Alexander Kurtakov <akurtako@redhat.com> 0.9-6
|
|
|
497788 |
- Fix build with latest jdom. (rhbz#565057)
|
|
|
497788 |
|
|
|
497788 |
* Mon Jan 11 2010 Andrew Overholt <overholt@redhat.com> 0.9-5
|
|
|
497788 |
- Update URL in instructions for getting MANIFEST.
|
|
|
497788 |
|
|
|
497788 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Mon Mar 30 2009 Andrew Overholt <overholt@redhat.com> 0.9-3
|
|
|
497788 |
- Fix javadoc Group (rhbz#492761).
|
|
|
497788 |
|
|
|
497788 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
497788 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
497788 |
|
|
|
497788 |
* Fri Jul 25 2008 Andrew Overholt <overholt@redhat.com> 0.9-1
|
|
|
497788 |
- Initial Fedora version
|