]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- adapterized
[packages/autotrace.git] / autotrace.spec
1 Summary:        AutoTrace - convert bitmap to vector graphics
2 Summary(pl):    AutoTrace - konwersja grafiki rastrowej do wektorowej
3 Name:           autotrace
4 Version:        0.27a
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Group(de):      Applikationen
9 Group(pl):      Aplikacje
10 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/autotrace/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-shared.patch
12 Patch1:         %{name}-magick.patch
13 URL:            http://autotrace.sourceforge.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libpng-devel >= 1.0.6
17 BuildRequires:  ming-devel
18 BuildRequires:  ImageMagick-devel >= 5.2.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 Group(de):      Entwicklung/Libraries
37 Group(es):      Desarrollo/Bibliotecas
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Group(pt_BR):   Desenvolvimento/Bibliotecas
41 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
42 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
43 Requires:       %{name} = %{version}
44
45 %description devel
46 AutoTrace library header files.
47
48 %description devel -l pl
49 Pliki nag³ówkowe do biblioteki AutoTrace.
50
51 %package static
52 Summary:        AutoTrace static library
53 Summary(pl):    Biblioteka statyczna AutoTrace
54 Group:          Development/Libraries
55 Group(de):      Entwicklung/Libraries
56 Group(es):      Desarrollo/Bibliotecas
57 Group(fr):      Development/Librairies
58 Group(pl):      Programowanie/Biblioteki
59 Group(pt_BR):   Desenvolvimento/Bibliotecas
60 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
61 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 AutoTrace static library.
66
67 %description static -l pl
68 Biblioteka statyczna AutoTrace.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch1 -p1
74
75 %build
76 libtoolize --copy --force
77 aclocal
78 autoconf
79 automake -a -c
80 %configure \
81         --enable-shared
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 gzip -9nf AUTHORS NEWS README THANKS
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc *.gz
100 %attr(755,root,root) %{_bindir}/autotrace
101 %attr(755,root,root) %{_libdir}/*.so.*.*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/*.so
106 %attr(755,root,root) %{_libdir}/*.la
107 %attr(755,root,root) %{_bindir}/autotrace-config
108 %{_includedir}/autotrace
109 %{_aclocaldir}/autotrace.m4
110
111 %files static
112 %defattr(644,root,root,755)
This page took 0.043892 seconds and 4 git commands to generate.