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