]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- 0.31.1
[packages/autotrace.git] / autotrace.spec
1 Summary:        AutoTrace - convert bitmap to vector graphics
2 Summary(pl):    AutoTrace - konwerter grafiki rastrowej do wektorowej
3 Name:           autotrace
4 Version:        0.31.1
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/autotrace/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-link.patch
10 Patch1:         %{name}-aclocal.patch
11 URL:            http://autotrace.sourceforge.net/
12 BuildRequires:  ImageMagick-devel >= 5.2.1
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRequires:  libpng-devel >= 1.0.6
17 BuildRequires:  ming-devel
18 #BuildRequires: pstoedit >= 0.32.1
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 AutoTrace is a utility that converts bitmap to vector graphics. It can
23 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
24 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
25
26 %description -l pl
27 AutoTrace jest narzêdziem do konwersji grafiki rastrowej na wektorow±.
28 Mo¿e wczytywaæ pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
29 ImageMagick, a zapisywaæ w formacie emf, eps, ai, er, fig, svg, sk
30 oraz swf.
31
32 %package devel
33 Summary:        AutoTrace library development files
34 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki AutoTrace
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}
37
38 %description devel
39 AutoTrace library header files.
40
41 %description devel -l pl
42 Pliki nag³ówkowe do biblioteki AutoTrace.
43
44 %package static
45 Summary:        AutoTrace static library
46 Summary(pl):    Biblioteka statyczna AutoTrace
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 AutoTrace static library.
52
53 %description static -l pl
54 Biblioteka statyczna AutoTrace.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60
61 %build
62 #rm -f missing
63 %{__libtoolize}
64 %{__aclocal}
65 %{__autoconf}
66 %{__automake}
67 %configure \
68         --enable-shared
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS NEWS README THANKS
86 %attr(755,root,root) %{_bindir}/autotrace
87 %attr(755,root,root) %{_libdir}/*.so.*.*
88 %{_mandir}/man1/*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/*.so
93 %{_libdir}/*.la
94 %attr(755,root,root) %{_bindir}/autotrace-config
95 %{_includedir}/autotrace
96 %{_aclocaldir}/autotrace.m4
97 %{_pkgconfigdir}/*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.088187 seconds and 3 git commands to generate.