]> git.pld-linux.org Git - packages/at-spi.git/blobdiff - at-spi.spec
- removed BR: perl-base, popt-devel required somewhere else
[packages/at-spi.git] / at-spi.spec
index 5a6083b804362a1266e5d9e917c520234bfec2c4..e857ed7a6f85383214068d31db41c7e77a2387b4 100644 (file)
@@ -1,24 +1,28 @@
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Assistive Technology Service Provider Interface
 Summary(pl):   Interfejs pozwalaj±cy na korzystanie z urz±dzeñ wspomagaj±cych
 Name:          at-spi
-Version:       1.3.9
-Release:       1
-License:       LGPL
+Version:       1.6.4
+Release:       2
+License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.3/%{name}-%{version}.tar.bz2
-# Source0-md5: 9a3915d9df16ea0f61cd613e94037998
-Patch0:                %{name}-am.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/at-spi/1.6/%{name}-%{version}.tar.bz2
+# Source0-md5: be8b3077e2fab51a427303f228dffc2e
 URL:           http://developer.gnome.org/projects/gap/
-BuildRequires: atk-devel >= 1.4.0
+BuildRequires: ORBit2-devel
+BuildRequires: atk-devel >= 1:1.9.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gail-devel >= 1.4.0
-BuildRequires: gnome-common
+BuildRequires: gail-devel >= 1.8.1
+BuildRequires: gnome-common >= 2.8.0
 BuildRequires: gtk-doc >= 1.1
-BuildRequires: gtk+2-devel >= 2.2.3
-BuildRequires: libbonobo-devel >= 2.4.0
+BuildRequires: gtk+2-devel >= 2:2.6.3
+BuildRequires: intltool
+BuildRequires: libbonobo-devel >= 2.8.0
 BuildRequires: libtool
-BuildRequires: popt-devel
+BuildRequires: pkgconfig
 BuildRequires: rpm-build >= 4.1-10
 BuildRequires: xft-devel >= 2.1
 Obsoletes:     libat-spi1
@@ -41,8 +45,13 @@ wsp
 Summary:       at-spi development files
 Summary(pl):   Pliki programistyczne at-spi
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Requires:      ORBit2-devel
+Requires:      atk-devel >= 1:1.9.0
+Requires:      gail-devel >= 1.8.1
+Requires:      gtk+2-devel >= 2:2.6.3
 Requires:      gtk-doc-common
+Requires:      libbonobo-devel >= 2.8.0
 Obsoletes:     libat-spi1-devel
 
 %description devel
@@ -55,7 +64,7 @@ Pliki programistyczne at-spi.
 Summary:       at-spi static library
 Summary(pl):   Statyczna biblioteka at-spi
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 at-spi static library.
@@ -65,16 +74,17 @@ Statyczna biblioteka at-spi.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
 %{__automake}
 %{__autoconf}
 %configure \
-       --enable-static
-
+       --enable-static \
+       --enable-gtk-doc \
+       --with-html-dir=%{_gtkdocdir} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -90,8 +100,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/{gtk-2.0/modules,orbit-2.0}/*.{la,a}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -110,6 +120,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_gtkdocdir}/*
 %{_pkgconfigdir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
This page took 0.054749 seconds and 4 git commands to generate.