]> git.pld-linux.org Git - packages/XaraLX.git/blob - XaraLX.spec
- converted to UTF-8
[packages/XaraLX.git] / XaraLX.spec
1 Summary:        Xara Extreme LX Vector Image Editor
2 Summary(pl.UTF-8):   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:  pkgconfig
18 BuildRequires:  wxGTK2-unicode-devel >= 2.6.3
19 BuildRequires:  zip
20 ExclusiveArch:  %{ix86} %{x8664} ppc
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
30
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.
37
38 %package examples
39 Summary:        Examples from Xara Extreme LX
40 Summary(pl.UTF-8):   Przykłady z Xara Extreme LX
41 Group:          X11/Applications/Graphics
42
43 %description examples
44 Examples from Xara Extreme LX.
45
46 %description examples -l pl.UTF-8
47 Przykłady z Xara Extreme LX.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %{__autopoint}
55 %{__aclocal} -I m4
56 %{__libtoolize}
57 %{__autoconf}
58 %{__automake}
59 %configure \
60         OPT_FLAGS="" \
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
70 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}}
71 cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
72
73 ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx
74
75 install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir}
76 install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
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
89 %files
90 %defattr(644,root,root,755)
91 %doc LICENSE libs/LIBS-LICENSE
92 %attr(755,root,root) %{_bindir}/*
93 %{_desktopdir}/*.desktop
94 %{_pixmapsdir}/*.png
95
96 %files examples
97 %defattr(644,root,root,755)
98 %{_examplesdir}/%{name}
This page took 0.092126 seconds and 3 git commands to generate.