]> 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 b684e44b6a82a861a54ecf4efb4bbbdd9cae12c5..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.4.2
+Version:       1.6.4
 Release:       2
-License:       LGPL
+License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.4/%{name}-%{version}.tar.bz2
-# Source0-md5: e36683a6e55fcb5ef2e6ef05806f9c3e
+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: perl-base
-BuildRequires: popt-devel
+BuildRequires: pkgconfig
 BuildRequires: rpm-build >= 4.1-10
 BuildRequires: xft-devel >= 2.1
 Obsoletes:     libat-spi1
@@ -42,9 +46,12 @@ Summary:     at-spi development files
 Summary(pl):   Pliki programistyczne at-spi
 Group:         X11/Development/Libraries
 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:      gtk+2-devel
-Requires:      libbonobo-devel
+Requires:      libbonobo-devel >= 2.8.0
 Obsoletes:     libat-spi1-devel
 
 %description devel
@@ -70,14 +77,14 @@ Statyczna biblioteka at-spi.
 
 %build
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
 %{__automake}
 %{__autoconf}
 %configure \
        --enable-static \
        --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir}
-
+       --with-html-dir=%{_gtkdocdir} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -93,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)
@@ -113,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.130711 seconds and 4 git commands to generate.