]> git.pld-linux.org Git - packages/dime.git/blob - dime.spec
- %desc
[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 Dime developement files.
75
76 %description devel -l pl
77 Pliki developerskie do dime.
78
79 %package documentation
80 Summary:        DIME doc
81 Summary(pl):    DIME - dokumentacja
82 Group:          Documentation
83 Group(de):      Dokumentation
84 Group(es):      Documentación
85 Group(pl):      Dokumentacja
86
87 %description documentation
88 Dime documentation.
89
90 %description documentation -l pl
91 Dokumentacja dime.
92
93 %prep
94 %setup -q
95 %setup -q -D -b1
96
97 %build
98 cd build
99 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
100 cd ../docs/latex
101 %{__make} refman.ps
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
106
107 install -d $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/{latex,html}
108
109 cp -rp include/* $RPM_BUILD_ROOT%{_includedir}
110 install build/libdime.a $RPM_BUILD_ROOT%{_libdir}
111 cp -rp docs/latex/*.tex $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
112 cp -rp docs/latex/*.sty $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/latex
113
114 cp -rp docs/latex/* $RPM_BUILD_ROOT/%{datadir}/doc/%name-documentation-%version/html
115
116 gzip -9nf README TODO ChangeLog
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
122 %defattr(644,root,root,755)
123 %doc
124 %attr(644,root,root) %{_libdir}/libdime.a
125
126 %files devel
127 %defattr(644,root,root,755)
128 %doc docs/latex/refman.ps ChangeLog.gz README.gz TODO.gz
129 %{_includedir}/dime/
130
131 %files documentation
132 %defattr(644,root,root,755)
133 #%doc docs/html/* docs/latex/*.tex docs/latex/*.sty
134 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/latex
135 %attr(644,root,root) /%{datadir}/doc/%name-documentation-%version/html
This page took 0.077199 seconds and 4 git commands to generate.