Blame SPECS/gedit-plugins.spec

7e665f
%if 0%{?fedora} > 12
7e665f
%global with_zeitgeist 1
7e665f
%global with_python3 1
7e665f
%else
7e665f
%global with_zeitgeist 0
7e665f
%global with_python3 0
7e665f
%endif
7e665f
7e665f
%if %{with_python3}
7e665f
%global __python %{__python3}
7e665f
%endif
7e665f
7e665f
Name:           gedit-plugins
7e665f
Version:        3.8.3
70e4cd
Release:        4%{?dist}
7e665f
Summary:        Plugins for gedit
7e665f
7e665f
Group:          Applications/Editors
7e665f
License:        GPLv2+
7e665f
URL:            http://live.gnome.org/GeditPlugins
7e665f
Source0:        ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/3.8/%{name}-%{version}.tar.xz
7e665f
Patch0:         gedit-plugins-disable-python3.patch
7e665f
7e665f
BuildRequires:  gedit-devel
7e665f
BuildRequires:  gnome-doc-utils
7e665f
BuildRequires:  perl(XML::Parser)
7e665f
BuildRequires:  gettext
7e665f
BuildRequires:  cairo-devel
7e665f
BuildRequires:  atk-devel
7e665f
%if %{with_python3}
7e665f
BuildRequires:  python3-devel
7e665f
BuildRequires:  python3-gobject
7e665f
%else
7e665f
BuildRequires:  python-devel
7e665f
%endif
7e665f
BuildRequires:  pygobject3-devel
7e665f
BuildRequires:  intltool
7e665f
BuildRequires:  libpeas-devel
7e665f
BuildRequires:  dbus-python-devel
7e665f
BuildRequires:  vte3-devel
7e665f
Requires:       gedit
7e665f
%if %{with_python3}
7e665f
Requires:       python3-gobject >= %{pygo_version}
7e665f
%endif
7e665f
# these are needed for gobject-introspection
7e665f
Requires:       vte3 >= 0.27.90-2.fc15
7e665f
Requires:       gucharmap >= 2.33.2-6.fc15
7e665f
7e665f
%description
7e665f
A collection of plugins for gedit.
7e665f
7e665f
7e665f
%prep
7e665f
%setup -q
7e665f
%if !%{with_python3}
7e665f
%patch0 -p1 -b .disable-python3
7e665f
%endif
7e665f
7e665f
%build
7e665f
%if %{with_zeitgeist}
7e665f
%configure --disable-schemas-install --enable-python
7e665f
%else
7e665f
%configure --disable-schemas-install --enable-python --with-plugins=bookmarks,bracketcompletion,charmap,codecomment,colorpicker,colorschemer,commander,drawspaces,joinlines,multiedit,smartspaces,synctex,terminal,textsize,wordcompletion
7e665f
%endif
7e665f
#--with-plugins=bracketcompletion,charmap,codecomment,colorpicker,drawspaces,joinlines,showtabbar,smartspaces,terminal,bookmarks
7e665f
make %{?_smp_mflags}
7e665f
7e665f
7e665f
%install
7e665f
make install DESTDIR=$RPM_BUILD_ROOT
7e665f
%find_lang %{name}
7e665f
find $RPM_BUILD_ROOT/%{_libdir}/gedit/plugins -name "*.la" -exec rm {} \;
7e665f
7e665f
7e665f
%postun
7e665f
if [ $1 -eq 0 ]; then
7e665f
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
7e665f
fi
7e665f
7e665f
7e665f
%posttrans
7e665f
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
7e665f
7e665f
7e665f
%check
7e665f
[ -f ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/terminal.py ]
7e665f
7e665f
7e665f
%files -f %{name}.lang
7e665f
%defattr(-,root,root,-)
7e665f
%doc README NEWS AUTHORS COPYING
7e665f
%{_libdir}/gedit/plugins/*
7e665f
%{_datadir}/gedit/plugins/*
7e665f
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml
7e665f
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml
7e665f
7e665f
7e665f
7e665f
%changelog
70e4cd
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.3-4
70e4cd
- Mass rebuild 2014-01-24
70e4cd
70e4cd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.3-3
70e4cd
- Mass rebuild 2013-12-27
70e4cd
7e665f
* Tue Jul 16 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.3-2
7e665f
- Drop the git plugin (we don't ship libgit2)
7e665f
7e665f
* Wed Jun 19 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.3-1
7e665f
- Update to 3.8.3
7e665f
7e665f
* Sun May 26 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.2-1
7e665f
- Update to 3.8.2
7e665f
7e665f
* Mon May  6 2013 Marek Kasik <mkasik@redhat.com> - 3.8.1-2
7e665f
- Make building of Zeitgeist plugins and usage of python3 conditional
7e665f
7e665f
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
7e665f
- Update to 3.8.1
7e665f
7e665f
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-2
7e665f
- Rebuilt for gtksourceview3 soname bump
7e665f
7e665f
* Mon Mar 25 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.8.0-1
7e665f
- Update to 3.8.0
7e665f
7e665f
* Sun Jan 27 2013 Ignacio Casal Quinteiro <icq@gnome.org> - 3.7.1-1
7e665f
- Update to 3.7.1
7e665f
7e665f
* Tue Oct 16 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.6.1-1
7e665f
- Update to 3.6.1
7e665f
7e665f
* Mon Sep 24 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.6.0-1
7e665f
- Update to 3.6.0
7e665f
7e665f
* Wed Sep 19 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.5.2-1
7e665f
- Update to 3.5.2
7e665f
7e665f
* Sat Aug 18 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.5.1-1
7e665f
- Update to 3.5.1
7e665f
7e665f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-3
7e665f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7e665f
7e665f
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.0-2
7e665f
- Silence rpm scriptlet output
7e665f
7e665f
* Mon Mar 26 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.4.0-1
7e665f
- Update to 3.4.0
7e665f
7e665f
* Wed Mar 07 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.4-1
7e665f
- Update to 3.3.4
7e665f
7e665f
* Sat Feb 25 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.3-1
7e665f
- Update to 3.3.3
7e665f
7e665f
* Tue Feb 07 2012 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.2-1
7e665f
- Update to 3.3.2
7e665f
7e665f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
7e665f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7e665f
7e665f
* Sat Dec 03 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.3.1-1
7e665f
- Update to 3.3.1
7e665f
7e665f
* Sun Oct 16 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.2.1-1
7e665f
- Update to 3.2.1
7e665f
7e665f
* Mon Sep 26 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.2.0-1
7e665f
- Update to 3.2.0
7e665f
- Bump pygobject to 3.0
7e665f
7e665f
* Thu Sep 20 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.5-1
7e665f
- Update to 3.1.5
7e665f
7e665f
* Thu Sep 06 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.4-1
7e665f
- Update to 3.1.4
7e665f
7e665f
* Thu Sep 01 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.3-1
7e665f
- Update to 3.1.3
7e665f
7e665f
* Tue Jul 05 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.1.2-1
7e665f
- Update to 3.1.2
7e665f
7e665f
* Thu Jun 16 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.1-1
7e665f
- Update to 3.1.1
7e665f
7e665f
* Wed May 18 2011 Ignacio Casal Quinteiro <icq@gnome.org> - 3.0.2-2
7e665f
- Remove useless deps
7e665f
7e665f
* Tue Apr 26 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.2-1
7e665f
- Update to 3.0.2
7e665f
7e665f
* Wed Apr 13 2011 Christopher Aillon <caillon@redhat.com> - 3.0.1-1
7e665f
- Update to 3.0.1
7e665f
7e665f
* Wed Apr  6 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.0-1
7e665f
- Update to 3.0.0
7e665f
7e665f
* Sun Mar 27 2011 Christopher Aillon <caillon@redhat.com> - 2.91.3-1
7e665f
- Update to 2.91.3
7e665f
7e665f
* Tue Mar  8 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.1-1
7e665f
- Update to 2.91.1
7e665f
7e665f
* Mon Feb 28 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-3
7e665f
- Rebuild against newer libpeas
7e665f
7e665f
* Thu Feb 24 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-2
7e665f
- Add runtime dependencies to make introspection work
7e665f
7e665f
* Tue Feb 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
7e665f
- Update to 2.91.90
7e665f
7e665f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31.6-3
7e665f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7e665f
7e665f
* Thu Oct  7 2010 Matthias Clasen <mclasen@redhat.com> 2.31.6-1
7e665f
- Rebuild against newer gucharmap
7e665f
7e665f
* Thu Sep 02 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.31.6-1
7e665f
- Updated to 2.31.6
7e665f
- FTBFS 599912
7e665f
7e665f
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.31.1-2
7e665f
- recompiling .py files against Python 2.7 (rhbz#623308)
7e665f
7e665f
* Wed May 19 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.31.1-1
7e665f
- Updated to 2.31.1
7e665f
7e665f
* Fri Apr 23 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.30.0-1
7e665f
- Updated to 2.30.0
7e665f
7e665f
* Wed Jan 27 2010 Rakesh Pandit <rakesh@fedoraproject.org> 2.29.4-1
7e665f
- Updated to 2.29.4
7e665f
7e665f
* Wed Dec 02 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.29.3-1
7e665f
- Updated to 2.29.3
7e665f
7e665f
* Mon Nov 09 2009 Rakesh Pandit <rakesh@fedoraproject.org> 2.28.0-1
7e665f
- Updated to 2.28.0
7e665f
7e665f
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.26.1-3
7e665f
- Use bzipped upstream tarball.
7e665f
7e665f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.1-2
7e665f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7e665f
7e665f
* Sat Apr 11 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.1-1
7e665f
- Update to upstream release 2..26.1
7e665f
- Fixes GNOME bugzilla bug #576766 - Crash when Configuring "Draw Spaces"
7e665f
- Make sure to remove all *.la files
7e665f
- Remove BuildRequire libgnomeui-devel as needless now
7e665f
7e665f
* Fri Apr 10 2009 Dodji Seketeli <dodji@redhat.org> - 2.26.0-1
7e665f
- Update to upstream release (2.26.1)
7e665f
- Add plugin files from %%{_datadir}
7e665f
- Don't check for vte anymore, the package checks it pkg-config
7e665f
- Add 'bookmarks' to the plugin set
7e665f
7e665f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22.3-4
7e665f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7e665f
7e665f
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.22.3-3
7e665f
- Rebuild for Python 2.6
7e665f
7e665f
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-2
7e665f
- Fixed buildrequires
7e665f
7e665f
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.3-1
7e665f
- Updated to 2.22.3
7e665f
7e665f
* Mon Sep 29 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 2.22.0-2
7e665f
- rebuild to pick latest gucharmap
7e665f
7e665f
* Tue Mar 18 2008 Trond Danielsen <trond.danielsen@gmail.com> - 2.22.0-1
7e665f
- Updated.
7e665f
7e665f
* Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-2
7e665f
- Disable buggy session saver plugin.
7e665f
- Removed static libraries.
7e665f
7e665f
* Sun Apr 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 2.18.0-1
7e665f
- Initial version.