3 %bcond_without static_libs # don't build static library
5 Summary: Library of graphics routines used by libgnomecanvas
6 Summary(pl.UTF-8): Biblioteka funkcji graficznych używanych przez libgnomecanvas
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2
13 # Source0-md5: 08559ff3c67fd95d57b0c5e91a6b4302
14 URL: http://www.gnome.org/
15 BuildRequires: autoconf
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: libtool
18 Obsoletes: libart_lgpl2
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Graphics routines used by the GnomeCanvas widget and some other
23 applications. libart renders vector paths and the like.
25 %description -l pl.UTF-8
26 Funkcje graficzne używane przez widget GnomeCanvas i trochę innych
27 aplikacji. libart renderuje ścieżki wektorów i tym podobne.
30 Summary: Headers for libart_lgpl
31 Summary(pl.UTF-8): Pliki nagłowkowe libart_lgpl
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Obsoletes: libart_lgpl2-devel
35 Conflicts: gnome-libs-devel < 1.4.1.2
38 Header files for libart_lgpl.
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe do biblioteki libart_lgpl.
44 Summary: Static libart_lgpl library
45 Summary(pl.UTF-8): Statyczna biblioteka libart_lgpl
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
48 Conflicts: gnome-libs-static < 1.4.1.2
51 Static version of libart_lgpl library.
53 %description static -l pl.UTF-8
54 Statyczna wersja biblioteki libart_lgpl.
66 %{!?with_static_libs:--disable-static}
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT \
74 pkgconfigdir=%{_pkgconfigdir}
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_libdir}/libart_lgpl_2.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/libart_lgpl_2.so.2
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/libart2-config
91 %attr(755,root,root) %{_libdir}/libart_lgpl_2.so
92 %{_libdir}/libart_lgpl_2.la
93 %{_includedir}/libart-2.0
94 %{_pkgconfigdir}/libart-2.0.pc
96 %if %{with static_libs}
98 %defattr(644,root,root,755)
99 %{_libdir}/libart_lgpl_2.a