-# TODO:
-# - rename to exo.spec (like tar name)
#
# Conditional build:
%bcond_without static_libs # don't build static library
#
Summary: Extension library to Xfce developed by os-cillation
Summary(pl.UTF-8): Biblioteka rozszerzeń do Xfce opracowana przez os-cillation
-Name: libexo
+Name: exo
Version: 0.3.100
Release: 1
License: GPL v2
Group: X11/Libraries
-Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/exo-%{version}.tar.bz2
+Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
# Source0-md5: ebded97ff55f43cd0fe6b16242992ecf
URL: http://www.os-cillation.com/
BuildRequires: autoconf >= 2.50
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: xfce4-dev-tools >= 4.6.0
+Provides: libexo
+Obsoletes: libexo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Summary(pl.UTF-8): Dokumentacja API libexo
Group: Documentation
Requires: gtk-doc-common
+Provides: libexo-apidocs
+Obsoletes: libexo-apidocs
%description apidocs
libexo API documentation.
Requires: gtk+2-devel >= 2:2.10.6
Requires: hal-devel >= 0.5.7
Requires: libxfce4util-devel >= %{xfce_version}
+Provides: libexo-devel
+Obsoletes: libexo-devel
%description devel
Header files for libexo library.
Summary(pl.UTF-8): Statyczna biblioteka libexo
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
+Provides: libexo-static
+Obsoletes: libexo-static
%description static
Static libexo library.
Pliki programistyczne wiązań Pythona do libexo.
%prep
-%setup -q -n exo-%{version}
+%setup -q
%build
%{__intltoolize}
%py_postclean
-%find_lang %{name}-0.3
+%find_lang libexo-0.3
%clean
rm -rf $RPM_BUILD_ROOT
%postun -n xfce-preferred-applications
%update_icon_cache hicolor
-%files -f %{name}-0.3.lang
+%files -f libexo-0.3.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog HACKING NEWS README TODO
%attr(755,root,root) %{_libdir}/libexo-0.3.so.*.*.*