From deb2649fbc724e54374d1d32b961ca1b46308f60 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 08:50:26 -0400 Subject: [PATCH] import libloader-1.1.3-17.el8 --- .gitignore | 1 + .libloader.metadata | 1 + SOURCES/libloader-1.1.2.build.patch | 44 +++++++++ SPECS/libloader.spec | 133 ++++++++++++++++++++++++++++ 4 files changed, 179 insertions(+) create mode 100644 .gitignore create mode 100644 .libloader.metadata create mode 100644 SOURCES/libloader-1.1.2.build.patch create mode 100644 SPECS/libloader.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6ed5fef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libloader-1.1.3-jarsdeleted.zip diff --git a/.libloader.metadata b/.libloader.metadata new file mode 100644 index 0000000..de1b005 --- /dev/null +++ b/.libloader.metadata @@ -0,0 +1 @@ +3cb9e82f49dcc4683748871d34095a3a84b5dee8 SOURCES/libloader-1.1.3-jarsdeleted.zip diff --git a/SOURCES/libloader-1.1.2.build.patch b/SOURCES/libloader-1.1.2.build.patch new file mode 100644 index 0000000..e1e5041 --- /dev/null +++ b/SOURCES/libloader-1.1.2.build.patch @@ -0,0 +1,44 @@ +--- libloader-1.1.3/build.properties 2009-11-17 14:12:00.000000000 +0000 ++++ libloader-1.1.3/build.properties 2009-11-17 14:12:48.000000000 +0000 +@@ -1,4 +1,4 @@ +-project.revision=TRUNK-SNAPSHOT ++project.revision=1.1.3 + ivy.artifact.group=pentaho-library + ivy.artifact.id=libloader + impl.title=LibLoader +@@ -6,4 +6,6 @@ + src.dir=${basedir}/source + dependency.libbase.revision=1.1.3 + dependency.libpixie.revision=1.1.3 +-testsrc.dir=${basedir}/test +\ No newline at end of file ++testsrc.dir=${basedir}/test ++antcontrib.available=true ++build.cache.dir=lib +--- libloader-1.1.3/common_build.xml 2009-11-17 14:55:31.000000000 +0000 ++++ libloader-1.1.3/common_build.xml 2009-11-17 14:56:48.000000000 +0000 +@@ -1071,6 +1071,7 @@ + + + ++ + + + +@@ -1356,6 +1357,9 @@ + doctitle="${impl.title} documentation"> + + ++ ++ ++ + + + +@@ -1648,4 +1652,4 @@ + + + +- +\ No newline at end of file ++ diff --git a/SPECS/libloader.spec b/SPECS/libloader.spec new file mode 100644 index 0000000..3c2eaa8 --- /dev/null +++ b/SPECS/libloader.spec @@ -0,0 +1,133 @@ +Name: libloader +Version: 1.1.3 +Release: 17%{?dist} +Summary: Resource Loading Framework +License: LGPLv2 +Group: System Environment/Libraries +#Original source: http://downloads.sourceforge.net/jfreereport/%%{name}-%%{version}.zip +#unzip, find . -name "*.jar" -exec rm {} \; +#to simplify the licensing +Source: %{name}-%{version}-jarsdeleted.zip +URL: http://reporting.pentaho.org/ +BuildRequires: ant, ant-contrib, java-devel, jpackage-utils +BuildRequires: libbase >= 1.1.3 +Requires: java-headless, jpackage-utils, libbase >= 1.1.3 +BuildArch: noarch +Patch0: libloader-1.1.2.build.patch + +%description +LibLoader is a general purpose resource loading framework. It has been +designed to allow to load resources from any physical location and to +allow the processing of that content data in a generic way, totally +transparent to the user of that library. + +%package javadoc +Summary: Javadoc for %{name} +Group: Documentation +Requires: %{name} = %{version}-%{release} +Requires: jpackage-utils + +%description javadoc +Javadoc for %{name}. + +%prep +%setup -q -c +%patch0 -p1 -b .build +find . -name "*.jar" -exec rm -f {} \; +mkdir -p lib +build-jar-repository -s -p lib libbase commons-logging-api +cd lib +ln -s %{_javadir}/ant ant-contrib + +%build +ant jar javadoc +for file in README.txt licence-LGPL.txt ChangeLog.txt; do + tr -d '\r' < $file > $file.new + mv $file.new $file +done + +%install +mkdir -p $RPM_BUILD_ROOT%{_javadir} +cp -p ./dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar + +mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} +cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name} + +%files +%doc licence-LGPL.txt README.txt ChangeLog.txt +%{_javadir}/%{name}.jar + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.1.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Feb 25 2014 Caolán McNamara - 1.1.3-11 +- Resolves: rhbz#1068358 Switch to java-headless (build)requires + +* Wed Oct 23 2013 Caolán McNamara - 1.1.3-10 +- Resolves: rhbz#1022134 remove versioned jars + +* Tue Aug 06 2013 Parag Nemade - 1.1.3-9 +- Fix bogus date in %%changelog +- ant-nodeps is dropped from ant-1.9.0-2 build in rawhide +- Drop buildroot, %%clean, %%defattr and removal of buildroot in %%install + +* Sat Aug 03 2013 Fedora Release Engineering - 1.1.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Nov 03 2012 Caolán McNamara - 1.1.3-6 +- repack source to remove bundled multi-license .jars + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 28 2011 Caolán McNamara 1.1.3-3 +- Related: rhbz#749103 drop gcj aot + +* Tue Feb 08 2011 Fedora Release Engineering - 1.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Dec 02 2009 Caolan McNamara 1.1.3 +- latest version + +* Tue Nov 17 2009 Caolan McNamara 1.1.2 +- latest version + +* Fri Jul 24 2009 Caolan McNamara 1.0.0-2.OOo31 +- make javadoc no-arch when building as arch-dependant aot + +* Mon Mar 16 2009 Caolan McNamara 1.0.0-1.OOo31 +- Post release tuned for OpenOffice.org reportbuilder + +* Mon Mar 09 2009 Caolan McNamara 0.4.0-1 +- latest version + +* Wed Feb 25 2009 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed May 07 2008 Caolan McNamara 0.3.7-1 +- initial fedora import