]> git.pld-linux.org Git - packages/dia.git/blob - dia.spec
- added using %%{__make} macro.
[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.85
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Group(pl):      X11/Aplikacje/Grafika
9 Vendor:         James Henstridge <james@daa.com.au>
10 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/dia/%{name}-%{version}.tar.gz
11 URL:            http://www.lysator.liu.se/~alla/dia/dia.html
12 BuildRequires:  gtk+-devel >= 1.2.0
13 BuildRequires:  libxml-devel
14 BuildRequires:  zlib-devel
15 BuildRequires:  imlib-devel
16 BuildRequires:  gettext-devel
17 Requires:       gtk+ >= 1.2.0
18 Requires: libxml >= 1.8.7
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22 %define         _mandir         %{_prefix}/man
23
24 %description
25 Dia is a program designed to be much like the Windows program 'Visio'.
26 It can be used to draw different kind of diagrams. In this first
27 version there is support for UML static structure diagrams (class
28 diagrams) and Network diagrams. It can currently load and save
29 diagrams to a custom fileformat and export to postscript.
30
31 %description -l pl
32 Dia jest programem zaprojektowanym tak by byæ podobnym do programu
33 'Visio' znanego z Windows. Dia mo¿e byæ u¿ywany do rysowania ró¿nego
34 rodzaju diagramów. W tej wersji znajduje siê wsparcie dla diagramów o
35 statycznej strukturze UML (diagramy klasowe) i dla diagramów
36 sieciowych. Aktualnie mo¿e on ³adowaæ i zapisywaæ diagramy we w³asnym
37 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
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT \
53         Applicationsdir=%{_applnkdir}/Graphics
54
55 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/dia/lib*.so
56
57 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
58
59 %find_lang %{name}
60
61 gzip -9nf AUTHORS NEWS README TODO
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc *.gz
69 %{_applnkdir}/Graphics/dia.desktop
70 %attr(755,root,root) %{_bindir}/dia
71 %dir %{_libdir}/dia
72 %attr(755,root,root) %{_libdir}/dia/lib*.so
73 %attr(755,root,root) %{_libdir}/dia/lib*.la
74 %{_datadir}/dia
75 %{_datadir}/pixmaps/*
76 %{_mandir}/man1/*
This page took 0.050189 seconds and 4 git commands to generate.