]> git.pld-linux.org Git - packages/dime.git/blob - dime.spec
5679ce9c793613bf0b5839c920198eb07204ed7a
[packages/dime.git] / dime.spec
1 Summary:        DIME - DXF Import, manipulation and Export library
2 Summary(pl):    DIME - biblioteka do manipulacji plikami w formacie DXF
3 Name:           dime
4 Version:        0.9.1
5 Release:        3
6 License:        GPL
7 Group:          Libraries
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)
12
13 %description
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.
18
19 The focus of the library is primarily on the following items:
20
21 - loading DXF files into a dime object hierarchy containing the DXF
22   data
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
27   tasks
28 - saving dime object hierarchies as files conforming to the DXF file
29   format
30
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.
34
35 %description -l pl
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
40 popularny.
41
42 Bibliotek obs³uguje g³ównie nastêpuj±ce funkcje:
43 - ³adowanie plików DXF do hierarchii obiektu dime zawieraj±cej dane
44   DXF
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¶æ.
53
54 %package devel
55 Summary:        DIME devel
56 Summary(pl):    DIME - czê¶æ dla programistów
57 Group:          Development/Libraries
58 Requires:       %{name} = %{version}
59
60 %description devel
61 Dime developement files.
62
63 %description devel -l pl
64 Pliki developerskie do dime.
65
66 %package documentation
67 Summary:        DIME doc
68 Summary(pl):    DIME - dokumentacja
69 Group:          Documentation
70
71 %description documentation
72 Dime documentation.
73
74 %description documentation -l pl
75 Dokumentacja dime.
76
77 %prep
78 %setup -q
79 %setup -q -D -b1
80
81 %build
82 cd build
83 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
84 cd ../docs/latex
85 %{__make} refman.ps
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
90
91 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
92
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
97
98 cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %files
104 %defattr(644,root,root,755)
105 %doc README TODO ChangeLog
106 %attr(644,root,root) %{_libdir}/libdime.a
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc docs/latex/refman.ps ChangeLog.gz README.gz TODO.gz
111 %{_includedir}/dime/
112
113 %files documentation
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
This page took 0.072034 seconds and 2 git commands to generate.