]> git.pld-linux.org Git - packages/inkscape.git/blob - inkscape.spec
- BR: gc-devel, more BR update, relocation bcond added, rel. 0.1
[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 %bcond_with     relocation      # Enable binary relocation support
7 #
8 Summary:        Scalable vector graphics editor
9 Summary(pl):    Edytor skalowalnej grafiki wektorowej
10 Name:           inkscape
11 Version:        0.40
12 Release:        0.1
13 License:        GPL
14 Group:          Applications/Graphics
15 Source0:        http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
16 # Source0-md5:  5f53659eb47efce8593e39d30ebb1c77
17 URL:            http://www.inkscape.org/
18 BuildRequires:  autoconf >= 2.50
19 BuildRequires:  automake
20 BuildRequires:  freetype-devel >= 2.0
21 BuildRequires:  gc-devel
22 BuildRequires:  gtk+2-devel >= 2:2.4.0
23 BuildRequires:  gtkmm-devel >= 2.4
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++-devel >= 2.0.3
30 BuildRequires:  libtool
31 BuildRequires:  libxml2-devel >= 2.4.24
32 BuildRequires:  pkgconfig
33 BuildRequires:  popt-devel
34 %{?with_xft:BuildRequires:      xft-devel}
35 Requires:       perl-XML-XQL
36 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Inkscape is a program for viewing, making, and editing two-dimensional
40 vector drawings.
41
42 %description -l pl
43 Inkscape jest programem do przeglĀ±dania, tworzenia i edycji
44 dwuwymiarowej grafiki wektorowej.
45
46 %prep
47 %setup -q
48
49 %build
50 cp -f /usr/share/automake/mkinstalldirs .
51 %{__libtoolize}
52 glib-gettextize --copy --force
53 intltoolize --copy --force --automake
54 %{__aclocal}
55 %{__autoheader}
56 %{__automake}
57 %{__autoconf}
58 %configure \
59         %{!?with_xft: --without-xft}\
60         %{!?with_gnome_print: --without-gnome-print}\
61         %{?with_gnome_print: --with-gnome-print}\
62         %{!?with_mmx:--disable-mmx} \
63         %{?with_relocation:--enable-binreloc}
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %find_lang %{name}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README
81 %attr(755,root,root) %{_bindir}/*
82 %{_datadir}/inkscape
83 %{_mandir}/man1/*
84 %{_pixmapsdir}/*.png
85 %{_desktopdir}/*.desktop
This page took 0.080007 seconds and 4 git commands to generate.