]> git.pld-linux.org Git - packages/exo.git/blobdiff - exo.spec
noarch apidocs
[packages/exo.git] / exo.spec
index 3e93c19b44719e40ddfc88c474c301ed75e8e7c5..7046af1e3a00ef1e593700055875f5cc2c618364 100644 (file)
--- a/exo.spec
+++ b/exo.spec
@@ -2,25 +2,25 @@
 # 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
-Release:       1
+Version:       0.10.4
+Release:       2
 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: fe54dad8b897af36628da46b33844f95
+Patch0:                mate-terminal.patch
 URL:           http://www.os-cillation.com/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gettext-devel
-BuildRequires: glib2-devel >= 1:2.27.0
-BuildRequires: gtk+2-devel >= 2:2.14.0
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.30.0
+BuildRequires: gtk+2-devel >= 2:2.24.0
 %{?with_apidocs:BuildRequires: gtk-doc >= 1.9}
 BuildRequires: gtk-doc-automake
 BuildRequires: intltool >= 0.35.0
@@ -64,6 +64,9 @@ Group:                Documentation
 Requires:      gtk-doc-common
 Provides:      libexo-apidocs
 Obsoletes:     libexo-apidocs
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 libexo API documentation.
@@ -103,6 +106,11 @@ Statyczna biblioteka libexo.
 
 %prep
 %setup -q
+%patch0 -p1
+
+%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
+mkdir -p m4
 
 %build
 %{?with_apidocs:%{__gtkdocize}}
@@ -122,15 +130,13 @@ Statyczna biblioteka libexo.
 
 %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}
 
@@ -166,8 +172,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/xfce4/helpers/*.desktop
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*/apps/preferences-desktop-default-applications.png
-%{_iconsdir}/hicolor/*/apps/applications-internet.png
-%{_iconsdir}/hicolor/*/apps/applications-other.png
+%{_iconsdir}/hicolor/*/categories/applications-internet.png
+%{_iconsdir}/hicolor/*/categories/applications-other.png
 %{_mandir}/man1/*.1*
 
 %if %{with apidocs}
This page took 0.974412 seconds and 4 git commands to generate.