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