9082b19
Name:           ezmorph
9082b19
Version:        1.0.6
8c7d54c
Release:        12%{?dist}
9082b19
Summary:        Object transformation library for Java
9082b19
License:        ASL 2.0
9082b19
URL:            http://ezmorph.sourceforge.net/
9082b19
# A plain jarball with the source is provided by upstream.  We could use
9082b19
# it, but we choose to build with maven for the sake of consistency.
9082b19
# Therefore we pull the tree with maven metadata from VCS.
9082b19
# cvs -d:pserver:anonymous@ezmorph.cvs.sourceforge.net:/cvsroot/ezmorph login
9082b19
# cvs -z3 -d:pserver:anonymous@ezmorph.cvs.sourceforge.net:/cvsroot/ezmorph co -r REL_1_0_6 -d ezmorph-1.0.6 -P ezmorph
9082b19
# tar czf ezmorph-1.0.6.tar.gz --exclude CVS ezmorph-1.0.6
9082b19
Source0:        %{name}-%{version}.tar.gz
Mat Booth c7219f1
# License is not in tarball, but has since been added to upstream's source control:
Mat Booth c7219f1
Source1:        http://ezmorph.cvs.sourceforge.net/viewvc/ezmorph/ezmorph/LICENSE.txt
9082b19
Patch0:         ezmorph-1.0.6-maven.patch
9082b19
9082b19
BuildRequires:  jakarta-oro
Andy Grimm 804acf9
BuildRequires:  maven-local
9082b19
BuildArch:      noarch
9082b19
9082b19
%description
9082b19
EZMorph is simple java library for transforming an Object to another
9082b19
Object. It supports transformations for primitives and Objects and
9082b19
multidimensional arrays.
9082b19
9082b19
%package javadoc
9082b19
Summary:        Javadoc for %{name}
9082b19
9082b19
%description javadoc
9082b19
API documentation for %{name}.
9082b19
9082b19
%prep
9082b19
%setup -q
9082b19
%patch0 -p1 -b .maven
9082b19
Mat Booth c7219f1
cp -p %{SOURCE1} .
9082b19
Mat Booth c7219f1
%mvn_file : %{name}
9082b19
Mat Booth c7219f1
%build
Mat Booth c7219f1
%mvn_build
9082b19
Mat Booth c7219f1
%install
Mat Booth c7219f1
%mvn_install
9082b19
Mat Booth c7219f1
%files -f .mfiles
8c7d54c
%license LICENSE.txt
9082b19
Mat Booth c7219f1
%files javadoc -f .mfiles-javadoc
8c7d54c
%license LICENSE.txt
9082b19
9082b19
%changelog
8c7d54c
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 1.0.6-12
8c7d54c
- introduce license macro
8c7d54c
b728fbf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-11
b728fbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b728fbf
cc07795
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.0.6-10
cc07795
- Use Requires: java-headless rebuild (#1067528)
cc07795
Mat Booth c7219f1
* Tue Aug 13 2013 Mat Booth <fedora@matbooth.co.uk> - 1.0.6-9
Mat Booth c7219f1
- Update for latest guidelines, rhbz #992240
Mat Booth c7219f1
- Add license file
Mat Booth c7219f1
dcc93d9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-8
dcc93d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
dcc93d9
Andy Grimm 804acf9
* Fri Feb 22 2013 Andy Grimm <agrimm@gmail.com> - 1.0.6-7
Andy Grimm 804acf9
- Add maven-local and maven-shared to BuildRequires (RHBZ#913996)
Andy Grimm 804acf9
898aa8e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-6
898aa8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
898aa8e
Andy Grimm dddbc3d
* Fri Aug 10 2012 Andy Grimm <agrimm@gmail.com> - 1.0.6-5
Andy Grimm dddbc3d
- Fix FTBFS
Andy Grimm dddbc3d
6fbfa6f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-4
6fbfa6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6fbfa6f
8341221
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
8341221
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8341221
9082b19
* Thu Jun 17 2010 Lubomir Rintel <lkundrak@v3.sk> - 1.0.6-2
9082b19
- Carry the build over to Maven
9082b19
- Package Maven poms & add depmap
9082b19
- Add javadoc subpackage
9082b19
9082b19
* Thu May 20 2010 Lubomir Rintel <lkundrak@v3.sk> - 1.0.6-1
9082b19
- Initial packaging