]> git.pld-linux.org Git - packages/dia.git/blob - dia.spec
- added more rpm macros.
[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.41
5 Release:        3
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.wmconfig
12 URL:            http://www.lysator.liu.se/~alla/dia/dia.html
13 BuildPrereq:    gtk+-devel >= 1.2.0
14 BuildPrereq:    XFree86-devel
15 BuildPrereq:    libxml-devel
16 BuildPrereq:    zlib-devel
17 BuildPrereq:    imlib-devel
18 BuildPrereq:    gettext
19 Requires:       gtk+ >= 1.2.0
20 BuildRoot:      /tmp/%{name}-%{version}-root
21
22 %define _prefix /usr/X11R6
23
24 %description
25 Dia is a program designed to be much like the Windows program 'Visio'. It
26 can be used to draw different kind of diagrams. In this first version there
27 is support for UML static structure diagrams (class diagrams) and Network
28 diagrams. It can currently load and save diagrams to a custom fileformat and
29 export to postscript.
30
31 %description -l pl
32 Dia jest programem zaprojektowanym tak by byæ podobnym do programu 'Visio'
33 znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego rodzaju diagramów.
34 W tej wersji znajduje siê wsparcie dla diagramów o statycznej strukturze UML
35 (diagramy klasowe) i dla diagramów sieciowych. Aktualnie mo¿e on ³adowaæ
36 i zapisywaæ diagramy we w³asnym formacie oraz eksportowaæ je do postscriptu.
37
38 %prep
39 %setup -q
40
41 %build
42 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
43 ./configure %{_target} \
44         --prefix=%{_prefix}
45 make
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/etc/X11/wmconfig
50
51 make install DESTDIR=$RPM_BUILD_ROOT
52
53 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
54
55 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so.*.*
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS NEWS README TODO
63 %attr(755,root,root) %{_bindir}/dia
64 %dir %{_libdir}/dia
65 %attr(755,root,root) %{_libdir}/dia/lib*.so*
66 %attr(755,root,root) %{_libdir}/dia/lib*.la
67
68 %changelog
69 * Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
70   [0.41-3]
71 - added more rpm macros.
72
73 * Wed Apr 21 1999 Piotr Czerwiñski <pius@pld.org.pl>
74   [0.41-2]
75 - recompiled on rpm 3.
76
77 * Thu Mar 11 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
78   [0.30-1]
79 - changed way passing $RPM_OPT_FLAGS,
80 - updated requires (gtk+ = 1.2.0),
81 - "make install" with using DESTDIR.
82
83 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
84   [0.20-2]
85 - added pl translation.
86
87 * Sun Aug 30 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
88   [0.20-1]
89 - first release in rpm package.
This page took 0.039231 seconds and 4 git commands to generate.