1 Summary: DIME - DXF Import, manipulation and Export library.
2 Summary(pl): DIME - biblioteka do manipulacji plikami w formacie DXF.
11 Source0: ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
12 Source1: ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Dime is a C++ class library for reading, constructing, manipulating,
20 and writing DXF file data. The name is an acronym for DXF Import,
21 Manipulation, and Export library. The DXF file format originates from
22 AutoCAD, but is now in widespread use.
24 The focus of the library is primarily on the following items:
26 - loading DXF files into a dime object hierarchy containing the DXF
28 - building dime object hierarchies from scratch
29 - extracting geometry data from dime object hierarchies
30 - manipulating dime object hierarchies
31 - traversing the dime object hierarchies while performing various
33 - saving dime object hierarchies as files conforming to the DXF file
36 The intended purpose of dime was on importing and exporting DXF files.
37 For this kind of usage, special memory management techniques has been
38 implemented, that can be used to boost the performance significantly.
41 Dime jest bibliotek± klas C++ s³u¿±c± odczytywaniu, tworzeniu,
42 modyfikacji i zachowywaniu danych w plikach DXF. Nazwa jest skrótem od
43 pierwszych liter: s³ów DXF Import, Manipulation, and Export library.
44 Format pliku DXF pochodzi z AutoCAD-a, obecnie jest jednak bardzo
47 Bibliotek obs³uguje g³ównie nastêpuj±ce funkcje:
48 - ³adowanie plików DXF do hierarchii obiektu dime zawieraj±cej dane
50 - budowanie hierarchii obiektów dime od zera
51 - ekstrakcja danych geometrycznych z hierarchii obiektów dime
52 - manipulacja hierarchi± obiektów dime
53 - przegl±d hierarchii obiektów dime podczas wykonywania ró¿nych zadañ
54 - zachowywanie obiektów hierarchii dime w postaci plików zgodnych z
55 formatem DXF Oryginalnym celem dime by³o importowanie i eksportowanie
56 plików DXF. Dlatego zaimplementowano specjalne techniki zarz±dzania
57 pamiêci±, dziêki którym mo¿na znacznie zwiêkszyæ wydajno¶æ.
61 Summary(pl): DIME devel
62 Group: Development/Libraries
63 Group(de): Entwicklung/Libraries
64 Group(fr): Development/Librairies
65 Group(pl): Programowanie/Biblioteki
68 %description -l pl devel
70 %package documentation
74 Group(de): Dokumentation
75 Group(pl): Dokumentacja
77 %description documentation
78 %description -l pl documentation
86 %{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
94 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
96 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
97 install -s build/libdime.a $RPM_BUILD_ROOT%{_libdir}
98 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
99 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
101 cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
103 gzip -9nf README TODO ChangeLog
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
111 %attr(644,root,root) %{_libdir}/libdime.a
114 %defattr(644,root,root,755)
115 %doc docs/latex/refman.ps ChangeLog.bz2 README.bz2 TODO.bz2
119 %defattr(644,root,root,755)
120 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
121 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
122 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html