]> git.pld-linux.org Git - packages/dia.git/blob - dia.spec
e58c3cb08ac66736fd2f63395cb43836b98aa02c
[packages/dia.git] / dia.spec
1 Summary:        Dia - a gtk+ based diagram creation program
2 Summary(pl):    Dia - program do tworzenie diagramów
3 Name:           dia
4 Version:        0.88.1
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Applications/Graphics
9 Group(de):      X11/Applikationen/Grafik
10 Group(pl):      X11/Aplikacje/Grafika
11 Vendor:         James Henstridge <james@daa.com.au>
12 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-automake.patch
14 URL:            http://www.lysator.liu.se/~alla/dia/dia.html
15 BuildRequires:  bonobo-devel >= 1.0
16 BuildRequires:  gdk-pixbuf-devel
17 BuildRequires:  gnome-libs-devel >= 1.2.0
18 BuildRequires:  gnome-print-devel >= 0.28
19 BuildRequires:  libxml-devel
20 BuildRequires:  oaf-devel
21 BuildRequires:  popt-devel
22 Requires:       libxml >= 1.8.7
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _mandir         %{_prefix}/man
27 %define         _sysconfdir     /etc/X11/GNOME
28
29 %description
30 Dia is a program designed to be much like the Windows program 'Visio'.
31 It can be used to draw different kind of diagrams. In this first
32 version there is support for UML static structure diagrams (class
33 diagrams) and Network diagrams. It can currently load and save
34 diagrams to a custom fileformat and export to postscript.
35
36 %description -l pl
37 Dia jest programem zaprojektowanym tak by byæ podobnym do programu
38 'Visio' znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego
39 rodzaju diagramów. W tej wersji znajduje siê wsparcie dla diagramów o
40 statycznej strukturze UML (diagramy klasowe) i dla diagramów
41 sieciowych. Aktualnie mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym
42 formacie oraz eksportowaæ je do postscriptu.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 automake -a -c
50 autoconf
51 autoheader
52 %configure \
53         --enable-gnome \
54         --enable-gnome-print \
55         --enable-bonobo
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         Applicationsdir=%{_applnkdir}/Graphics
64
65 gzip -9nf AUTHORS NEWS README TODO
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc *.gz
75 %{_applnkdir}/Graphics/dia.desktop
76 %attr(755,root,root) %{_bindir}/*
77 #%{_sysconfdir}/CORBA/servers/*
78 %dir %{_libdir}/dia
79 %attr(755,root,root) %{_libdir}/dia/lib*.so
80 %attr(755,root,root) %{_libdir}/dia/lib*.la
81 %{_datadir}/dia
82 %{_pixmapsdir}/*
83 %{_datadir}/mime-info/*
84 %{_datadir}/oaf/*
85 %{_mandir}/man1/*
This page took 0.069398 seconds and 3 git commands to generate.