]> git.pld-linux.org Git - packages/libart_lgpl.git/blob - libart_lgpl.spec
- library uses math functions so it should be linked with -lm
[packages/libart_lgpl.git] / libart_lgpl.spec
1 Summary:        Library of graphics routines used by libgnomecanvas
2 Summary(pl):    Biblioteka funkcji graficznych u¿ywanych przez libgnomecanvas
3 Name:           libart_lgpl
4 Version:        2.3.8
5 Release:        2
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libart_lgpl/%{name}-%{version}.tar.bz2
9 URL:            http://www.gnome.org/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Obsoletes:      libart_lgpl2
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18
19 %description
20 Graphics routines used by the GnomeCanvas widget and some other
21 applications. libart renders vector paths and the like.
22
23 %description -l pl
24 Funkcje graficzne u¿ywane przez widget GnomeCanvas i trochê innych
25 aplikacji. libart renderuje ¶cie¿ki wektorów i tym podobne.
26
27 %package devel
28 Summary:        Headers for libart_lgpl
29 Summary(pl):    Pliki nag³owkowe libart_lgpl
30 Group:          X11/Development/Libraries
31 Requires:       %{name} = %{version}
32 Conflicts:      gnome-libs-devel < 1.4.1.2
33 Obsoletes:      libart_lgpl2-devel
34
35 %description devel
36 Header files for libart_lgpl.
37
38 %description devel -l pl
39 Pliki nag³ówkowe do biblioteki libart_lgpl.
40
41 %package static
42 Summary:        Static libart_lgpl library
43 Summary(pl):    Statyczna biblioteka libart_lgpl
44 Group:          X11/Development/Libraries
45 Requires:       %{name}-devel = %{version}
46 Conflicts:      gnome-libs-static < 1.4.1.2
47
48 %description static
49 Static version of libart_lgpl library.
50
51 %description static -l pl
52 Statyczna wersja biblioteki libart_lgpl.
53
54 %prep
55 %setup -q
56
57 %build
58 echo 'libart_lgpl_2_la_LIBADD = -lm' >> Makefile.am
59 rm -f missing
60 libtoolize --copy --force
61 aclocal
62 autoconf
63 automake -a -c -f
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT \
72         pkgconfigdir=%{_pkgconfigdir}
73
74 gzip -9nf AUTHORS ChangeLog NEWS README
75
76 %clean
77 rm -rf %{buildroot}
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) %{_libdir}/lib*.so.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/libart2-config
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %attr(755,root,root) %{_libdir}/lib*.la
92 %{_pkgconfigdir}/*.pc
93 %{_includedir}/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/lib*.a
This page took 0.054559 seconds and 4 git commands to generate.