]> git.pld-linux.org Git - packages/inkscape.git/blob - inkscape.spec
- massive attack: add missing gtk+2-devel epoch in BR
[packages/inkscape.git] / inkscape.spec
1 #
2 # Conditional build
3 %bcond_without  xft             # Don't use xft scalable font database
4 %bcond_without  gnome_print     # Don't use gnome print font database and spooler frontend
5 %bcond_without  mmx             # Force building without MMX optimazation (Default: auto-detect)
6 #
7 Summary:        Scalable vector graphics editor
8 Summary(pl):    Edytor skalowalnej grafiki wektorowej
9 Name:           inkscape
10 Version:        0.39
11 Release:        2
12 License:        GPL
13 Group:          Applications/Graphics
14 Source0:        http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
15 # Source0-md5:  3542a646c6742686557b2f0e52c5f6dc
16 Patch0:         %{name}-locale-names.patch
17 URL:            http://www.inkscape.org/
18 BuildRequires:  autoconf >= 2.50
19 BuildRequires:  automake
20 BuildRequires:  freetype-devel >= 2.0
21 BuildRequires:  gtk+2-devel >= 1:2.0.0
22 # for future use
23 #BuildRequires: gtkmm-devel
24 BuildRequires:  gtkspell-devel
25 BuildRequires:  intltool
26 BuildRequires:  libart_lgpl-devel >= 2.3.10
27 %{?with_gnome_print:BuildRequires:      libgnomeprintui-devel >= 1.116.0}
28 BuildRequires:  libpng-devel
29 BuildRequires:  libsigc++12-devel >= 1.2
30 # for future use:
31 #BuildRequires: libsigc++-devel >= 2.0 
32 BuildRequires:  libtool
33 BuildRequires:  libxml2-devel >= 2.4.24
34 BuildRequires:  pkgconfig
35 BuildRequires:  popt-devel
36 %{?with_xft:BuildRequires:      xft-devel}
37 Requires:       perl-XML-XQL
38 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Inkscape is a program for viewing, making, and editing two-dimensional
42 vector drawings.
43
44 %description -l pl
45 Inkscape jest programem do przeglĀ±dania, tworzenia i edycji
46 dwuwymiarowej grafiki wektorowej.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51
52 mv po/{no,nb}.po
53
54 %build
55 cp -f /usr/share/automake/mkinstalldirs .
56 %{__libtoolize}
57 glib-gettextize --copy --force
58 intltoolize --copy --force --automake
59 %{__aclocal}
60 %{__autoheader}
61 %{__automake}
62 %{__autoconf}
63 %configure \
64         %{!?with_xft: --without-xft}\
65         %{!?with_gnome_print: --without-gnome-print}\
66         %{?with_gnome_print: --with-gnome-print}\
67         %{!?with_mmx:--disable-mmx} 
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README
85 %attr(755,root,root) %{_bindir}/*
86 %{_datadir}/inkscape
87 %{_mandir}/man1/*
88 %{_pixmapsdir}/*.png
89 %{_desktopdir}/*.desktop
This page took 0.033211 seconds and 4 git commands to generate.