Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37749370
en ru br
ALT Linux repos
5.0: 2.1-alt4
4.1: 2.1-alt3
4.0: 2.1-alt3
3.0:
+backports:2.1-alt1.M30.3

Group :: Graphics
RPM: dwg2dxf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: dwg2dxf
Version: 2.1
Release: alt3

Summary: This program convert DWG files to DXF files
License: GPL
Group: Graphics
Url: http://sourceforge.net/projects/lx-viewer
Packager: Igor Vlasenko <viy at altlinux.ru>

Source: %name-%version.tar.bz2

# Automatically added by buildreq on Sun Mar 30 2003

BuildRequires: gcc-c++ libstdc++-devel

%description
dwg2fdxf is a command line program that may be used to convert an AutoCAD drawing file (DWG format) to a Drawing Interchange Format (DXF) file.

%prep
%setup

%build
%configure
%make

%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_libdir/%name
%__install -m644 dwg2dxf/adinit.dat %buildroot%_libdir/%name/
%__install -m755 dwg2dxf/dwg2dxf %buildroot%_libdir/%name/
cat > %buildroot%_bindir/dwg2dxf <<EOF
#!/bin/sh
%_libdir/%name/%name "\$ at "
EOF
chmod 755 %buildroot%_bindir/dwg2dxf

%files
%doc AUTHORS COPYING README dwg2dxf/docs/en
%_bindir/*
%_libdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin