1 |
%define Werror_cflags %nil |
2 |
|
3 |
Name: inkscape |
4 |
Summary: A vector-based drawing program using SVG |
5 |
Version: 0.48.4 |
6 |
Release: %mkrel 1 |
7 |
License: GPLv2+ |
8 |
Group: Graphics |
9 |
URL: http://inkscape.sourceforge.net/ |
10 |
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
11 |
BuildRequires: png-devel |
12 |
BuildRequires: libxml2-devel >= 2.6.0 |
13 |
BuildRequires: libgc-devel >= 6.4 |
14 |
BuildRequires: gtkmm2.4-devel |
15 |
BuildRequires: libxslt-devel >= 1.0.15 |
16 |
BuildRequires: libgnomeprintui-devel |
17 |
BuildRequires: perl-XML-Parser |
18 |
BuildRequires: gtkspell-devel |
19 |
BuildRequires: gnome-vfs2-devel |
20 |
BuildRequires: python-devel |
21 |
BuildRequires: perl |
22 |
BuildRequires: perl-devel |
23 |
BuildRequires: loudmouth-devel |
24 |
BuildRequires: expat-devel |
25 |
BuildRequires: desktop-file-utils |
26 |
BuildRequires: lcms-devel |
27 |
BuildRequires: dbus-glib-devel |
28 |
BuildRequires: autoconf2.5 automake |
29 |
BuildRequires: intltool |
30 |
BuildRequires: boost-devel |
31 |
BuildRequires: pkgconfig(poppler-glib) |
32 |
BuildRequires: cairo-devel |
33 |
BuildRequires: libwpg-devel |
34 |
BuildRequires: popt-devel |
35 |
BuildRequires: imagemagick-devel |
36 |
BuildRequires: gsl-devel |
37 |
Requires: python-pyxml |
38 |
Requires: python-lxml |
39 |
Suggests: uniconvertor |
40 |
|
41 |
%description |
42 |
Inkscape is a generic SVG-based vector-drawing program. |
43 |
|
44 |
Inkscape uses the W3C SVG (= "Scalable Vector Graphics") standard as its |
45 |
native file format. Therefore, it is a very useful tool for web designers |
46 |
and can be used as an interchange format for desktop publishing. |
47 |
|
48 |
%prep |
49 |
%setup -q |
50 |
|
51 |
%build |
52 |
%configure2_5x \ |
53 |
--with-python \ |
54 |
--with-perl |
55 |
%make |
56 |
|
57 |
%install |
58 |
%makeinstall_std |
59 |
|
60 |
desktop-file-install --vendor="" \ |
61 |
--add-category="X-MandrivaLinux-CrossDesktop" \ |
62 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
63 |
|
64 |
%find_lang %{name} |
65 |
|
66 |
%files -f %{name}.lang |
67 |
%doc AUTHORS ChangeLog NEWS README |
68 |
%{_bindir}/* |
69 |
%{_datadir}/applications/*.desktop |
70 |
%{_datadir}/inkscape |
71 |
%{_mandir}/man1/* |
72 |
%{_mandir}/*/man1/* |
73 |
%{_iconsdir}/hicolor/*/apps/* |