xaralx-data-0.7r1692-1kkr2009.0.spec

%define xara_name           xaralx
%define distname            XaraLX
%define _version            0.7
%define _revision           r1692

%define name                xaralx-data
%define version             %{_version}%{_revision}
%define release             %mkrel 1

%define xardir              %{_datadir}/%{xara_name}


Summary:        Heavyweight vector graphics, illustration and DTP Program(data files)
Summary(ja):    大規模なベクトルグラフィックス・イラストレーション・DTPプログラム(データファイル群)
Name:           %{name}
Version:        %{version}
Release:        %{release}
License:        CC-AT-NC-ND-2.5
URL:            http://www.xaraxtreme.org/
Source:         http://downloads.xara.com/opensource/%{distname}Src-%{version}.tar.bz2
  # Size  : 27,537,685
  # MD5   : 53a1874e6b680d47cb886ded5646ce06
  # SHA-1 : 8733f19ce3134bf93cbe4750c85b1b4051ffa917
Group:          Graphics
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:      noarch

%package -n %{xara_name}-examples
Summary:        Examples of works created by %{distname}
Summary(ja):    %{distname}で作成された作品例
Group:          Graphics

%package -n %{xara_name}-help
Summary:        Help for %{xara_name}
Summary(ja):    %{xara_name}のヘルプ
Group:          Books/Howtos


%description
Xara LX is primarily a vector graphics (drawing and illustration) program but is one of the new generation of cross-over products that handles photos and drawings with equal ease. See xaralx.org for details. Xara LX is currently incomplete as it is an ongoing port to Linux of the finished product Xara Xtreme(see www.xara.com/xtreme).

%description -l ja
Xara LXは主としてベクトルグラフィックス(描画とイラストレーション)のプログラムですが、写真と描画を同じように扱う新世代のクロスオーバー製品の1つです。詳細はxaralx.orgをご覧ください。現在のところ、完成された製品であるXara Xtreme(www.xara.com/xtremeを参照)のLinuxへの移植であるXara LXはまだ不完全です。

%description -n %{xara_name}-examples
This package contains examples of works created by %{distname}.

%description -n %{xara_name}-examples -l ja
このパッケージは%{distname}で作成された作品例を含んでいます。

%description -n %{xara_name}-help
This package contains help files for %{distname}.

%description -n %{xara_name}-help -l ja
このパッケージは%{distname}のヘルプファイルを含んでいます。


%prep
%setup -q -n %{distname}-%{version}


%install
# clean
%{__rm} %{buildroot} -fr
# examples
%{__install} -d %{buildroot}/%{xardir}/Examples
%{__install} -p -m 644 Designs/*.xar %{buildroot}/%{xardir}/Examples/
%{__lzma} Designs/LICENSE
# help
%{__install} -d %{buildroot}/%{xardir}/doc/en
%{__install} -p -m 644 doc/*.txt %{buildroot}/%{xardir}/doc/
%{__tar} -xz -f doc/en/xaralxHelp.tar.gz -C %{buildroot}/%{xardir}/doc/en/
%{__lzma} doc/en/LICENSE


%clean
%{__rm} %{buildroot} -fr


%files -n %{xara_name}-examples
%defattr(-, root, root)
%{xardir}/Examples/
%dir %{xardir}
%doc Designs/LICENSE*

%files -n %{xara_name}-help
%defattr(-, root, root)
%{xardir}/doc/
%dir %{xardir}
%doc doc/en/LICENSE*


%changelog
* Fri Mar 13 2009 kakurasan <kakurasan AT gmail DOT com> 0.7r1692-1kkr2009.0
- initial build based on 0.7r1763-alt1