2 # This is the full Dia version
5 Summary: A gtk
+ based diagram creation program.
8 # This indicates changes to the spec file after last time %ver has changed.
12 Source: ftp
://ftp.gnome.org
/pub
/GNOME
/stable
/sources
/dia
/%{name}-%{ver}.tar.gz
13 URL: http
://www.gnome.org
/projects
/dia
/
14 BuildRoot: /var
/tmp
/%{name}-%{ver}-root
16 Requires: libxml2
>= 2.3.9 gtk2 pango
>= 1.1.5 freetype2
>= 2.0.9
17 Requires: libgnome libgnomeui popt
18 Requires: python python
-gtk
19 BuildRequires
: libxml2
-devel
>= 2.3.9 gtk2
-devel pango
-devel
>= 1.1.5
20 BuildRequires
: freetype2
-devel
>= 2.0.9 intltool
> 0.21
21 BuildRequires
: libgnome
-devel libgnomeui
-devel popt
-devel
22 BuildRequires
: python python
-gtk
25 Dia is a GNU program designed to be much like the Windows
26 program 'Visio'. It can be used to draw different kind of diagrams.
28 It can be used to draw a variety of diagram types
, including UML
, Network
,
29 flowchart and others. The native file format
for Dia is XML
(optionally
30 gzip compressed
). It has print support
, and can
export to a number of formats such as EPS
, SVG
, CGM and PNG.
33 * Mon Mar
29 2004 Lars Clausen
<lars@raeder.dk
>
34 - change url to www.gnome.org
, fix freetype2 stuff
, add python and gnome
36 * Thu Feb
4 2003 Lars Clausen
<lrclause@cs.uiuc.edu
>
37 - update requirements.
38 - update prerelease number
, move to release field.
39 * Thu Jan
30 2003 Lars Clausen
<lrclause@cs.uiuc.edu
>
40 - update version number.
41 * Sat Jun
1 2002 Cyrille Chepelov
<cyrille@chepelov.org
>
42 - update version number.
43 * Fri May
11 2001 James Henstridge
<james@daa.com.au
>
44 - update version number.
45 - Use
make install rather than
install-strip as it is causing some problems.
46 * Sun Aug
6 2000 James Henstridge
<james@daa.com.au
>
47 - update description as it was out of date
, and increment version number.
48 * Sun Sep
5 1999 James Henstridge
<james@daa.com.au
>
49 - added $
(prefix
)/share
/dia to files list.
50 * Thu Apr
29 1999 Enrico Scholz
<enrico.scholz@wirtschaft.tu
-chemnitz.de
>
52 - Enabled build from cvs
53 - Removed superfluous mkdirs
54 - using DESTDIR and
install-strip
55 * Fri Aug
28 1998 Francis J. Lacoste
<francis@Contre.COM
>
59 %setup -q
-n
%name-%ver-%release
63 # this is to make sure all translations are included in the build
66 if [ -x .
/configure
]; then
67 CFLAGS
=$RPM_OPT_FLAGS .
/configure
--prefix
=%{_prefix} --enable-gnome
--with
-python
69 CFLAGS
=$RPM_OPT_FLAGS .
/autogen.sh
--prefix
=%{_prefix} --enable-gnome
--with
-python
74 rm -fr $RPM_BUILD_ROOT
75 make prefix
=$RPM_BUILD_ROOT
%{_prefix} install
77 rm -rf $RPM_BUILD_ROOT
/%{_prefix}/var
79 gzip
--best $RPM_BUILD_ROOT
%{_prefix}/man
/man1
/dia
.1
82 rm -fr $RPM_BUILD_ROOT
86 %doc README TODO NEWS INSTALL COPYING ChangeLog AUTHORS doc
89 %{_prefix}/man
/man1
/dia
.1.gz
91 %{_prefix}/share
/applications
/dia.desktop
92 %{_prefix}/share
/locale
/*/*/*
93 %{_prefix}/share
/mime
-info
/*
94 %{_prefix}/share
/pixmaps
/*
95 %doc %{_prefix}/share
/gnome
/help/dia
96 # if you are building without gnome support, use /usr/share/dia/help instead