]> git.pld-linux.org Git - packages/autotrace.git/blame_incremental - autotrace.spec
- added am patch (fixes build with automake 1.13)
[packages/autotrace.git] / autotrace.spec
... / ...
CommitLineData
1Summary: AutoTrace - convert bitmap to vector graphics
2Summary(pl.UTF-8): AutoTrace - konwerter grafiki rastrowej do wektorowej
3Name: autotrace
4Version: 0.31.1
5Release: 8
6License: GPL v2+
7Group: Applications/Graphics
8Source0: http://downloads.sourceforge.net/autotrace/%{name}-%{version}.tar.gz
9# Source0-md5: 54eabbb38d2076ded6d271e1ee4d0783
10Patch0: %{name}-link.patch
11Patch1: %{name}-aclocal.patch
12Patch2: %{name}-am18.patch
13Patch3: %{name}-magick6.patch
14Patch4: %{name}-am.patch
15Patch5: %{name}-libpng.patch
16URL: http://autotrace.sourceforge.net/
17BuildRequires: ImageMagick-devel >= 1:6.2.4.0
18BuildRequires: autoconf
19BuildRequires: automake
20BuildRequires: libtool
21BuildRequires: libpng-devel >= 1.0.6
22BuildRequires: ming-devel
23BuildRequires: pstoedit-devel >= 3.33-4
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27AutoTrace is a utility that converts bitmap to vector graphics. It can
28import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
29files and write to emf, eps, ai, er, fig, svg, sk and swf files.
30
31%description -l pl.UTF-8
32AutoTrace jest narzędziem do konwersji grafiki rastrowej na wektorową.
33Może wczytywać pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
34ImageMagick, a zapisywać w formacie emf, eps, ai, er, fig, svg, sk
35oraz swf.
36
37%package devel
38Summary: AutoTrace library development files
39Summary(pl.UTF-8): Pliki dla programistów używających biblioteki AutoTrace
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42Requires: ImageMagick-devel >= 1:6.2.4.0
43Requires: libpng-devel >= 1.0.6
44Requires: ming-devel
45Requires: pstoedit-devel >= 3.33-4
46
47%description devel
48AutoTrace library header files.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe do biblioteki AutoTrace.
52
53%package static
54Summary: AutoTrace static library
55Summary(pl.UTF-8): Biblioteka statyczna AutoTrace
56Group: Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60AutoTrace static library.
61
62%description static -l pl.UTF-8
63Biblioteka 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
85rm -rf $RPM_BUILD_ROOT
86
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
89
90%clean
91rm -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.063849 seconds and 4 git commands to generate.