]> git.pld-linux.org Git - packages/dwg2dxf.git/blob - dwg2dxf.spec
50ddad4f819c869105a9046126dac14ebf5dd01f
[packages/dwg2dxf.git] / dwg2dxf.spec
1 Summary:        Command line converter for *.dwg files into *.dxf
2 Summary(pl):    Program konwertuj±cy pliki z *.dwg do *.dxf
3 Name:           dwg2dxf
4 Version:        2.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/lx-viewer/%{name}-%{version}.tar.gz
9 # Source0-md5:  c1ba5f874d23746360cd73986830a249
10 Patch0:         %{name}-%{version}-shared-files.patch
11 URL:            http://sourceforge.net/projects/lx-viewer/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libstdc++-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 A command line program to convert AutoCad drawing files (*.dwg) into
19 Drawing Interchange Format (*.dxf) files.
20
21 %description -l pl
22 Konsolowy program konwertuj±cy pliki AutoCad'a (*.dwf) do Drawing
23 Interchange Format (*.dxf), potem taki plik *.dxf mo¿na otworzyæ za
24 pomoc± QCAD'a.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29
30 %build
31 %{__aclocal}
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 install %{name}/adinit.dat $RPM_BUILD_ROOT/%{_datadir}/%{name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc %{name}/docs/en/index*.html
53 %attr(755,root,root) %{_bindir}/%{name}
54 %{_datadir}/%{name}
This page took 0.099309 seconds and 2 git commands to generate.