# Conditional build:
%bcond_without apidocs # disable gtk-doc
%bcond_with static_libs # don't build static library
-#
+
%define xfce_version 4.10.0
-#
Summary: Extension library to Xfce developed by os-cillation
Summary(pl.UTF-8): Biblioteka rozszerzeń do Xfce opracowana przez os-cillation
Name: exo
-Version: 0.8.0
+Version: 0.10.2
Release: 1
License: GPL v2
Group: X11/Libraries
-Source0: http://archive.xfce.org/xfce/4.10/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 189bd19210e1d7d8601be1cdf27bf259
+Source0: http://archive.xfce.org/src/xfce/exo/0.10/%{name}-%{version}.tar.bz2
+# Source0-md5: c70f2a217811bfba2e62f938d4b8f748
URL: http://www.os-cillation.com/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%prep
%setup -q
+%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
%build
%{?with_apidocs:%{__gtkdocize}}
%{__intltoolize}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{tl_PH,tl}
# already exists as ur
-%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/exo}
%attr(755,root,root) %{_libdir}/xfce4/exo-1/exo-compose-mail-1
%attr(755,root,root) %{_libdir}/xfce4/exo-1/exo-helper-1
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/*.rc
-#%dir %{_datadir}/doc/exo
-#%dir %{_datadir}/doc/exo/html
-#%{_datadir}/doc/exo/html/exo-preferred-applications.css
-#%{_datadir}/doc/exo/html/C
-#%lang(bn) %{_datadir}/doc/exo/html/bn
-#%lang(ca) %{_datadir}/doc/exo/html/ca
-#%lang(da) %{_datadir}/doc/exo/html/da
-#%lang(de) %{_datadir}/doc/exo/html/de
-#%lang(el) %{_datadir}/doc/exo/html/el
-#%lang(es) %{_datadir}/doc/exo/html/es
-#%lang(fr) %{_datadir}/doc/exo/html/fr
-#%lang(gl) %{_datadir}/doc/exo/html/gl
-#%lang(id) %{_datadir}/doc/exo/html/id
-#%lang(it) %{_datadir}/doc/exo/html/it
-#%lang(ja) %{_datadir}/doc/exo/html/ja
-#%lang(pt) %{_datadir}/doc/exo/html/pt
-#%lang(pt_BR) %{_datadir}/doc/exo/html/pt_BR
-#%lang(ru) %{_datadir}/doc/exo/html/ru
-#%lang(sv) %{_datadir}/doc/exo/html/sv
-#%lang(tr) %{_datadir}/doc/exo/html/tr
-#%lang(ug) %{_datadir}/doc/exo/html/ug
-#%lang(zh_CN) %{_datadir}/doc/exo/html/zh_CN
%dir %{_datadir}/xfce4/helpers
%{_datadir}/xfce4/helpers/*.desktop
%{_desktopdir}/*.desktop