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