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