]> git.pld-linux.org Git - packages/inkscape.git/blob - inkscape.spec
- rel. 2
[packages/inkscape.git] / inkscape.spec
1 #
2 # Conditional build
3 %bcond_without  popt    # Don't use popt argument parsing library
4 %bcond_without  xft     # Don't use xft scalable font database
5 %bcond_without  gnome   # Don't use gnome print font database and spooler frontend
6 %bcond_without  modules # ???
7 %bcond_without  mmx     # Force building without MMX optimazation (Default: auto-detect)
8 %bcond_without  libinkscape # ???
9
10 Summary:        Inkscape - a vector illustrator program for GNOME environment
11 Summary(pl):    Inkscape - wektorowy program graficzny dla ¶rodowiska GNOME
12 Name:           inkscape
13 Version:        0.38.1
14 Release:        2
15 License:        GPL
16 Group:          Graphics
17 Source0:        http://dl.sourceforge.net/inkscape/%{name}-%{version}.tar.gz
18 # Source0-md5:  ea486c528649a34827b74077ffd2076c
19 URL:            http://www.inkscape.org/
20 BuildRequires:  freetype-devel >= 2.0
21 BuildRequires:  gtk+2-devel >= 2.0.0
22 BuildRequires:  libart_lgpl-devel >= 2.3.10
23 BuildRequires:  libgnomeprintui-devel >= 2.2
24 BuildRequires:  libpng-devel
25 BuildRequires:  libsigc++12-devel >= 1.2
26 BuildRequires:  libxml2-devel >= 2.4.24
27 BuildRequires:  pkgconfig
28 %{?with_popt:BuildRequires:     popt-devel}
29 %{?with_xft:BuildRequires:      xft-devel}
30 Requires:       perl-XML-XQL
31 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 Inkscape is (or at least should be) a vector illustrator program for
35 the GNOME environment. It is currently in active development and
36 approaching general usability.
37
38 %description -l pl
39 Inkscape jest (a przynajmniej powinien byæ) wektorowym programem
40 graficznym dla ¶rodowiska GNOME. Aktualnie jest aktywnie rozwijany i
41 osi±ga ogóln± u¿ywalno¶æ.
42
43 %prep
44 %setup -q
45
46 %build
47 %configure \
48         %{!?with_popt: --without-popt}\
49         %{!?with_xft: --without-xft}\
50         %{!?with_gnome: --without-gnome-print}\
51         %{!?with_modules: --without-modules}\
52         %{?with_libinkscape: --with-libinkscape} \
53         %{!?with_mmx:--disable-mmx} 
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog README
71 %attr(755,root,root) %{_bindir}/*
72 %attr(755,root,root) %{_libdir}/inkscape
73 %{_datadir}/inkscape
74 %{_mandir}/man1/*
75 %{_pixmapsdir}/*.png
76 %{_desktopdir}/*.desktop
This page took 0.074301 seconds and 4 git commands to generate.