packages java-beansbinding.spec
      Pages: < 1 >  DOWNLOAD      
Name:          java-beansbinding
Version:       1.2.1
Release:       2mamba
Summary:       Beans Binding (JSR 295) reference implementation
Group:         Development/Libraries/Java
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
URL:           https://beansbinding.dev.java.net/
Source:        https://beansbinding.dev.java.net/files/documents/6779/73673/beansbinding-%{version}-src.zip
License:       LGPL
BuildRequires: apache-ant
BuildRequires: apache-ant-nodeps
BuildRequires: apache-ant-junit
BuildRequires: jpackage-utils
Requires:      jpackage-utils
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
In essence, Beans Binding (JSR 295) is about keeping two properties (typically of two objects) in sync. An additional emphasis is placed 
on the ability to bind to Swing components, and easy integration with IDEs such as NetBeans. This project provides the reference implementation.

%package  javadoc
Summary:  Javadoc for %{name}
Group:    Documentation

%description javadoc
In essence, Beans Binding (JSR 295) is about keeping two properties (typically of two objects) in sync. An additional emphasis is placed 
on the ability to bind to Swing components, and easy integration with IDEs such as NetBeans. This project provides the reference implementation.

This package contains javadoc for %{name}.

%prep

%setup -q -c %{name}-%{version}
for j in $(find -name "*.jar"); do
	mv $j $j.no
done
for j in $(find -name "*.zip"); do
	rm $j -rf
done
%build
%{ant} dist

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_javadir}

install -m 644 dist/beansbinding.jar\
	%{buildroot}%{_javadir}/beansbinding-%{version}.jar

pushd %{buildroot}%{_javadir}
	ln -sf beansbinding-%{version}.jar beansbinding.jar
popd

mkdir -p  %{buildroot}%{_javadocdir}/beansbinding-%{version}
cp -pr dist/javadoc/* %{buildroot}%{_javadocdir}/beansbinding-%{version}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_javadir}/beansbinding-%{version}.jar
%{_javadir}/beansbinding.jar
%doc license.txt releaseNotes.txt

%files javadoc
%defattr(-,root,root)
%{_javadocdir}/beansbinding-%{version}

%changelog
* Sun Nov 07 2010 gil <puntogil@...> 1.2.1-2mamba
- rebuilt devel

* Wed Apr 08 2009 gil <puntogil@...> 1.2.1-1mamba
- package created by autospec