- added am patch (fixes build with automake 1.13)
[packages/autotrace.git] / autotrace.spec
CommitLineData
d378c254 1Summary: AutoTrace - convert bitmap to vector graphics
9f0583a1 2Summary(pl.UTF-8): AutoTrace - konwerter grafiki rastrowej do wektorowej
d378c254 3Name: autotrace
a728ae5d 4Version: 0.31.1
1c82da14 5Release: 8
d6bf7299
JB
6License: GPL v2+
7Group: Applications/Graphics
8Source0: http://downloads.sourceforge.net/autotrace/%{name}-%{version}.tar.gz
ecabc6fe 9# Source0-md5: 54eabbb38d2076ded6d271e1ee4d0783
a728ae5d
JB
10Patch0: %{name}-link.patch
11Patch1: %{name}-aclocal.patch
d2c6cea2 12Patch2: %{name}-am18.patch
bdf26f51 13Patch3: %{name}-magick6.patch
1c82da14
JB
14Patch4: %{name}-am.patch
15Patch5: %{name}-libpng.patch
d378c254 16URL: http://autotrace.sourceforge.net/
d831dc94 17BuildRequires: ImageMagick-devel >= 1:6.2.4.0
d378c254
JB
18BuildRequires: autoconf
19BuildRequires: automake
b77396d7 20BuildRequires: libtool
d378c254
JB
21BuildRequires: libpng-devel >= 1.0.6
22BuildRequires: ming-devel
bdf26f51 23BuildRequires: pstoedit-devel >= 3.33-4
d378c254
JB
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
df39088c
JB
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.
d378c254 30
e561cacb
JR
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
d378c254
JB
35oraz swf.
36
37%package devel
38Summary: AutoTrace library development files
9f0583a1 39Summary(pl.UTF-8): Pliki dla programistów używających biblioteki AutoTrace
d378c254 40Group: Development/Libraries
bdf26f51 41Requires: %{name} = %{version}-%{release}
d831dc94 42Requires: ImageMagick-devel >= 1:6.2.4.0
d2c6cea2
JB
43Requires: libpng-devel >= 1.0.6
44Requires: ming-devel
bdf26f51 45Requires: pstoedit-devel >= 3.33-4
d378c254
JB
46
47%description devel
48AutoTrace library header files.
49
e561cacb
JR
50%description devel -l pl.UTF-8
51Pliki nagłówkowe do biblioteki AutoTrace.
d378c254
JB
52
53%package static
54Summary: AutoTrace static library
9f0583a1 55Summary(pl.UTF-8): Biblioteka statyczna AutoTrace
d378c254 56Group: Development/Libraries
bdf26f51 57Requires: %{name}-devel = %{version}-%{release}
d378c254
JB
58
59%description static
60AutoTrace static library.
61
e561cacb 62%description static -l pl.UTF-8
d378c254
JB
63Biblioteka statyczna AutoTrace.
64
65%prep
66%setup -q
67%patch0 -p1
a728ae5d 68%patch1 -p1
d2c6cea2 69%patch2 -p1
bdf26f51 70%patch3 -p1
1c82da14
JB
71%patch4 -p1
72%patch5 -p1
d378c254
JB
73
74%build
a89c608d 75%{__libtoolize}
2eb71034 76%{__aclocal}
0bc806ef 77%{__autoconf}
d6bf7299 78%{__autoheader}
0bc806ef 79%{__automake}
d6bf7299 80%configure
d378c254
JB
81
82%{__make}
83
84%install
85rm -rf $RPM_BUILD_ROOT
2eb71034 86
a8b6228a
PG
87%{__make} install \
88 DESTDIR=$RPM_BUILD_ROOT
d378c254 89
d378c254
JB
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)
5d51784a 98%doc AUTHORS NEWS README THANKS
d378c254 99%attr(755,root,root) %{_bindir}/autotrace
d6bf7299
JB
100%attr(755,root,root) %{_libdir}/libautotrace.so.*.*.*
101%attr(755,root,root) %ghost %{_libdir}/libautotrace.so.3
102%{_mandir}/man1/autotrace.1*
d378c254
JB
103
104%files devel
105%defattr(644,root,root,755)
d378c254 106%attr(755,root,root) %{_bindir}/autotrace-config
d6bf7299
JB
107%attr(755,root,root) %{_libdir}/libautotrace.so
108%{_libdir}/libautotrace.la
d378c254
JB
109%{_includedir}/autotrace
110%{_aclocaldir}/autotrace.m4
d6bf7299 111%{_pkgconfigdir}/autotrace.pc
d378c254
JB
112
113%files static
114%defattr(644,root,root,755)
d6bf7299 115%{_libdir}/libautotrace.a
This page took 0.123925 seconds and 4 git commands to generate.