diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c079d03 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xmlgraphics-commons-1.5-src.tar.gz diff --git a/.rh-maven33-xmlgraphics-commons.metadata b/.rh-maven33-xmlgraphics-commons.metadata new file mode 100644 index 0000000..ada51e5 --- /dev/null +++ b/.rh-maven33-xmlgraphics-commons.metadata @@ -0,0 +1 @@ +15ee5192359195c9d2080ca0c44943f1c887e933 SOURCES/xmlgraphics-commons-1.5-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/SPECS/xmlgraphics-commons.spec b/SPECS/xmlgraphics-commons.spec new file mode 100644 index 0000000..a868e68 --- /dev/null +++ b/SPECS/xmlgraphics-commons.spec @@ -0,0 +1,197 @@ +%global pkg_name xmlgraphics-commons +%{?scl:%scl_package %{pkg_name}} +%{?maven_find_provides_and_requires} + +Name: %{?scl_prefix}%{pkg_name} +Version: 1.5 +Release: 3.14%{?dist} +Epoch: 0 +Summary: XML Graphics Commons + +License: ASL 2.0 +URL: http://xmlgraphics.apache.org/ +Source0: http://apache.skknet.net/xmlgraphics/commons/source/%{pkg_name}-%{version}-src.tar.gz + +BuildArch: noarch +BuildRequires: %{?scl_prefix_java_common}javapackages-tools +BuildRequires: %{?scl_prefix_java_common}ant >= 0:1.6 +BuildRequires: %{?scl_prefix_java_common}ant-junit >= 0:1.6 +BuildRequires: %{?scl_prefix_java_common}junit +BuildRequires: %{?scl_prefix_java_common}apache-commons-io >= 1.3.1 +BuildRequires: %{?scl_prefix_java_common}apache-commons-logging >= 1.0.4 +Requires: %{?scl_prefix_java_common}apache-commons-io >= 1.3.1 +Requires: %{?scl_prefix_java_common}apache-commons-logging >= 1.0.4 + +%description +Apache XML Graphics Commons is a library that consists of +several reusable components used by Apache Batik and +Apache FOP. Many of these components can easily be used +separately outside the domains of SVG and XSL-FO. You will +find components such as a PDF library, an RTF library, +Graphics2D implementations that let you generate PDF & +PostScript files, and much more. + +%package javadoc +Summary: Javadoc for %{pkg_name} + +%description javadoc +%{summary}. + + +%prep +%setup -q -n %{pkg_name}-%{version} +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +rm -f `find . -name "*.jar"` + +# create pom from template +sed "s:@version@:%{version}:g" %{pkg_name}-pom-template.pom \ + > %{pkg_name}.pom +%{?scl:EOF} + + +%build +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +export CLASSPATH=$(build-classpath commons-logging) +export OPT_JAR_LIST="ant/ant-junit junit" +pushd lib +ln -sf $(build-classpath commons-io) . +popd +ant package javadocs +%{?scl:EOF} + +%install +%{?scl:scl enable %{scl} - <<"EOF"} +set -e -x +install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} +install -Dpm 0644 build/%{pkg_name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{pkg_name}.jar +install -pm 644 %{pkg_name}.pom $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{pkg_name}.pom +%add_maven_depmap JPP-%{pkg_name}.pom %{pkg_name}.jar + +install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} +%{?scl:EOF} + +%files -f .mfiles +%doc LICENSE NOTICE README + +%files javadoc +%doc LICENSE NOTICE +%doc %{_javadocdir}/%{name} + + +%changelog +* Mon Feb 08 2016 Michal Srb - 0:1.5-3.14 +- Fix BR on maven-local & co. + +* Mon Jan 11 2016 Michal Srb - 0:1.5-3.13 +- maven33 rebuild #2 + +* Sat Jan 09 2016 Michal Srb - 0:1.5-3.12 +- maven33 rebuild + +* Tue Jan 13 2015 Michael Simacek - 0:1.5-3.11 +- Mass rebuild 2015-01-13 + +* Mon Jan 12 2015 Michal Srb - 1.5-3.10 +- Fix BR/R + +* Wed Jan 07 2015 Michal Srb - 1.5-3.9 +- Migrate to .mfiles + +* Tue Jan 06 2015 Michael Simacek - 0:1.5-3.8 +- Mass rebuild 2015-01-06 + +* Mon May 26 2014 Mikolaj Izdebski - 0:1.5-3.7 +- Mass rebuild 2014-05-26 + +* Wed Feb 19 2014 Mikolaj Izdebski - 0:1.5-3.6 +- Mass rebuild 2014-02-19 + +* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.5-3.5 +- Mass rebuild 2014-02-18 + +* Tue Feb 18 2014 Mikolaj Izdebski - 0:1.5-3.4 +- Remove requires on java + +* Mon Feb 17 2014 Michal Srb - 0:1.5-3.3 +- SCL-ize BR/R + +* Thu Feb 13 2014 Mikolaj Izdebski - 0:1.5-3.2 +- Rebuild to regenerate auto-requires + +* Tue Feb 11 2014 Mikolaj Izdebski - 0:1.5-3.1 +- First maven30 software collection build + +* Fri Dec 27 2013 Daniel Mach - 01.5-3 +- Mass rebuild 2013-12-27 + +* Fri Jun 28 2013 Mikolaj Izdebski - 0:1.5-2 +- Rebuild to regenerate API documentation +- Resolves: CVE-2013-1571 + +* Tue Mar 19 2013 Mat Booth - 0:1.5-1 +- Update to 1.5, rhbz #895934 +- Drop unneeded patch + +* Fri Feb 15 2013 Fedora Release Engineering - 0:1.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Jul 22 2012 Fedora Release Engineering - 0:1.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Mar 06 2012 Deepak Bhole 1.4-5 +- Added dist to the release tag + +* Thu Mar 01 2012 Jiri Vanek - 0:1.4-5 +- Resolves: rhbz#796341 +- Added xmlgraphics-commons-java-7-fix.patch to fix build with Java 7 + +* Sat Jan 14 2012 Fedora Release Engineering - 0:1.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue May 3 2011 Stanislav Ochotnicky - 0:1.4-3 +- Install maven metadata +- Versionless jars & javadocs +- Fixes according to new guidelines + +* Mon Feb 07 2011 Fedora Release Engineering - 0:1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Oct 1 2010 Alexander Kurtakov 0:1.4-1 +- Updte to 1.4. + +* Sat Jan 9 2010 Alexander Kurtakov 0:1.3.1-1 +- Update to 1.3.1. +- Fix Source0 url. + +* Mon Jul 27 2009 Fedora Release Engineering - 0:1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0:1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Apr 02 2008 Lillian Angel - 0:1.3-1 +- Added java-1.6.0-openjdk-devel as build requirement. + +* Mon Mar 31 2008 Lillian Angel - 0:1.3-1 +- Updated sources to 1.3. + +* Fri Nov 23 2007 Lillian Angel - 0:1.2-1 +- Added epoch. + +* Fri Nov 23 2007 Lillian Angel - 0:1.2-1 +- Added missing BuildRoot line. + +* Fri Nov 23 2007 Lillian Angel - 0:1.2-1 +- Fixed install section. + +* Fri Nov 23 2007 Lillian Angel - 0:1.2-1 +- Fixed rpmlint errors. + +* Tue Sep 18 2007 Joshua Sumali - 0:1.2-1jpp +- Update to 1.2 + +* Tue May 23 2006 Ralph Apel - 0:1.0-1jpp +- First JPP-1.7 release