From b48bc4078ef915470aea7e3e98bd8e1462952163 Mon Sep 17 00:00:00 2001 From: Tomas Hrcka Date: Fri, 13 Dec 2019 09:28:55 +0100 Subject: [PATCH] Revert "Orphaned for 6+ weeks" This reverts commit 7513ef2016b65793f8d9815194a060525dc37e3e. Unretirement request: https://pagure.io/releng/issue/9102 Signed-off-by: Tomas Hrcka --- .gitignore | 3 ++ dead.package | 1 - sources | 1 + xml-maven-plugin.spec | 123 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 sources create mode 100644 xml-maven-plugin.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc920ab --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/xml-maven-plugin-1.0-source-release.zip +/xml-maven-plugin-1.0.1-source-release.zip +/xml-maven-plugin-1.0.2-source-release.zip diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..e769854 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xml-maven-plugin-1.0.2-source-release.zip) = bbd3e285d35cde314e3d72035e53b5b63f8255dcf2c5f6dc43bf954c447c2cc80b36f1fb540ff07866fb15cd431afa6e3e8e3b822cc614717cb9914379066253 diff --git a/xml-maven-plugin.spec b/xml-maven-plugin.spec new file mode 100644 index 0000000..32e4496 --- /dev/null +++ b/xml-maven-plugin.spec @@ -0,0 +1,123 @@ +Name: xml-maven-plugin +Version: 1.0.2 +Release: 3%{?dist} +Summary: Maven XML Plugin +License: ASL 2.0 +URL: http://www.mojohaus.org/xml-maven-plugin/ +Source0: http://repo2.maven.org/maven2/org/codehaus/mojo/xml-maven-plugin/%{version}/xml-maven-plugin-%{version}-source-release.zip + +BuildRequires: maven-local +BuildRequires: mvn(org.apache.maven:maven-core) +BuildRequires: mvn(org.apache.maven:maven-plugin-api) +BuildRequires: mvn(org.apache.maven.plugins:maven-invoker-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) +BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) +BuildRequires: mvn(org.codehaus.mojo:mojo-parent:pom:) +BuildRequires: mvn(org.codehaus.plexus:plexus-io) +BuildRequires: mvn(org.codehaus.plexus:plexus-resources) +BuildRequires: mvn(org.codehaus.plexus:plexus-utils) +BuildRequires: mvn(xml-resolver:xml-resolver) + +BuildArch: noarch + +%description +A plugin for various XML related tasks like validation and transformation. + +%package javadoc +Summary: Javadocs for %{name} + +%description javadoc +This package contains the API documentation for %{name}. + +%prep +%setup -q + +for d in LICENSE NOTICE ; do + iconv -f iso8859-1 -t utf-8 $d.txt > $d.txt.conv && mv -f $d.txt.conv $d.txt + sed -i 's/\r//' $d.txt +done + +# Add the version +sed -i 's|stylesheet |stylesheet version="1.0" |' src/it/it8/src/main/xsl/it8.xsl + +%build +%mvn_build -f + +%install +%mvn_install + +%files -f .mfiles +%doc LICENSE.txt NOTICE.txt + +%files javadoc -f .mfiles-javadoc +%doc LICENSE.txt NOTICE.txt + +%changelog +* Sun Feb 03 2019 Fedora Release Engineering - 1.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Mar 22 2018 Michael Simacek - 1.0.2-1 +- Update to upstream version 1.0.2 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue May 16 2017 Mat Booth - 1.0.1-3 +- Remove unnecessary deps on xml-commons-apis and xerces + +* Sat Feb 11 2017 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jun 16 2016 Alexander Kurtakov 1.0.1-1 +- Update to upstream 1.0.1 release. + +* Fri Feb 05 2016 Fedora Release Engineering - 1.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 30 2015 Mat Booth - 1.0-12 +- Fix FTBFS + +* Fri Jun 19 2015 Fedora Release Engineering - 1.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Sep 12 2013 Marek Goldmann - 1.0-9 +- Use xmvn +- Make the integration tests build + +* Sun Aug 04 2013 Fedora Release Engineering - 1.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Apr 02 2013 Mat Booth - 1.0-7 +- Fix FTBFS rhbz #914586 + +* Fri Feb 15 2013 Fedora Release Engineering - 1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 1.0-5 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Sun Jul 22 2012 Fedora Release Engineering - 1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 21 2012 David Nalley - 1.0-3 +- patched to remove offending integration tests + +* Thu Feb 16 2012 David Nalley - 1.0-2 +- removed needless arguments for setup +- reduced description line to less than 80 chars +- added license to -javadoc +- removed unused source file +- removed all update_maven_depmap references + +* Mon Jan 16 2012 David Nalley - 1.0-1 +- Initial rpm build - spec modified from mageia's version of same