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