]> git.pld-linux.org Git - packages/dia.git/blob - dia.spec
- updated to 0.88.
[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
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:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  bonobo-devel >= 1.0
18 BuildRequires:  gdk-pixbuf-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnome-libs-devel >= 1.2.0
21 BuildRequires:  gnome-print-devel >= 0.28
22 BuildRequires:  libxml-devel
23 BuildRequires:  oaf-devel
24 BuildRequires:  popt-devel
25 Requires:       libxml >= 1.8.7
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30 %define         _sysconfdir     /etc/X11/GNOME
31
32 %description
33 Dia is a program designed to be much like the Windows program 'Visio'.
34 It can be used to draw different kind of diagrams. In this first
35 version there is support for UML static structure diagrams (class
36 diagrams) and Network diagrams. It can currently load and save
37 diagrams to a custom fileformat and export to postscript.
38
39 %description -l pl
40 Dia jest programem zaprojektowanym tak by byæ podobnym do programu
41 'Visio' znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego
42 rodzaju diagramów. W tej wersji znajduje siê wsparcie dla diagramów o
43 statycznej strukturze UML (diagramy klasowe) i dla diagramów
44 sieciowych. Aktualnie mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym
45 formacie oraz eksportowaæ je do postscriptu.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 gettextize --copy --force
53 aclocal
54 autoconf
55 automake -a -c
56 %configure \
57         --enable-gnome \
58         --enable-gnome-print \
59         --enable-bonobo
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         Applicationsdir=%{_applnkdir}/Graphics
68
69 gzip -9nf AUTHORS NEWS README TODO
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc *.gz
79 %{_applnkdir}/Graphics/dia.desktop
80 %attr(755,root,root) %{_bindir}/*
81 #%{_sysconfdir}/CORBA/servers/*
82 %dir %{_libdir}/dia
83 %attr(755,root,root) %{_libdir}/dia/lib*.so
84 %attr(755,root,root) %{_libdir}/dia/lib*.la
85 %{_datadir}/dia
86 %{_pixmapsdir}/*
87 %{_datadir}/mime-info/*
88 %{_datadir}/oaf/*
89 %{_mandir}/man1/*
This page took 0.036537 seconds and 4 git commands to generate.