X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=abiword.spec;h=bc28de7ed16b8bc814985eb62b4adfaf320768ef;hb=b0dc3a262c31702e371aff969615a3047fa19be9;hp=0645b7b0eb5343ed749e7b55175216d80621fa5a;hpb=def21bc3ad542216883a21501e6f3700c1d53088;p=packages%2Fabiword.git diff --git a/abiword.spec b/abiword.spec index 0645b7b..bc28de7 100644 --- a/abiword.spec +++ b/abiword.spec @@ -14,13 +14,13 @@ Summary: Multi-platform word processor Summary(pl.UTF-8): Wieloplatformowy procesor tekstu Name: abiword -Version: 2.8.2 -Release: 6 +Version: 2.8.6 +Release: 1 Epoch: 1 -License: GPL +License: GPL v2+ Group: X11/Applications/Editors Source0: http://www.abisource.com/downloads/abiword/%{version}/source/%{name}-%{version}.tar.gz -# Source0-md5: b44ffbebd5bd0f5f98f34dc8c688b4ed +# Source0-md5: f883b0a7f26229a9c66fd6a1a94381aa Patch0: %{name}-desktop.patch Patch1: %{name}-mht.patch Patch2: %{name}-libwpd.patch @@ -71,6 +71,7 @@ BuildRequires: pkgconfig >= 0.9.0 BuildRequires: popt-devel BuildRequires: psiconv-devel >= 0.9.6 BuildRequires: readline-devel +BuildRequires: sed >= 4.0 BuildRequires: t1lib-devel BuildRequires: wv-devel >= 1.2.1 Requires(post,postun): desktop-file-utils @@ -319,8 +320,8 @@ Jest to teczka clipartów używanych przez AbiWorda. %patch2 -p1 # use generic icon name -sed -i -e 's|abiword_48.png|abiword.png|' Makefile.am -sed -i -e 's|abiword_48|abiword|' src/wp/ap/gtk/ap_UnixFrameImpl.cpp +%{__sed} -i -e 's|abiword_48.png|abiword.png|' Makefile.am +%{__sed} -i -e 's|abiword_48|abiword|' src/wp/ap/gtk/ap_UnixFrameImpl.cpp mv abiword_48.png abiword.png %build @@ -351,7 +352,7 @@ rm -rf $RPM_BUILD_ROOT icondir=%{_pixmapsdir} # Remove useless files -rm -f $RPM_BUILD_ROOT%{_libdir}/abiword-%{mver}/plugins/*.la +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/abiword-%{mver}/plugins/*.la %clean rm -rf $RPM_BUILD_ROOT