]> git.pld-linux.org Git - packages/dime.git/blob - dime.spec
- removed empty patch declaration
[packages/dime.git] / dime.spec
1 Summary:        DIME - DXF Import, manipulation and Export library.
2 Summary(pl):    DIME - biblioteka do manipulacji plikami w formacie DXF.
3 Name:           dime
4 Version:        0.9.1
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
13 Source1:        ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Dime is a C++ class library for reading, constructing, manipulating,
18 and writing DXF file data. The name is an acronym for DXF Import,
19 Manipulation, and Export library. The DXF file format originates from
20 AutoCAD, but is now in widespread use.
21
22 The focus of the library is primarily on the following items:
23
24 - loading DXF files into a dime object hierarchy containing the DXF
25   data
26 - building dime object hierarchies from scratch
27 - extracting geometry data from dime object hierarchies
28 - manipulating dime object hierarchies
29 - traversing the dime object hierarchies while performing various
30   tasks
31 - saving dime object hierarchies as files conforming to the DXF file
32   format
33
34 The intended purpose of dime was on importing and exporting DXF files.
35 For this kind of usage, special memory management techniques has been
36 implemented, that can be used to boost the performance significantly.
37
38 %description -l pl
39 Dime jest bibliotek± klas C++ s³u¿±c± odczytywaniu, tworzeniu,
40 modyfikacji i zachowywaniu danych w plikach DXF. Nazwa jest skrótem od
41 pierwszych liter: s³ów DXF Import, Manipulation, and Export library.
42 Format pliku DXF pochodzi z AutoCAD-a, obecnie jest jednak bardzo
43 popularny.
44
45 Bibliotek obs³uguje g³ównie nastêpuj±ce funkcje:
46 - ³adowanie plików DXF do hierarchii obiektu dime zawieraj±cej dane
47   DXF
48 - budowanie hierarchii obiektów dime od zera
49 - ekstrakcja danych geometrycznych z hierarchii obiektów dime
50 - manipulacja hierarchi± obiektów dime
51 - przegl±d hierarchii obiektów dime podczas wykonywania ró¿nych zadañ
52 - zachowywanie obiektów hierarchii dime w postaci plików zgodnych z
53   formatem DXF Oryginalnym celem dime by³o importowanie i eksportowanie
54   plików DXF. Dlatego zaimplementowano specjalne techniki zarz±dzania
55   pamiêci±, dziêki którym mo¿na znacznie zwiêkszyæ wydajno¶æ.
56
57 %package devel
58 Summary:        DIME devel
59 Summary(pl):    DIME - czê¶æ dla programistów
60 Group:          Development/Libraries
61 Group(de):      Entwicklung/Libraries
62 Group(fr):      Development/Librairies
63 Group(pl):      Programowanie/Biblioteki
64
65 %description devel
66
67 %description -l pl devel
68
69 %package documentation
70 Summary:        DIME doc
71 Summary(pl):    DIME - dokumentacja
72 Group:          Documentation
73 Group(de):      Dokumentation
74 Group(es):      Documentación
75 Group(pl):      Dokumentacja
76
77 %description documentation
78
79 %description -l pl documentation
80
81 %prep
82 %setup -q
83 %setup -q -D -b1
84
85 %build
86 cd build
87 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
88 cd ../docs/latex
89 %{__make} refman.ps
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
94
95 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
96
97 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
98 install build/libdime.a $RPM_BUILD_ROOT%{_libdir}
99 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
100 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
101
102 cp -rp docs/latex/*  $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
103
104 gzip -9nf README TODO ChangeLog
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %doc
112 %attr(644,root,root) %{_libdir}/libdime.a
113
114 %files devel
115 %defattr(644,root,root,755)
116 %doc docs/latex/refman.ps ChangeLog.bz2 README.bz2 TODO.bz2
117 %{_includedir}/dime/
118
119 %files documentation
120 %defattr(644,root,root,755)
121 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
122 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
123 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html
This page took 0.561394 seconds and 4 git commands to generate.