-Summary: Library of graphics routines used by libgnomecanvas
-Name: libart_lgpl
-Version: 2.3.8
-Release: 1
-URL: http://www.gnome.org/
-Source0: %{name}-%{version}.tar.gz
-License: LGPL
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-root
+Summary: Library of graphics routines used by libgnomecanvas
+Summary(pl): Biblioteka funkcji graficznych u¿ywanych przez libgnomecanvas
+Name: libart_lgpl
+Version: 2.3.10
+Release: 1
+License: LGPL
+Group: X11/Libraries
+Source0: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libart_lgpl/%{name}-%{version}.tar.bz2
+URL: http://www.gnome.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes: libart_lgpl2
+
+%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
%description
-
-Graphics routines used by the GnomeCanvas widget and some other
+Graphics routines used by the GnomeCanvas widget and some other
applications. libart renders vector paths and the like.
+%description -l pl
+Funkcje graficzne u¿ywane przez widget GnomeCanvas i trochê innych
+aplikacji. libart renderuje ¶cie¿ki wektorów i tym podobne.
+
%package devel
-Summary: Libraries and headers for libart_lgpl.
-Group: Development/Libraries
-Requires: %name = %{version}
-Conflicts: gnome-libs-devel < 1.4.1.2
+Summary: Headers for libart_lgpl
+Summary(pl): Pliki nag³owkowe libart_lgpl
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}
+Conflicts: gnome-libs-devel < 1.4.1.2
+Obsoletes: libart_lgpl2-devel
%description devel
+Header files for libart_lgpl.
-Graphics routines used by the GnomeCanvas widget and some other
-applications. libart renders vector paths and the like.
+%description devel -l pl
+Pliki nag³ówkowe do biblioteki libart_lgpl.
+
+%package static
+Summary: Static libart_lgpl library
+Summary(pl): Statyczna biblioteka libart_lgpl
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}
+Conflicts: gnome-libs-static < 1.4.1.2
+
+%description static
+Static version of libart_lgpl library.
+
+%description static -l pl
+Statyczna wersja biblioteki libart_lgpl.
%prep
%setup -q
%build
+rm -f missing
+%{__libtoolize}
+aclocal
+%{__autoconf}
+%{__automake}
%configure
-make %{?_smp_mflags}
+%{__make}
%install
-rm -rf %{buildroot}
-%makeinstall
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ pkgconfigdir=%{_pkgconfigdir}
%clean
rm -rf %{buildroot}
-%post -p /sbin/ldconfig
-
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
-%defattr(-,root,root)
-
-%doc AUTHORS COPYING ChangeLog NEWS README
-
-%{_libdir}/lib*.so.*
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
%files devel
-%defattr(-,root,root)
-
-%{_libdir}/lib*.a
-%{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*
-%{_bindir}/libart2-config
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/libart2-config
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_pkgconfigdir}/*.pc
%{_includedir}/*
-%changelog
-* Thu Jan 24 2002 Havoc Pennington <hp@redhat.com>
-- actually increase version to 2.3.8
-
-* Thu Jan 24 2002 Havoc Pennington <hp@redhat.com>
-- upgrade to 2.3.8 so header files don't break eel2
-
-* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
-- automated rebuild
-
-* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
-- 2.3.7.91 snap
-
-* Sun Nov 25 2001 Havoc Pennington <hp@redhat.com>
-- cvs snap, rebuild with new glib
-
-* Thu Oct 4 2001 Havoc Pennington <hp@redhat.com>
-- 2.3.6
-
-* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
-- new CVS snap with upstream changes merged
-
-* Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
-- Initial build.
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a