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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142817 - (hide annotations) (download)
Tue Sep 13 01:31:41 2011 UTC (12 years, 7 months ago) by fwang
Original Path: cauldron/inkscape/current/SPECS/inkscape.spec
File size: 2153 byte(s)
rebuild for new imagemagick
1 dmorgan 49756 %define Werror_cflags %nil
2    
3     %define name inkscape
4 fwang 121078 %define version 0.48.2
5 fwang 142817 %define rel 3
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 fwang 142637 Patch0: inkscape-0.48.1-libpng15.patch
18 dmorgan 49756 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 ahmad 124684 BuildRequires: pkgconfig(poppler-glib)
39 dmorgan 49756 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 fwang 142637 %patch0 -p1
56 dmorgan 49756
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