1 Summary: Dia - a gtk+ based diagram creation program
2 Summary(pl): Dia - program do tworzenie diagramów
7 Group: X11/Applications/Graphics
8 Group(pl): X11/Aplikacje/Grafika
9 Vendor: James Henstridge <james@daa.com.au>
10 Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.gz
11 Patch: dia-applnkdir.patch
12 URL: http://www.lysator.liu.se/~alla/dia/dia.html
13 BuildRequires: gtk+-devel >= 1.2.0
14 BuildRequires: XFree86-devel
15 BuildRequires: libxml-devel
16 BuildRequires: zlib-devel
17 BuildRequires: imlib-devel
18 BuildRequires: gettext-devel
19 Requires: gtk+ >= 1.2.0
20 BuildRoot: /tmp/%{name}-%{version}-root
22 %define _prefix /usr/X11R6
23 %define _mandir %{_prefix}/man
24 %define _applnkdir %{_datadir}/applnk
27 Dia is a program designed to be much like the Windows program 'Visio'. It
28 can be used to draw different kind of diagrams. In this first version there
29 is support for UML static structure diagrams (class diagrams) and Network
30 diagrams. It can currently load and save diagrams to a custom fileformat
31 and export to postscript.
34 Dia jest programem zaprojektowanym tak by byæ podobnym do programu 'Visio'
35 znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego rodzaju
36 diagramów. W tej wersji znajduje siê wsparcie dla diagramów o statycznej
37 strukturze UML (diagramy klasowe) i dla diagramów sieciowych. Aktualnie
38 mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym formacie oraz eksportowaæ
47 gettextize --copy --force
48 LDFLAGS="-s"; export LDFLAGS
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_applnkdir}/Graphics
56 make install DESTDIR=$RPM_BUILD_ROOT
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Graphics
60 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so
62 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
66 gzip -9nf AUTHORS NEWS README TODO
69 rm -rf $RPM_BUILD_ROOT
71 %files -f %{name}.lang
72 %defattr(644,root,root,755)
74 %{_applnkdir}/Graphics/dia.desktop
75 %attr(755,root,root) %{_bindir}/dia
77 %attr(755,root,root) %{_libdir}/dia/lib*.so
78 %attr(755,root,root) %{_libdir}/dia/lib*.la