]>
Commit | Line | Data |
---|---|---|
cd3553ae | 1 | Summary: Command line converter for *.dwg files into *.dxf |
e1f4bcc6 | 2 | Summary(pl.UTF-8): Program konwertujący pliki z *.dwg do *.dxf |
cd3553ae | 3 | Name: dwg2dxf |
4 | Version: 2.1 | |
5ccfbbcf | 5 | Release: 2 |
cd3553ae | 6 | License: GPL |
7 | Group: Applications/Graphics | |
6cddbd80 | 8 | Source0: http://dl.sourceforge.net/lx-viewer/%{name}-%{version}.tar.gz |
cd3553ae | 9 | # Source0-md5: c1ba5f874d23746360cd73986830a249 |
10 | Patch0: %{name}-%{version}-shared-files.patch | |
11 | URL: http://sourceforge.net/projects/lx-viewer/ | |
65acfea8 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libstdc++-devel | |
cd3553ae | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
f9ff0b47 | 18 | A command line program to convert AutoCAD drawing files (*.dwg) into |
6cddbd80 | 19 | Drawing Interchange Format (*.dxf) files. |
20 | ||
1af6193c JR |
21 | %description -l pl.UTF-8 |
22 | Konsolowy program konwertujący pliki AutoCAD-a (*.dwg) do Drawing | |
23 | Interchange Format (*.dxf), potem taki plik *.dxf można otworzyć za | |
24 | pomocą QCada. | |
cd3553ae | 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 | |
65acfea8 | 40 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} |
cd3553ae | 41 | |
42 | %{__make} install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT | |
65acfea8 | 44 | |
93bc8b80 | 45 | install %{name}/adinit.dat $RPM_BUILD_ROOT%{_datadir}/%{name} |
cd3553ae | 46 | |
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
65acfea8 | 52 | %doc %{name}/docs/en/index*.html |
cd3553ae | 53 | %attr(755,root,root) %{_bindir}/%{name} |
65acfea8 | 54 | %{_datadir}/%{name} |