Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37527893
en ru br
ALT Linux repositórios
5.0: 0.31.1-alt2.1
4.1: 0.31.1-alt2
4.0: 0.31.1-alt2
3.0: 0.31.1-alt1.6

Group :: Gráficos
RPM: autotrace

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%undefine cvs_date
%def_with pstoedit
%def_disable static

Name: autotrace
Version: 0.31.1
#define release alt2
Release: alt2

#ifdef cvs_date

#Release: %{release}cvs%cvs_date.1
#else
#Release: %release.1
#endif

Summary: Bitmap to vector graphics converter
Summary(ru_RU.KOI8-R): ðÒÏÇÒÁÍÍÁ ÔÒÁÓÓÉÒÏ×ËÉ ÒÁÓÔÒÏ×ÙÈ ÉÚÏÂÒÁÖÅÎÉÊ.
Group: Graphics
License: GPL
Url: http://%name.sourceforge.net

%ifndef cvs_date
Source: http://ftp1.sourceforge.net/%name/%name-%version.tar.gz
Patch: %name-0.31.1-configure_in-deb-alt.patch.bz2
Patch1: %name-0.31.1-makefile_am-deb.patch
Patch2: %name-0.31.1-docs-deb.patch
Patch3: %name-0.31.1-gcc41-deb.patch.bz2
Patch4: %name-0.31.1-pc_in-deb.patch
Patch5: %name-0.31.1-unneeded_libs-alt.patch
%else
Source: %name-%version-%cvs_date.tar.bz2
%endif

%define pstoedit_ver 3.32

Requires: lib%name = %version-%release

%if_with pstoedit
BuildPreReq: libpstoedit-devel >= %pstoedit_ver
%endif

# Automatically added by buildreq on Mon Jan 08 2007

#BuildRequires: gcc-c++ glibc-devel-static libImageMagick-devel libpng-devel libpstoedit-devel
BuildRequires: libImageMagick-devel libpng-devel libpstoedit-devel

%description
The aim of the AutoTrace project is the development of a freely
available application with a functionality similar to CorelTrace or
Adobe Streamline. I hope that it will become better than all
commercially available programs. In some aspects it is already better.

Supported formats:
Input BMP, TGA, PNM, PPM, PGM, PBM and those supported by ImageMagick.
Export Postscript, svg, xfig, swf, pstoedit, emf, dxf, cgm, mif, p2e and sk

%description -l ru_RU.KOI8-R
%name - ÐÒÏÇÒÁÍÍÁ ÐÒÅÏÂÒÁÚÏ×ÁÎÉÑ ÒÁÓÔÒÏ×ÙÈ ÉÚÏÂÒÁÖÅÎÉÊ × ×ÅËÔÏÒÎÙÅ.

ðÏÄÄÅÒÖÉ×ÁÅÍÙÅ ÆÏÒÍÁÔÙ:
òÁÓÔÒÏ×ÙÅ: BMP, TGA, PNM, PPM, PGM, PBM É ÐÒÏÞÉÅ, ÐÏÄÄÅÒÖÉ×ÁÅÍÙÅ ÐÒÏÇÒÁÍÍÏÊ ImageMagick.
÷ÅËÔÏÒÎÙÅ: Postscript, svg, xfig, swf, pstoedit, emf, dxf, cgm, mif, p2e É sk

%package -n lib%name
Summary: Shared library for %name
Group: System/Libraries
License: LGPL

%description -n lib%name
Shared library needed to run %name.

%package -n lib%name-devel
Summary: Development package of %name
Group: Development/C
License: LGPL
Requires: lib%name = %version-%release
Requires: libImageMagick-devel
%if_with pstoedit
Requires: libpstoedit-devel >= %pstoedit_ver
%endif

%description -n lib%name-devel
Headers files needed to compile programs using lib%name.

%package -n lib%name-devel-static
Summary: Static version of lib%name
Group: System/Libraries
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains static library required for packaging statically
linked software using lib%name.

%prep
%ifndef cvs_date
%setup -q -n %name-%version
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%else
%setup -q -n %name-%version-%cvs_date
%endif

%build
%ifdef cvs_date
%__subst 's at autoconf at autoconf_2.5 at ' autogen.sh
%__subst 's at autoheader at autoheader_2.5 at ' autogen.sh
./autogen.sh
%endif

autoreconf -fisv
%configure %{subst_enable static} \
%if_without pstoedit
--without-pstoedit
%endif

%__subst s/-lstdc++// Makefile
%make_build
%__subst s/-lstdc++// %name-config

%install
%makeinstall

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files
%_bindir/%name
%_man1dir/*
%doc README* NEWS AUTHORS ChangeLog THANKS HACKING

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_bindir/%name-config
%_includedir/%name
%_libdir/*.so
%_libdir/pkgconfig/*
%_datadir/aclocal/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009