]> git.pld-linux.org Git - packages/XaraLX.git/blame - XaraLX.spec
- Source0 download URL
[packages/XaraLX.git] / XaraLX.spec
CommitLineData
94750ca5
SS
1# NOTE: it builds; it starts and show nice main window;
2# then it unfortunately got SIGILL - gcc-4.2 issue
b86400bc 3#
f086ea56 4Summary: Xara Extreme LX Vector Image Editor
944a3f3c 5Summary(pl.UTF-8): Edytor obrazów wektorowych Xara Extreme LX
f086ea56 6Name: XaraLX
154f12a7 7Version: 0.7r1766
94750ca5 8Release: 0.9
7e1b4c12 9License: GPL v2 with binary libraries - see LICENSE files
1020f048 10Group: X11/Applications/Graphics
be74064a 11#Source0Download: http://www.xaraxtreme.org/developers/general/source_code__building.html
95f075ab 12Source0: http://downloads.xara.com/opensource/%{name}-%{version}.tar.bz2
154f12a7 13# Source0-md5: fdbe0bdcbb50d58ff1b9b03e6c0ad99c
b7476457 14Patch0: %{name}-desktop.patch
66883cf2
SS
15Patch1: %{name}-wx28.patch
16Patch2: %{name}-system_wx_aui.patch
46e41de4 17URL: http://www.xaraxtreme.org/
f086ea56 18BuildRequires: autoconf
19BuildRequires: automake
b7476457 20BuildRequires: gettext-autopoint
f086ea56 21BuildRequires: libtool
46e41de4 22BuildRequires: perl-base
1d4a1d60 23BuildRequires: pkgconfig
b7476457 24BuildRequires: wxGTK2-unicode-devel >= 2.6.3
0c3b6201 25BuildRequires: zip
1020f048 26ExclusiveArch: %{ix86} %{x8664} ppc
f086ea56 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
6f70872b 30Xara eXtreme is a 2D vector graphics editor created by a small British
31software company named Xara, notable for being the first vector
32graphics software product to provide fully anti-aliased display,
33advanced gradient fill and transparency tools, now available in many
34of the competitors' products. Xara X is also notable for its usability
35and very fast renderer
46e41de4 36
36ffae38
JR
37%description -l pl.UTF-8
38Xara eXtreme jest edytorem grafiki 2D stworzonym przez małą brytyjską
39firmę Xara, pierwszym wektorowym programem udostępniającym pełny
40anty-aliasing, rozbudowane wypełnianie gradientami i narzędzia do
41przeźroczystości, teraz dostępne w wielu innych produktach. Xara X
42jest także znana z użyteczności i prędkości działania.
f086ea56 43
27a0fe99 44%package examples
754e9833 45Summary: Examples from Xara Extreme LX
944a3f3c 46Summary(pl.UTF-8): Przykłady z Xara Extreme LX
754e9833 47Group: X11/Applications/Graphics
27a0fe99 48
49%description examples
50Examples from Xara Extreme LX.
51
36ffae38
JR
52%description examples -l pl.UTF-8
53Przykłady z Xara Extreme LX.
27a0fe99 54
f086ea56 55%prep
56%setup -q
b7476457 57%patch0 -p1
66883cf2
SS
58%patch1 -p1
59%patch2 -p1
f086ea56 60
61%build
b7476457 62%{__autopoint}
63%{__aclocal} -I m4
f086ea56 64%{__libtoolize}
f086ea56 65%{__autoconf}
f086ea56 66%{__automake}
67%configure \
b7476457 68 OPT_FLAGS="" \
f086ea56 69 --with-wx-config=wx-gtk2-unicode-config
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74
75%{__make} install \
76 DESTDIR=$RPM_BUILD_ROOT
77
b7476457 78install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}}
27a0fe99 79cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
b7476457 80
e660434d 81ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx
adb065dd 82
b7476457 83install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir}
84install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir}
27a0fe99 85
f086ea56 86%clean
87rm -rf $RPM_BUILD_ROOT
88
adb065dd 89%post
90umask 022
91[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
92
93%postun
94umask 022
95[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
96
f086ea56 97%files
98%defattr(644,root,root,755)
98f90d96 99%doc LICENSE libs/LIBS-LICENSE
46e41de4 100%attr(755,root,root) %{_bindir}/*
27a0fe99 101%{_desktopdir}/*.desktop
b7476457 102%{_pixmapsdir}/*.png
27a0fe99 103
104%files examples
105%defattr(644,root,root,755)
106%{_examplesdir}/%{name}
This page took 0.113862 seconds and 4 git commands to generate.