]> git.pld-linux.org Git - packages/dxflib.git/blob - dxflib.spec
36f1fe99fd3599218e3c4dc038ad59d6fa083cd4
[packages/dxflib.git] / dxflib.spec
1 Summary:        Open source C++ library mainly for parsing DXFTM files.
2 Summary(pl):    Otwarta biblioteka w C++ do obslugi plikow DXF.
3 Name:           dxflib
4 Version:        2.2.0.0
5 Release:        0.3
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://anonymous:anonymous@ribbonsoft.com/archives/dxflib/dxflib-%{version}-1.src.tar.gz
9 # Source0-md5:  0eb6bef3b3a702012eeb4e99ef1aa3f1
10 Patch0:         %{name}_include_string.patch
11 URL:            http://www.qcad.org/dxflib.html
12 #BuildRequires:
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15
16 %description
17 dxflib is an open source C++ library mainly for parsing DXFTM files. QCAD, CAM Expert and vec2web all use dxflib to import DXF files. dxflib can also write DXF files, but you need to have good knowledge of the DXF format to produce valid output.
18 %description(pl)
19
20 %prep
21 %setup -q -n %{name}-%{version}-1.src
22 %patch0
23
24 %build
25 %{__aclocal}
26 %{__autoconf}
27 %configure 
28 %{__make}
29
30 %{__make} -C test
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %{__make} install \
36         LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
37         INCDIR=$RPM_BUILD_ROOT%{_includedir}/dxflib
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %{_libdir}/libdxflib.a
45 %{_includedir}/dxflib/*.h
This page took 0.037564 seconds and 2 git commands to generate.