]>
Commit | Line | Data |
---|---|---|
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 | 4 | Summary: Xara Extreme LX Vector Image Editor |
944a3f3c | 5 | Summary(pl.UTF-8): Edytor obrazów wektorowych Xara Extreme LX |
f086ea56 | 6 | Name: XaraLX |
154f12a7 | 7 | Version: 0.7r1766 |
94750ca5 | 8 | Release: 0.9 |
7e1b4c12 | 9 | License: GPL v2 with binary libraries - see LICENSE files |
1020f048 | 10 | Group: X11/Applications/Graphics |
be74064a | 11 | #Source0Download: http://www.xaraxtreme.org/developers/general/source_code__building.html |
95f075ab | 12 | Source0: http://downloads.xara.com/opensource/%{name}-%{version}.tar.bz2 |
154f12a7 | 13 | # Source0-md5: fdbe0bdcbb50d58ff1b9b03e6c0ad99c |
b7476457 | 14 | Patch0: %{name}-desktop.patch |
66883cf2 SS |
15 | Patch1: %{name}-wx28.patch |
16 | Patch2: %{name}-system_wx_aui.patch | |
46e41de4 | 17 | URL: http://www.xaraxtreme.org/ |
f086ea56 | 18 | BuildRequires: autoconf |
19 | BuildRequires: automake | |
b7476457 | 20 | BuildRequires: gettext-autopoint |
f086ea56 | 21 | BuildRequires: libtool |
46e41de4 | 22 | BuildRequires: perl-base |
1d4a1d60 | 23 | BuildRequires: pkgconfig |
b7476457 | 24 | BuildRequires: wxGTK2-unicode-devel >= 2.6.3 |
0c3b6201 | 25 | BuildRequires: zip |
1020f048 | 26 | ExclusiveArch: %{ix86} %{x8664} ppc |
f086ea56 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
6f70872b | 30 | Xara eXtreme is a 2D vector graphics editor created by a small British |
31 | software company named Xara, notable for being the first vector | |
32 | graphics software product to provide fully anti-aliased display, | |
33 | advanced gradient fill and transparency tools, now available in many | |
34 | of the competitors' products. Xara X is also notable for its usability | |
35 | and very fast renderer | |
46e41de4 | 36 | |
36ffae38 JR |
37 | %description -l pl.UTF-8 |
38 | Xara eXtreme jest edytorem grafiki 2D stworzonym przez małą brytyjską | |
39 | firmę Xara, pierwszym wektorowym programem udostępniającym pełny | |
40 | anty-aliasing, rozbudowane wypełnianie gradientami i narzędzia do | |
41 | przeźroczystości, teraz dostępne w wielu innych produktach. Xara X | |
42 | jest także znana z użyteczności i prędkości działania. | |
f086ea56 | 43 | |
27a0fe99 | 44 | %package examples |
754e9833 | 45 | Summary: Examples from Xara Extreme LX |
944a3f3c | 46 | Summary(pl.UTF-8): Przykłady z Xara Extreme LX |
754e9833 | 47 | Group: X11/Applications/Graphics |
27a0fe99 | 48 | |
49 | %description examples | |
50 | Examples from Xara Extreme LX. | |
51 | ||
36ffae38 JR |
52 | %description examples -l pl.UTF-8 |
53 | Przykł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 | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
76 | DESTDIR=$RPM_BUILD_ROOT | |
77 | ||
b7476457 | 78 | install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}} |
27a0fe99 | 79 | cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name} |
b7476457 | 80 | |
e660434d | 81 | ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx |
adb065dd | 82 | |
b7476457 | 83 | install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir} |
84 | install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
27a0fe99 | 85 | |
f086ea56 | 86 | %clean |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
adb065dd | 89 | %post |
90 | umask 022 | |
91 | [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||: | |
92 | ||
93 | %postun | |
94 | umask 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} |