]> git.pld-linux.org Git - packages/dime.git/blob - dime.spec
- adding es/fr/pt_BR/ru/uk (and eventually de) Group translations
[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(es):      Desarrollo/Bibliotecas
66 Group(fr):      Development/Librairies
67 Group(pl):      Programowanie/Biblioteki
68 Group(pt_BR):   Desenvolvimento/Bibliotecas
69 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
70 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
71 Requires:       %{name} = %{version}
72
73 %description devel
74
75 %description -l pl devel
76
77 %package documentation
78 Summary:        DIME doc
79 Summary(pl):    DIME - dokumentacja
80 Group:          Documentation
81 Group(de):      Dokumentation
82 Group(es):      Documentación
83 Group(pl):      Dokumentacja
84
85 %description documentation
86
87 %description -l pl documentation
88
89 %prep
90 %setup -q
91 %setup -q -D -b1
92
93 %build
94 cd build
95 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
96 cd ../docs/latex
97 %{__make} refman.ps
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
102
103 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
104
105 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
106 install build/libdime.a $RPM_BUILD_ROOT%{_libdir}
107 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
108 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
109
110 cp -rp docs/latex/*  $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
111
112 gzip -9nf README TODO ChangeLog
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %doc
120 %attr(644,root,root) %{_libdir}/libdime.a
121
122 %files devel
123 %defattr(644,root,root,755)
124 %doc docs/latex/refman.ps ChangeLog.gz README.gz TODO.gz
125 %{_includedir}/dime/
126
127 %files documentation
128 %defattr(644,root,root,755)
129 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
130 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
131 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html
This page took 0.063684 seconds and 3 git commands to generate.