Sisyphus repository
Last update: 21 october 2019 | SRPMs: 17508 | Visits: 15337950
en ru br
ALT Linux repos
S:0.97.4-alt0.7
5.0: 0.97-alt2
4.1: 0.96.1-alt3.1
4.0: 0.96.1-alt1
3.0: 0.94-alt9cvs20050730

Other repositories
Upstream:0.96-pre9

Group :: Office
RPM: dia

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dia
Version: 0.96.1
Release: alt1

Summary: A gtk+ based diagram creation program
Summary(ru_RU.UTF-8): Программа для создания диаграмм, основанная на GTK+

License: GPL
Group: Office
Url: http://www.gnome.org/projects/dia

Source: %name-%version.tar.bz2
Source2: %name-icons.tar.bz2

Patch0: dia-0.95-alt-help.patch
Patch1: dia-0.96-alt-link.patch
Patch2: dia-0.96-alt-python_lib.patch

Provides: python%{__python_version}(dia)

# Automatically added by buildreq on Sun Jan 14 2007

BuildRequires: docbook-style-xsl docbook-utils gcc-c++ intltool libart_lgpl-devel
BuildRequires: libgtk+2-devel libpopt-devel libxslt-devel python-module-PyXML
BuildRequires: python-modules-compiler python-modules-email python-modules-encodings
BuildRequires: python-modules-logging xsltproc python-dev python-module-pygtk-devel

Obsoletes: %name-gnome %name-python

%description
Dia is a GNU program designed to be much like the Windows
program 'Visio'. It can be used to draw different kind of diagrams.

It can be used to draw a variety of diagram types, including UML, Network,
flowchart and others.  The native file format for Dia is XML (optionally
gzip compressed).  It has print support, and can export to a number of
formats such as EPS, SVG, CGM and PNG.

%description -l ru_RU.UTF-8
Программа Dia разработана как альтернатива Visio для Windows(TM). Dia
можно использовать для рисования различных типов диаграмм, она
включает поддержку структурных статических диаграмм UML (диаграмм
классов), моделирование отношений объектов и сетевых диаграмм. Dia
может загружать и сохранять диаграммы в собственном формате и в
формате .xml, а также экспортировать их в различные форматы, такие как
PostScript(TM), SVG, CGM или PNG.

%add_findprov_lib_path %_libdir/%name

%prep
%setup -q

%patch0 -p0
%patch1 -p1
%patch2 -p1

%build
intltoolize --force
%__autoreconf
%configure  \
--enable-db2html \
--with-python \
--disable-gnome \
--disable-static
%make_build

%install
%make DESTDIR=%buildroot install

%__mkdir -p %buildroot%_iconsdir
%__tar -xjf %SOURCE2 -C %buildroot%_iconsdir

%__subst "s,^\(Icon=\)\(.*\),\1%name," %buildroot%_desktopdir/%name.desktop

%find_lang %name

%files -f %name.lang
%doc README TODO NEWS AUTHORS
%_bindir/%name
%_libdir/%name
%_datadir/%name
%_datadir/mime-info/*
%_desktopdir/*.desktop
%_pixmapsdir/*
%_iconsdir/hicolor/*/apps/%name.png
%_man1dir/*

%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