1 Summary: DIME - DXF Import, manipulation and Export library.
2 Summary(pl): DIME - biblioteka do manipulacji plikami w formacie DXF.
8 Source0: ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
9 Source1: ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Dime is a C++ class library for reading, constructing, manipulating,
14 and writing DXF file data. The name is an acronym for DXF Import,
15 Manipulation, and Export library. The DXF file format originates from
16 AutoCAD, but is now in widespread use.
18 The focus of the library is primarily on the following items:
20 - loading DXF files into a dime object hierarchy containing the DXF
22 - building dime object hierarchies from scratch
23 - extracting geometry data from dime object hierarchies
24 - manipulating dime object hierarchies
25 - traversing the dime object hierarchies while performing various
27 - saving dime object hierarchies as files conforming to the DXF file
30 The intended purpose of dime was on importing and exporting DXF files.
31 For this kind of usage, special memory management techniques has been
32 implemented, that can be used to boost the performance significantly.
35 Dime jest bibliotek± klas C++ s³u¿±c± odczytywaniu, tworzeniu,
36 modyfikacji i zachowywaniu danych w plikach DXF. Nazwa jest skrótem od
37 pierwszych liter: s³ów DXF Import, Manipulation, and Export library.
38 Format pliku DXF pochodzi z AutoCAD-a, obecnie jest jednak bardzo
41 Bibliotek obs³uguje g³ównie nastêpuj±ce funkcje:
42 - ³adowanie plików DXF do hierarchii obiektu dime zawieraj±cej dane
44 - budowanie hierarchii obiektów dime od zera
45 - ekstrakcja danych geometrycznych z hierarchii obiektów dime
46 - manipulacja hierarchi± obiektów dime
47 - przegl±d hierarchii obiektów dime podczas wykonywania ró¿nych zadañ
48 - zachowywanie obiektów hierarchii dime w postaci plików zgodnych z
49 formatem DXF Oryginalnym celem dime by³o importowanie i eksportowanie
50 plików DXF. Dlatego zaimplementowano specjalne techniki zarz±dzania
51 pamiêci±, dziêki którym mo¿na znacznie zwiêkszyæ wydajno¶æ.
55 Summary(pl): DIME - czê¶æ dla programistów
56 Group: Development/Libraries
57 Requires: %{name} = %{version}
60 Dime developement files.
62 %description devel -l pl
63 Pliki developerskie do dime.
65 %package documentation
67 Summary(pl): DIME - dokumentacja
70 %description documentation
73 %description documentation -l pl
82 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
90 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
92 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
93 install build/libdime.a $RPM_BUILD_ROOT%{_libdir}
94 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
95 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
97 cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
100 rm -rf $RPM_BUILD_ROOT
103 %defattr(644,root,root,755)
104 %doc README TODO ChangeLog
105 %attr(644,root,root) %{_libdir}/libdime.a
108 %defattr(644,root,root,755)
109 %doc docs/latex/refman.ps ChangeLog.gz README.gz TODO.gz
113 %defattr(644,root,root,755)
114 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
115 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
116 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html