Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37846517
en ru br
ALT Linux repos
S:1.3-alt1.1
D:0.44-alt1
5.0: 0.46-alt4.1
4.1: 0.46-alt1.M41.3
4.0: 0.45.1-alt3
3.0: 0.41-alt1cvs20050320

Group :: Graphics
RPM: inkscape

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define Name Inkscape
Name: inkscape
Version: 0.44
Release: alt1
Summary: A Vector Drawing Application
License: GPL
Group: Graphics
URL: http://inkscape.sourceforge.net/
Source: http://dl.sourceforge.net/%name/%name-%version.tar.bz2
Patch: inkscape-0.44pre3-lcms.patch.gz
Requires: skencil pstoedit wmf-utils perl-Magick
Provides: perl(SpSVG.pm)

# Typical environment for GTK program

Requires(post,postun): desktop-file-utils

# Automatically added by buildreq on Thu Jun 08 2006 (-bi)

BuildRequires: ImageMagick ORBit2-devel dia fontconfig-devel
BuildRequires: freetype2-devel gcc-c++ ghostscript-utils glib2-devel
BuildRequires: libcairo-devel libgc-devel liblcms-devel
BuildRequires: libglibmm-devel libglitz-devel libgtk+2-devel
BuildRequires: libgtkmm2-devel libgtkspell-devel libpango-devel
BuildRequires: libpng-devel libpopt-devel libsigc++2.0-devel
BuildRequires: libstdc++-devel libxml2-devel libxslt-devel perl-Magick
BuildRequires: perl-Parse-Yapp perl-SVG perl-URI perl-XML-DOM
BuildRequires: perl-XML-Parser perl-XML-RegExp perl-XML-XQL perl-devel
BuildRequires: perl-libwww pkg-config pstoedit python-base python-dev
BuildRequires: python-modules-compiler python-modules-encodings skencil
BuildRequires: termutils xorg-x11-devel zlib-devel

BuildPreReq: intltool

%description
%Name is a SVG based generic vector-drawing program for
Linux/Unix/Windows. It uses an advanced imaging engine, with
anti-aliased display, alpha transparency, and vector fonts.

%description -l ru_RU.KOI8-R
%Name - это программа векторного рисования общего назначения,
использующая формат SVG, работающая на платформах Linux/Unix/Windows.
Применяется современное ядро для отображения графики,
со сглаживанием, альфа-каналом и векторными шрифтами.


%prep
%setup -q
%patch -p1


%build
subst "s|.*\(checkPYTHON_LIBS\)=.*|\1=-lpython2.4|" ./configure
%configure --with-pic \
   --with-python \
   --with-perl \
   --with-xft \
   --enable-mmx
%make_build


%install
%makeinstall
bzip2 --best --force --keep -- ChangeLog
%find_lang --with-man %name

#menu

%ifndef _desktopdir
install -d -m 0755 %buildroot%_menudir
cat > %buildroot%_menudir/%name <<__MENU__
?package(%name): needs="x11" \
section="%group" \
title="%Name" \
icon="%name.png" \
command="%_bindir/%name" \
longtitle="%Name SVG Vector Illustrator"
__MENU__
%endif


%post
%update_menus
%update_desktopdb


%postun
%clean_menus
%clean_desktopdb


%files -f %name.lang
%doc AUTHORS ChangeLog.* NEWS README TRANSLATORS
%doc doc/API doc/README* doc/WISHLIST doc/[a-z]*
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_pixmapsdir/*
%_man1dir/*
%ifndef _desktopdir
%_menudir/*
%endif


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin