]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/autotrace/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-shared.patch
10 Patch1:         %{name}-magick.patch
11 URL:            http://autotrace.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  libpng-devel >= 1.0.6
16 BuildRequires:  ming-devel
17 BuildRequires:  ImageMagick-devel >= 5.2.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 AutoTrace is a utility that converts bitmap to vector graphics. It can
22 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
23 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
24
25 %description -l pl
26 AutoTrace jest narzêdziem do konwersji grafiki rastrowej na wektorow±.
27 Mo¿e wczytywaæ pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
28 ImageMagick, a zapisywaæ w formacie emf, eps, ai, er, fig, svg, sk
29 oraz swf.
30
31 %package devel
32 Summary:        AutoTrace library development files
33 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki AutoTrace
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}
36
37 %description devel
38 AutoTrace library header files.
39
40 %description devel -l pl
41 Pliki nag³ówkowe do biblioteki AutoTrace.
42
43 %package static
44 Summary:        AutoTrace static library
45 Summary(pl):    Biblioteka statyczna AutoTrace
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 AutoTrace static library.
51
52 %description static -l pl
53 Biblioteka statyczna AutoTrace.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59
60 %build
61 libtoolize --copy --force
62 aclocal
63 autoconf
64 automake -a -c
65 %configure \
66         --enable-shared
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74 gzip -9nf AUTHORS NEWS README THANKS
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 *.gz
85 %attr(755,root,root) %{_bindir}/autotrace
86 %attr(755,root,root) %{_libdir}/*.so.*.*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/*.so
91 %attr(755,root,root) %{_libdir}/*.la
92 %attr(755,root,root) %{_bindir}/autotrace-config
93 %{_includedir}/autotrace
94 %{_aclocaldir}/autotrace.m4
95
96 %files static
97 %defattr(644,root,root,755)
This page took 0.063324 seconds and 3 git commands to generate.