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