Name: medit Version: 1.1.1 Release: %mkrel 2 Summary: Multiplatform GTK+2 text editor Group: Editors License: GPLv2+ URL: http://mooedit.sourceforge.net/ Source0: http://downloads.sourceforge.net/mooedit/%{name}-%{version}.tar.bz2 BuildRequires: gtk2-devel BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: python-devel BuildRequires: pygtk2.0-devel BuildRequires: libsm-devel BuildRequires: imagemagick Provides: mooedit = %{version}-%{release} %description medit is a programming and around-programming text editor. Started originally as a simple built-in editor component in GGAP, it grew up to a real text editor. Features: * Configurable syntax highlighting. * Configurable keyboard accelerators. * Plugins: can be written in C, Python, or Lua. * Configurable tools available from the main and context menus. They can be written in Python or Lua, or it can be a shell script. * Regular expression search/replace, grep frontend, builtin file selector, ... %prep %setup -q %build %configure2_5x --disable-install-hooks %make %install %makeinstall_std # more icon sizes, 48x48 is already installed by make install for size in 32x32 16x16; do mkdir -p %{buildroot}/%{_iconsdir}/hicolor/$size/apps; convert moo/mooutils/pixmaps/medit.png -scale $size %{buildroot}/%{_iconsdir}/hicolor/$size/apps/%{name}.png; done %find_lang medit-1 medit-1-gsv %files -f medit-1.lang %doc COPYING README %doc %{_defaultdocdir}/medit-1 %{_bindir}/medit %{_datadir}/applications/*.desktop %{_iconsdir}/hicolor/*/apps/* %{_mandir}/man1/medit.1.* %{_datadir}/medit-1/ %changelog * Sat Jan 12 2013 umeabot <umeabot> 1.1.1-2.mga3 + Revision: 359922 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Nov 12 2012 dams <dams> 1.1.1-1.mga3 + Revision: 317219 - new version 1.1.1 - update %%description - provide mooedit * Fri Jun 01 2012 dams <dams> 1.1.0-1.mga3 + Revision: 252659 - new version 1.1.0 * Sun Mar 13 2011 ahmad <ahmad> 1.0.1-1.mga1 + Revision: 70805 - update to 1.0.1 - drop cmake, upstream switched to autotools - - imported package medit