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