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