%define majver %(echo %version | cut -d. -f 1-2) %define pkgname gedit-plugins Name: gedit-plugins Version: 3.12.1 Release: 1mamba Summary: A set of plugins for gedit Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://www.gnome.org/projects/gedit/ Source: http://ftp.gnome.org/pub/GNOME/sources/gedit-plugins/%{majver}/gedit-plugins-%{version}.tar.xz License: GPL BuildRequires: pygtk-devel BuildRequires: libglade-devel BuildRequires: libgnomeui-devel BuildRequires: libgnomeprintui-devel BuildRequires: libgtksourceview BuildRequires: gedit-devel ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: gedit BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{pkgname} are a set of plugins for gedit. %prep %setup -q %build %configure --disable-schemas-install ###--with-plugins=all ###--disable-scrollkeeper %make %{?_smp_mflags} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" ##export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall DESTDIR=%{buildroot} ##unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %{__rm} -f %{buildroot}%{_libdir}/gedit-2/*.la %{__rm} -f %{buildroot}%{_libdir}/gedit-2/*.py %find_lang %{pkgname} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{pkgname}.lang %defattr(-,root,root) %dir %{_libdir}/gedit/plugins/ %{_libdir}/gedit/plugins/* %dir %{_datadir}/gedit/plugins %dir %{_datadir}/gedit/plugins/colorschemer %dir %{_datadir}/gedit/plugins/colorschemer/ui %{_datadir}/gedit/plugins/colorschemer/ui/schemer.ui %dir %{_datadir}/gedit/plugins/commander %dir %{_datadir}/gedit/plugins/commander/modules %{_datadir}/gedit/plugins/commander/modules/* %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml #%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.wordcompletion.gschema.xml %dir %{_datadir}/help/*/gedit %{_datadir}/help/*/gedit/* %doc AUTHORS COPYING #ChangeLog NEWS README %changelog * Tue Apr 15 2014 Automatic Build System 3.12.1-1mamba - automatic version update by autodist * Wed Dec 04 2013 Automatic Build System 3.10.1-1mamba - automatic version update by autodist * Thu Oct 31 2013 Automatic Build System 3.10.0-1mamba - automatic version update by autodist * Wed Jun 05 2013 Automatic Build System 3.9.1-1mamba - automatic version update by autodist * Sun May 26 2013 Automatic Build System 3.8.2-1mamba - automatic version update by autodist * Tue Apr 16 2013 Automatic Build System 3.8.1-1mamba - automatic version update by autodist * Sun Apr 14 2013 Automatic Build System 3.8.0-1mamba - automatic version update by autodist * Wed Oct 24 2012 Automatic Build System 3.6.1-1mamba - update to 3.6.1 * Fri Nov 12 2010 Silvan Calarco 2.32.0-1mamba - update to 2.32.0 * Sat Sep 26 2009 Automatic Build System 2.28.0-1mamba - automatic update to 2.28.0 by autodist * Wed Jul 29 2009 Automatic Build System 2.26.3-1mamba - automatic update by autodist * Tue May 19 2009 Automatic Build System 2.26.2-1mamba - automatic update by autodist * Sun Apr 19 2009 Automatic Build System 2.26.1-1mamba - automatic update by autodist * Mon Mar 30 2009 Silvan Calarco 2.26.0-1mamba - update to 2.26.0 * Tue May 20 2008 gil 2.22.2-1mamba - package created by autospec