Summary: Dia - a gtk+ based diagram creation program Summary(pl): Dia - program do tworzenia diagramów Name: dia Version: 0.88.1 Release: 3 Epoch: 1 License: GPL Group: X11/Applications/Graphics Vendor: James Henstridge Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.gz Patch0: %{name}-automake.patch URL: http://www.lysator.liu.se/~alla/dia/dia.html BuildRequires: gdk-pixbuf-devel BuildRequires: libxml-devel BuildRequires: popt-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel Requires: libxml >= 1.8.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %define _sysconfdir /etc/X11/GNOME %description Dia is a program designed to be much like the Windows program 'Visio'. It can be used to draw different kind of diagrams. In this first version there is support for UML static structure diagrams (class diagrams) and Network diagrams. It can currently load and save diagrams to a custom fileformat and export to postscript. %description -l pl Dia jest programem zaprojektowanym tak by być podobnym do programu 'Visio' znanego z Windows. Dia może być używany do rysowania różnego rodzaju diagramów. W tej wersji znajduje się wsparcie dla diagramów o statycznej strukturze UML (diagramy klasowe) i dla diagramów sieciowych. Aktualnie może on ładować i zapisywać diagramy we własnym formacie oraz eksportować je do postscriptu. %prep %setup -q %patch0 -p1 %build rm -f missing aclocal autoconf autoheader automake -a -c -f %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ Applicationsdir=%{_applnkdir}/Graphics gzip -9nf AUTHORS NEWS README TODO %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc *.gz %{_applnkdir}/Graphics/dia.desktop %attr(755,root,root) %{_bindir}/* #%{_sysconfdir}/CORBA/servers/* %dir %{_libdir}/dia %attr(755,root,root) %{_libdir}/dia/lib*.so %attr(755,root,root) %{_libdir}/dia/lib*.la %{_datadir}/dia %{_pixmapsdir}/* %{_datadir}/mime-info/* %{_mandir}/man1/*