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