142a74
Name: libserializer
142a74
Version: 1.1.2
142a74
Release: 18%{?dist}
142a74
Summary: JFreeReport General Serialization Framework
142a74
License: LGPLv2+
142a74
Group: System Environment/Libraries
142a74
#Original source: http://downloads.sourceforge.net/jfreereport/libserializer-%%{version}.zip
142a74
#unzip, find . -name "*.jar" -exec rm {} \;
142a74
#to simplify the licensing
142a74
Source: libserializer-%{version}-jarsdeleted.zip
142a74
URL: http://reporting.pentaho.org
142a74
BuildRequires: ant, ant-contrib, java-devel, jpackage-utils, libbase >= 1.1.2
142a74
Requires: java-headless, jpackage-utils, libbase >= 1.1.2
142a74
BuildArch: noarch
142a74
Patch0: libserializer-1.1.2.build.patch
142a74
142a74
%description
142a74
Libserializer contains a general serialization framework that simplifies the
142a74
task of writing custom java serialization handlers.
142a74
142a74
%package javadoc
142a74
Summary: Javadoc for %{name}
142a74
Group: Documentation
142a74
Requires: %{name} = %{version}-%{release}
142a74
Requires: jpackage-utils
142a74
142a74
%description javadoc
142a74
Javadoc for %{name}.
142a74
142a74
%prep
142a74
%setup -q -c
142a74
%patch0 -p1 -b .build
142a74
find . -name "*.jar" -exec rm -f {} \;
142a74
mkdir -p lib
142a74
build-jar-repository -s -p lib libbase commons-logging-api
142a74
cd lib
142a74
ln -s %{_javadir}/ant ant-contrib
142a74
142a74
%build
142a74
ant jar javadoc
142a74
142a74
%install
142a74
mkdir -p $RPM_BUILD_ROOT%{_javadir}
142a74
cp -p dist/libserializer-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
142a74
142a74
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
142a74
cp -rp bin/javadoc/docs/api $RPM_BUILD_ROOT%{_javadocdir}/%{name}
142a74
142a74
%files
142a74
%doc ChangeLog.txt licence-LGPL.txt README.txt
142a74
%{_javadir}/%{name}.jar
142a74
142a74
%files javadoc
142a74
%{_javadocdir}/%{name}
142a74
142a74
%changelog
142a74
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-18
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
142a74
142a74
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-17
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
142a74
142a74
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-16
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
142a74
142a74
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-15
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
142a74
142a74
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-14
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
142a74
142a74
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-13
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
142a74
142a74
* Tue Feb 25 2014 Caolán McNamara <caolanm@redhat.com> - 1.1.2-12
142a74
- Resolves: rhbz#1068367 Switch to java-headless (build)requires
142a74
142a74
* Wed Oct 23 2013 Caolán McNamara <caolanm@redhat.com> - 1.1.2-11
142a74
- Resolves: rhbz#1022138 remove versioned jars
142a74
142a74
* Tue Aug 06 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.1.2-10
142a74
- ant-nodeps is dropped from ant-1.9.0-2 build in rawhide
142a74
- Drop buildroot, %%clean, %%defattr and removal of buildroot in %%install
142a74
142a74
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-9
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
142a74
142a74
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-8
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
142a74
142a74
* Fri Nov 02 2012 Caolán McNamara <caolanm@redhat.com> - 1.1.2-7
142a74
- repack source to remove bundled multi-license .jars
142a74
142a74
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-6
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
142a74
142a74
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-5
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
142a74
142a74
* Fri Oct 28 2011 Caolán McNamara <caolanm@redhat.com> - 1.1.2-4
142a74
- Related: rhbz#749103 drop gcj aot
142a74
142a74
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
142a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
142a74
142a74
* Thu Jul 01 2010 Caolán McNamara <caolanm@redhat.com> 1.1.2-2
142a74
- fix up source-code download foo
142a74
142a74
* Fri Nov 20 2009 Caolán McNamara <caolanm@redhat.com> 1.1.2-1
142a74
- initial fedora import