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