1 Summary: DIME - DXF Import, manipulation and Export library.
2 Summary(pl): DIME - biblioteka do manipulacji plikami w formacie DXF.
9 Source0: ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
10 Source1: ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
12 Buildroot: /tmp/%{name}-%{version}-root
17 Dime is a C++ class library for reading, constructing, manipulating, and
18 writing DXF file data.
19 The name is an acronym for DXF Import, Manipulation, and Export library.
20 The DXF file format originates from AutoCAD, but is now in widespread use.
22 The focus of the library is primarily on the following items:
24 - loading DXF files into a dime object hierarchy containing the DXF data
25 - building dime object hierarchies from scratch
26 - extracting geometry data from dime object hierarchies
27 - manipulating dime object hierarchies
28 - traversing the dime object hierarchies while performing various tasks
29 - saving dime object hierarchies as files conforming to the DXF file format
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.
39 Summary(pl): DIME devel
40 Group: Development/Libraries
41 Group(pl): Programowanie/Biblioteki
44 %description -l pl devel
46 %package documentation
49 Group: Documentation/Libraries
50 Group(pl): Dokumentacja/Biblioteki
52 %description documentation
53 %description -l pl documentation
61 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
69 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
71 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
72 install -s build/libdime.a $RPM_BUILD_ROOT%{_libdir}
73 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
74 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
76 cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
78 bzip2 -9 README TODO ChangeLog
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644, root, root, 755)
86 %attr(644,root,root) %{_libdir}/libdime.a
89 %defattr(644, root, root, 755)
90 %doc docs/latex/refman.ps ChangeLog.bz2 README.bz2 TODO.bz2
94 %defattr(644,root,root,755)
95 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
96 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
97 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html