]> git.pld-linux.org Git - packages/dia.git/blob - dia.spec
1e55e05fc584a4ad69d88620d539e80219e0900c
[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.81
5 Release:        1
6 Copyright:      GPL
7 Group:          X11/Applications/Graphics
8 Group(pl):      X11/Aplikacje/Grafika
9 Vendor:         Alexander Larsson <alla@lysator.liu.se>
10 Source0:        http://www.lysator.liu.se/~alla/dia/files/%{name}-%{version}.tar.gz
11 Source1:        dia.desktop
12 URL:            http://www.lysator.liu.se/~alla/dia/dia.html
13 BuildRequires:  gtk+-devel >= 1.2.0
14 BuildRequires:  XFree86-devel
15 BuildRequires:  libxml-devel
16 BuildRequires:  zlib-devel
17 BuildRequires:  imlib-devel
18 BuildRequires:  gettext-devel
19 Requires:       gtk+ >= 1.2.0
20 BuildRoot:      /tmp/%{name}-%{version}-root
21
22 %define         _prefix         /usr/X11R6
23 %define         _mandir         %{_prefix}/man
24
25 %description
26 Dia is a program designed to be much like the Windows program 'Visio'. It
27 can be used to draw different kind of diagrams. In this first version there
28 is support for UML static structure diagrams (class diagrams) and Network
29 diagrams. It can currently load and save diagrams to a custom fileformat and
30 export to postscript.
31
32 %description -l pl
33 Dia jest programem zaprojektowanym tak by byæ podobnym do programu 'Visio'
34 znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego rodzaju diagramów.
35 W tej wersji znajduje siê wsparcie dla diagramów o statycznej strukturze UML
36 (diagramy klasowe) i dla diagramów sieciowych. Aktualnie mo¿e on ³adowaæ
37 i zapisywaæ diagramy we w³asnym formacie oraz eksportowaæ je do postscriptu.
38
39 %prep
40 %setup -q
41
42 %build
43 gettextize --copy --force
44 LDFLAGS="-s"; export LDFLAGS
45 %configure
46 make
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Graphics
51
52 make install DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/applnk/Graphics
55
56 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so
57
58 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
59
60 %find_lang %{name}
61
62 gzip -9nf AUTHORS NEWS README TODO
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc *.gz
70 /usr/X11R6/share/applnk/Graphics/dia.desktop
71 %attr(755,root,root) %{_bindir}/dia
72 %dir %{_libdir}/dia
73 %attr(755,root,root) %{_libdir}/dia/lib*.so
74 %attr(755,root,root) %{_libdir}/dia/lib*.la
75 %{_datadir}/dia
76 %{_datadir}/pixmaps/*
77 %{_mandir}/man1/*
This page took 0.06422 seconds and 3 git commands to generate.