]> git.pld-linux.org Git - packages/libart_lgpl.git/blobdiff - libart_lgpl.spec
- updated to 2.3.17, cosmetics
[packages/libart_lgpl.git] / libart_lgpl.spec
index f633671f1b11d72165c27237331c7eeaa0f129d6..6b4f47330a98b951a7605b5f9bf072da68de70e8 100644 (file)
@@ -1,17 +1,19 @@
 Summary:       Library of graphics routines used by libgnomecanvas
 Summary(pl):   Biblioteka funkcji graficznych u¿ywanych przez libgnomecanvas
 Name:          libart_lgpl
-Version:       2.3.8
+Version:       2.3.17
 Release:       1
 License:       LGPL
 Group:         X11/Libraries
-Source0:       ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/libart_lgpl/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/%{name}-%{version}.tar.bz2
+# Source0-md5: dfca42529393c8a8f59dc4dc10675a46
 URL:           http://www.gnome.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+Obsoletes:     libart_lgpl2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
 Graphics routines used by the GnomeCanvas widget and some other
 applications. libart renders vector paths and the like.
@@ -24,7 +26,8 @@ aplikacji. libart renderuje 
 Summary:       Headers for libart_lgpl
 Summary(pl):   Pliki nag³owkowe libart_lgpl
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     libart_lgpl2-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description devel
@@ -37,7 +40,7 @@ Pliki nag
 Summary:       Static libart_lgpl library
 Summary(pl):   Statyczna biblioteka libart_lgpl
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 Conflicts:     gnome-libs-static < 1.4.1.2
 
 %description static
@@ -50,6 +53,11 @@ Statyczna wersja biblioteki libart_lgpl.
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -57,9 +65,8 @@ Statyczna wersja biblioteki libart_lgpl.
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README
+       DESTDIR=$RPM_BUILD_ROOT \
+       pkgconfigdir=%{_pkgconfigdir}
 
 %clean
 rm -rf %{buildroot}
@@ -69,16 +76,16 @@ rm -rf %{buildroot}
 
 %files
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README}.gz
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
 %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
-%{_libdir}/pkgconfig/*
-%{_includedir}/*
+%{_libdir}/lib*.la
+%{_includedir}/libart-2.0
+%{_pkgconfigdir}/*.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.062379 seconds and 4 git commands to generate.