%define url_ver %(echo %{version} | cut -d "." -f -2) Name: regexxer Summary: Interactive search and replace tool Version: 0.10 Release: %mkrel 3 Group: Text tools License: GPLv2+ Url: http://www.gnome.org Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz Patch0: regexxer-0.10-buildfix.patch Patch1: regexxer-0.10-glib2.patch BuildRequires: intltool #for gtk-update-icon-cache BuildRequires: gtk+2 BuildRequires: gnome-common BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0.0 BuildRequires: pkgconfig(glibmm-2.4) >= 2.27.94 BuildRequires: pkgconfig(gtksourceviewmm-3.0) >= 2.91.5 %description regexxer is a nifty search/replace tool for the desktop user. %prep %setup -q %apply_patches %build NOCONFIGURE=yes gnome-autogen.sh %configure2_5x \ --disable-schemas-compile %make %install %makeinstall_std %find_lang %{name} %files -f %{name}.lang %doc README NEWS AUTHORS %{_bindir}/regexxer %{_datadir}/regexxer %{_datadir}/applications/regexxer.desktop %{_datadir}/glib-2.0/schemas/org.regexxer.gschema.xml %{_datadir}/icons/hicolor/*/apps/regexxer.* %changelog * Sat Jan 19 2013 fwang <fwang> 0.10-3.mga3 + Revision: 389689 - autogen - autoreconf - more patch - fix build with latest glib + umeabot <umeabot> - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + ovitters <ovitters> - clean spec * Thu Oct 06 2011 wally <wally> 0.10-1.mga2 + Revision: 152517 - imported package regexxer