From 142a744476d11a60d0f09bd225cf3aeead238041 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 11:36:42 +0000 Subject: import libserializer-1.1.2-18.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..feaa3ea --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libserializer-1.1.2-jarsdeleted.zip diff --git a/.libserializer.metadata b/.libserializer.metadata new file mode 100644 index 0000000..9569ba5 --- /dev/null +++ b/.libserializer.metadata @@ -0,0 +1 @@ +714c4f228bd3dbe8af2c5048d4f7de00fef2cab9 SOURCES/libserializer-1.1.2-jarsdeleted.zip diff --git a/SOURCES/libserializer-1.1.2.build.patch b/SOURCES/libserializer-1.1.2.build.patch new file mode 100644 index 0000000..86b8c38 --- /dev/null +++ b/SOURCES/libserializer-1.1.2.build.patch @@ -0,0 +1,15 @@ +--- libserializer-1.1.2/build.properties 2009-11-20 09:34:31.000000000 +0000 ++++ libserializer-1.1.2/build.properties 2009-11-20 09:34:37.000000000 +0000 +@@ -1,7 +1,11 @@ +-project.revision=TRUNK-SNAPSHOT ++project.revision=1.1.2 + ivy.artifact.group=pentaho-library + ivy.artifact.id=libserializer + impl.title=LibSerializer + impl.productID=libserializer + src.dir=${basedir}/source + dependency.libbase.revision=1.1.2 ++ ++antcontrib.available=true ++ ++build.cache.dir=lib diff --git a/SPECS/libserializer.spec b/SPECS/libserializer.spec new file mode 100644 index 0000000..8b82763 --- /dev/null +++ b/SPECS/libserializer.spec @@ -0,0 +1,110 @@ +Name: libserializer +Version: 1.1.2 +Release: 18%{?dist} +Summary: JFreeReport General Serialization Framework +License: LGPLv2+ +Group: System Environment/Libraries +#Original source: http://downloads.sourceforge.net/jfreereport/libserializer-%%{version}.zip +#unzip, find . -name "*.jar" -exec rm {} \; +#to simplify the licensing +Source: libserializer-%{version}-jarsdeleted.zip +URL: http://reporting.pentaho.org +BuildRequires: ant, ant-contrib, java-devel, jpackage-utils, libbase >= 1.1.2 +Requires: java-headless, jpackage-utils, libbase >= 1.1.2 +BuildArch: noarch +Patch0: libserializer-1.1.2.build.patch + +%description +Libserializer contains a general serialization framework that simplifies the +task of writing custom java serialization handlers. + +%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 + +%install +mkdir -p $RPM_BUILD_ROOT%{_javadir} +cp -p dist/libserializer-%{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 ChangeLog.txt licence-LGPL.txt README.txt +%{_javadir}/%{name}.jar + +%files javadoc +%{_javadocdir}/%{name} + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.1.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.1.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.1.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.1.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.1.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.1.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Feb 25 2014 Caolán McNamara - 1.1.2-12 +- Resolves: rhbz#1068367 Switch to java-headless (build)requires + +* Wed Oct 23 2013 Caolán McNamara - 1.1.2-11 +- Resolves: rhbz#1022138 remove versioned jars + +* Tue Aug 06 2013 Parag Nemade - 1.1.2-10 +- 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.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 02 2012 Caolán McNamara - 1.1.2-7 +- repack source to remove bundled multi-license .jars + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 28 2011 Caolán McNamara - 1.1.2-4 +- Related: rhbz#749103 drop gcj aot + +* Tue Feb 08 2011 Fedora Release Engineering - 1.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 01 2010 Caolán McNamara 1.1.2-2 +- fix up source-code download foo + +* Fri Nov 20 2009 Caolán McNamara 1.1.2-1 +- initial fedora import