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