]> git.pld-linux.org Git - packages/dime.git/blob - dime.spec
$Log fixed
[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:        1
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(fr):      Librairies
10 Group(pl):      Biblioteki
11 Source0:        ftp://ftp.sim.no/pub/dime/%name-%version-src.tar.bz2
12 Source1:        ftp://ftp.sim.no/pub/dime/%name-%version-doc.tar.bz2
13 Patch0:         
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define _prefix /usr
17
18 %description
19 Dime is a C++ class library for reading, constructing, manipulating,
20 and writing DXF file data. The name is an acronym for DXF Import,
21 Manipulation, and Export library. The DXF file format originates from
22 AutoCAD, but is now in widespread use.
23
24 The focus of the library is primarily on the following items:
25
26 - loading DXF files into a dime object hierarchy containing the DXF
27   data
28 - building dime object hierarchies from scratch
29 - extracting geometry data from dime object hierarchies
30 - manipulating dime object hierarchies
31 - traversing the dime object hierarchies while performing various
32   tasks
33 - saving dime object hierarchies as files conforming to the DXF file
34   format
35
36 The intended purpose of dime was on importing and exporting DXF files.
37 For this kind of usage, special memory management techniques has been
38 implemented, that can be used to boost the performance significantly.
39
40 %description -l pl
41 Dime jest bibliotek± klas C++ s³u¿±c± odczytywaniu, tworzeniu,
42 modyfikacji i zachowywaniu danych w plikach DXF. Nazwa jest skrótem od
43 pierwszych liter: s³ów DXF Import, Manipulation, and Export library.
44 Format pliku DXF pochodzi z AutoCAD-a, obecnie jest jednak bardzo
45 popularny.
46
47 Bibliotek obs³uguje g³ównie nastêpuj±ce funkcje:
48 - ³adowanie plików DXF do hierarchii obiektu dime zawieraj±cej dane
49   DXF
50 - budowanie hierarchii obiektów dime od zera
51 - ekstrakcja danych geometrycznych z hierarchii obiektów dime
52 - manipulacja hierarchi± obiektów dime
53 - przegl±d hierarchii obiektów dime podczas wykonywania ró¿nych zadañ
54 - zachowywanie obiektów hierarchii dime w postaci plików zgodnych z
55   formatem DXF Oryginalnym celem dime by³o importowanie i eksportowanie
56   plików DXF. Dlatego zaimplementowano specjalne techniki zarz±dzania
57   pamiêci±, dziêki którym mo¿na znacznie zwiêkszyæ wydajno¶æ.
58
59 %package devel
60 Summary:        DIME devel
61 Summary(pl):    DIME devel
62 Group:          Development/Libraries
63 Group(de):      Entwicklung/Libraries
64 Group(fr):      Development/Librairies
65 Group(pl):      Programowanie/Biblioteki
66
67 %description devel
68 %description -l pl devel
69
70 %package documentation
71 Summary:        DEME doc
72 Summary(pl):    DIME doc
73 Group:          Documentation
74 Group(de):      Dokumentation
75 Group(pl):      Dokumentacja
76
77 %description documentation
78 %description -l pl documentation
79
80 %prep
81 %setup -q
82 %setup -q -D -b1
83
84 %build
85 cd build
86 %{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
87 cd ../docs/latex
88 %{__make} refman.ps
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
93
94 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
95
96 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
97 install -s build/libdime.a $RPM_BUILD_ROOT%{_libdir}
98 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
99 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
100
101 cp -rp docs/latex/*  $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
102
103 gzip -9nf README TODO ChangeLog
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files
109 %defattr(644,root,root,755)
110 %doc
111 %attr(644,root,root) %{_libdir}/libdime.a
112
113 %files devel
114 %defattr(644,root,root,755)
115 %doc docs/latex/refman.ps ChangeLog.bz2 README.bz2 TODO.bz2
116 %{_includedir}/dime/
117
118 %files documentation
119 %defattr(644,root,root,755)
120 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
121 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
122 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html
This page took 0.061675 seconds and 3 git commands to generate.