/[packages]/updates/2/inkscape/current/SPECS/inkscape.spec
ViewVC logotype

Contents of /updates/2/inkscape/current/SPECS/inkscape.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142637 - (show annotations) (download)
Mon Sep 12 09:39:13 2011 UTC (12 years, 7 months ago) by fwang
Original Path: cauldron/inkscape/current/SPECS/inkscape.spec
File size: 2153 byte(s)
fix build with libpng15
1 %define Werror_cflags %nil
2
3 %define name inkscape
4 %define version 0.48.2
5 %define rel 2
6 %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 Patch0: inkscape-0.48.1-libpng15.patch
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: pkgconfig(poppler-glib)
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
46 %description
47 Inkscape is a generic SVG-based vector-drawing program.
48
49 Inkscape uses the W3C SVG (= "Scalable Vector Graphics") standard as its
50 native file format. Therefore, it is a very useful tool for web designers
51 and can be used as an interchange format for desktop publishing.
52
53 %prep
54 %setup -q -a1 -n %name-%version
55 %patch0 -p1
56
57 %build
58 %configure2_5x \
59 --with-python \
60 --with-perl
61 %make
62
63 %install
64 rm -rf %{buildroot}
65 %makeinstall_std
66
67 desktop-file-install --vendor="" \
68 --add-category="X-MandrivaLinux-CrossDesktop" \
69 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf %{buildroot}
75
76 %files -f %{name}.lang
77 %defattr(-, root, root)
78 %doc AUTHORS ChangeLog NEWS README
79 %{_bindir}/*
80 %{_datadir}/applications/*.desktop
81 %{_datadir}/inkscape/
82 %{_mandir}/man1/*
83 %{_mandir}/*/man1/*
84 %{_iconsdir}/hicolor/*/apps/*
85
86

  ViewVC Help
Powered by ViewVC 1.1.30