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