]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- use http for sources on sourceforge
[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:        http://dl.sourceforge.net/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 >= 3.32
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 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__automake}
66 %configure \
67         --enable-shared
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS NEWS README THANKS
85 %attr(755,root,root) %{_bindir}/autotrace
86 %attr(755,root,root) %{_libdir}/*.so.*.*
87 %{_mandir}/man1/*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/*.so
92 %{_libdir}/*.la
93 %attr(755,root,root) %{_bindir}/autotrace-config
94 %{_includedir}/autotrace
95 %{_aclocaldir}/autotrace.m4
96 %{_pkgconfigdir}/*
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/lib*.a
This page took 0.082197 seconds and 4 git commands to generate.