File xtreemos-vivaldi.spec of Package xtreemos-vivaldi
Name: xtreemos-vivaldi
Summary: XtreemOS Vivaldi implementation
Version: 1.1
Release: %mkrel
Group: Development/Java
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
License: Apache Licence 2.0.
URL: http://www.xtreemos.eu
# Source: %{name}-%{version}.tar
Source1: %{name}-%{version}.jar
Source2: README
Source3: ChangeLog
BuildArch: noarch
Requires: java
Provides: vivaldi
%description
This is an implementation of a modified version of the Vivaldi algorithm.
The sources whereabout and binary exact purpose and usage are unknown, but it's still a dependencie for dixi-main and dixi-aem.
%prep
cp %{S:2} %{S:3} .
%build
%install
mkdir -p %{buildroot}%{_javadir}
cp %{S:1} %{buildroot}%{_javadir}
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
%files
%defattr(-,root,root)
%doc README ChangeLog
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%changelog