]> git.pld-linux.org Git - packages/XaraLX.git/blob - XaraLX.spec
- Source0 download URL
[packages/XaraLX.git] / XaraLX.spec
1 # NOTE: it builds; it starts and show nice main window; 
2 # then it unfortunately got SIGILL - gcc-4.2 issue
3 #
4 Summary:        Xara Extreme LX Vector Image Editor
5 Summary(pl.UTF-8):      Edytor obrazów wektorowych Xara Extreme LX
6 Name:           XaraLX
7 Version:        0.7r1766
8 Release:        0.9
9 License:        GPL v2 with binary libraries - see LICENSE files
10 Group:          X11/Applications/Graphics
11 #Source0Download: http://www.xaraxtreme.org/developers/general/source_code__building.html
12 Source0:        http://downloads.xara.com/opensource/%{name}-%{version}.tar.bz2
13 # Source0-md5:  fdbe0bdcbb50d58ff1b9b03e6c0ad99c
14 Patch0:         %{name}-desktop.patch
15 Patch1:         %{name}-wx28.patch
16 Patch2:         %{name}-system_wx_aui.patch
17 URL:            http://www.xaraxtreme.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gettext-autopoint
21 BuildRequires:  libtool
22 BuildRequires:  perl-base
23 BuildRequires:  pkgconfig
24 BuildRequires:  wxGTK2-unicode-devel >= 2.6.3
25 BuildRequires:  zip
26 ExclusiveArch:  %{ix86} %{x8664} ppc
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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
36
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.
43
44 %package examples
45 Summary:        Examples from Xara Extreme LX
46 Summary(pl.UTF-8):      Przykłady z Xara Extreme LX
47 Group:          X11/Applications/Graphics
48
49 %description examples
50 Examples from Xara Extreme LX.
51
52 %description examples -l pl.UTF-8
53 Przykłady z Xara Extreme LX.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59 %patch2 -p1
60
61 %build
62 %{__autopoint}
63 %{__aclocal} -I m4
64 %{__libtoolize}
65 %{__autoconf}
66 %{__automake}
67 %configure \
68         OPT_FLAGS="" \
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
78 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}}
79 cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
80
81 ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx
82
83 install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir}
84 install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
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
97 %files
98 %defattr(644,root,root,755)
99 %doc LICENSE libs/LIBS-LICENSE
100 %attr(755,root,root) %{_bindir}/*
101 %{_desktopdir}/*.desktop
102 %{_pixmapsdir}/*.png
103
104 %files examples
105 %defattr(644,root,root,755)
106 %{_examplesdir}/%{name}
This page took 0.053349 seconds and 3 git commands to generate.