]> git.pld-linux.org Git - packages/autotrace.git/blob - autotrace.spec
- massive attack: no need for 755 for *.la
[packages/autotrace.git] / autotrace.spec
1 Summary:        AutoTrace - convert bitmap to vector graphics
2 Summary(pl):    AutoTrace - konwerter grafiki rastrowej do wektorowej
3 Name:           autotrace
4 Version:        0.30
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 URL:            http://autotrace.sourceforge.net/
11 BuildRequires:  ImageMagick-devel >= 5.2.1
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRequires:  libpng-devel >= 1.0.6
16 BuildRequires:  ming-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 AutoTrace is a utility that converts bitmap to vector graphics. It can
21 import p[nbgp]m, bmp, tga, png (and many more through ImageMagick)
22 files and write to emf, eps, ai, er, fig, svg, sk and swf files.
23
24 %description -l pl
25 AutoTrace jest narzêdziem do konwersji grafiki rastrowej na wektorow±.
26 Mo¿e wczytywaæ pliki p[nbgp]m, bmp, tga, png (i wiele innych przez
27 ImageMagick, a zapisywaæ w formacie emf, eps, ai, er, fig, svg, sk
28 oraz swf.
29
30 %package devel
31 Summary:        AutoTrace library development files
32 Summary(pl):    Pliki dla programistów u¿ywaj±cych biblioteki AutoTrace
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}
35
36 %description devel
37 AutoTrace library header files.
38
39 %description devel -l pl
40 Pliki nag³ówkowe do biblioteki AutoTrace.
41
42 %package static
43 Summary:        AutoTrace static library
44 Summary(pl):    Biblioteka statyczna AutoTrace
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 AutoTrace static library.
50
51 %description static -l pl
52 Biblioteka statyczna AutoTrace.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 rm -f missing
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --enable-shared
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS NEWS README THANKS
83 %attr(755,root,root) %{_bindir}/autotrace
84 %attr(755,root,root) %{_libdir}/*.so.*.*
85 %{_mandir}/man1/*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/*.so
90 %{_libdir}/*.la
91 %attr(755,root,root) %{_bindir}/autotrace-config
92 %{_includedir}/autotrace
93 %{_aclocaldir}/autotrace.m4
94 %{_pkgconfigdir}/*
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.097977 seconds and 4 git commands to generate.