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