X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gedit-plugins.spec;h=4ce8c90fbf58464cecab4647b37589ba80bf129a;hb=7dea21bb650ee9c1457abdf821c92ae2475e8984;hp=b1fb05110f81e35250696fc9259f5bd871a3109b;hpb=568837b2812f8af1035daacaa038306ba6c8c5dd;p=packages%2Fgedit-plugins.git diff --git a/gedit-plugins.spec b/gedit-plugins.spec index b1fb051..4ce8c90 100644 --- a/gedit-plugins.spec +++ b/gedit-plugins.spec @@ -1,40 +1,38 @@ Summary: gedit plugins Summary(pl.UTF-8): Wtyczki dla gedita Name: gedit-plugins -Version: 2.22.5 +Version: 3.0.0 Release: 1 License: GPL v2 Group: X11/Applications/Editors -Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit-plugins/2.22/%{name}-%{version}.tar.bz2 -# Source0-md5: c2104d56b7aa78e14395648f8e235306 -Patch0: %{name}-configure_fix.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit-plugins/3.0/%{name}-%{version}.tar.bz2 +# Source0-md5: dbd87535328cd820e6625afb7b1abdfe URL: http://www.gnome.org/projects/gedit/ -BuildRequires: GConf2-devel >= 2.24.0 -BuildRequires: autoconf >= 2.59 -BuildRequires: automake >= 1:1.8 -BuildRequires: gedit2-devel >= 2.24.0 -BuildRequires: gettext-devel -BuildRequires: glib2-devel >= 1:2.16.1 -BuildRequires: gnome-doc-utils >= 0.14.0 -BuildRequires: gnome-vfs2-devel >= 2.24.0 -BuildRequires: gtksourceview2-devel >= 2.2.0 -BuildRequires: gucharmap-devel >= 2.24.0 -BuildRequires: intltool >= 0.36.1 -BuildRequires: libglade2-devel >= 1:2.6.2 -BuildRequires: libtool +BuildRequires: autoconf >= 2.63 +BuildRequires: automake >= 1:1.11 +BuildRequires: gedit2-devel >= 3.0.0 +BuildRequires: gettext-devel >= 0.17 +BuildRequires: glib2-devel >= 1:2.26.0 +BuildRequires: gtk+3-devel >= 3.0.0 +BuildRequires: gtksourceview3-devel >= 3.0.0 +BuildRequires: intltool >= 0.40.0 +BuildRequires: libpeas-devel >= 1.0.0 +BuildRequires: libpeas-gtk-devel >= 1.0.0 +BuildRequires: libtool >= 2:2.2 BuildRequires: pkgconfig -BuildRequires: python-gtksourceview2-devel >= 2.2.0 -BuildRequires: python-pygtk-devel >= 2:2.12.0 -BuildRequires: python-vte >= 0.16.8 +BuildRequires: python +BuildRequires: python-dbus-devel >= 0.82 BuildRequires: rpm-build >= 4.1-10 +BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.234 -Requires(post,preun): GConf2 -Requires: gedit2 >= 2.24.0 -Requires: python-gnome-gconf >= 2.22.0 -Requires: python-gnome-vfs >= 2.22.0 -Requires: python-pygtk-glade >= 2:2.12.0 -Requires: python-pygtk-gtk >= 2:2.12.0 -Requires: python-vte >= 0.16.8 +Requires: gedit2 >= 3.0.0 +Requires: gtksourceview3 >= 3.0.0 +Requires: gucharmap-libs >= 3.0.0 +Requires: libpeas-loader-python +Requires: python-dbus >= 0.82 +Requires: python-pycairo +Requires: python-pygobject >= 2.16.0 +Requires: python-pygtk-gtk >= 2:2.14.0 # sr@Latn vs. sr@latin Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -47,7 +45,6 @@ Zestaw wtyczek dla gedita. %prep %setup -q -%patch0 -p1 %build %{__intltoolize} @@ -57,7 +54,8 @@ Zestaw wtyczek dla gedita. %{__autoheader} %{__automake} %configure \ - --enable-python + --enable-python \ + --disable-silent-rules %{__make} %install @@ -67,9 +65,9 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT # Remove not needed files -rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.la -%py_postclean %{_libdir}/gedit-2/plugins +%py_postclean %{_libdir}/gedit/plugins %find_lang %{name} @@ -77,36 +75,76 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.la rm -rf $RPM_BUILD_ROOT %post -%gconf_schema_install gedit-show-tabbar-plugin.schemas +%glib_compile_schemas -%preun -%gconf_schema_uninstall gedit-show-tabbar-plugin.schemas +%postun +%glib_compile_schemas %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog -%attr(755,root,root) %{_libdir}/gedit-2/plugins/libcharmap.so -%attr(755,root,root) %{_libdir}/gedit-2/plugins/libshowtabbar.so -%{_libdir}/gedit-2/plugins/bracketcompletion.gedit-plugin -%{_libdir}/gedit-2/plugins/bracketcompletion.py[co] -%{_libdir}/gedit-2/plugins/charmap.gedit-plugin -%{_libdir}/gedit-2/plugins/codecomment.gedit-plugin -%{_libdir}/gedit-2/plugins/codecomment.py[co] -%{_libdir}/gedit-2/plugins/colorpicker.gedit-plugin -%{_libdir}/gedit-2/plugins/colorpicker.py[co] -%{_libdir}/gedit-2/plugins/drawspaces.gedit-plugin -%{_libdir}/gedit-2/plugins/drawspaces.glade -%{_libdir}/gedit-2/plugins/drawspaces.py[co] -%{_libdir}/gedit-2/plugins/gpdefs.py[co] -%{_libdir}/gedit-2/plugins/joinlines.gedit-plugin -%{_libdir}/gedit-2/plugins/joinlines.py[co] -%{_libdir}/gedit-2/plugins/sessionsaver.gedit-plugin -%{_libdir}/gedit-2/plugins/showtabbar.gedit-plugin -%{_libdir}/gedit-2/plugins/smartspaces.gedit-plugin -%{_libdir}/gedit-2/plugins/smartspaces.py[co] -%{_libdir}/gedit-2/plugins/terminal.gedit-plugin -%{_libdir}/gedit-2/plugins/terminal.py[co] -%dir %{_libdir}/gedit-2/plugins/sessionsaver -%{_libdir}/gedit-2/plugins/sessionsaver/sessionsaver.glade -%{_libdir}/gedit-2/plugins/sessionsaver/*.py[co] -%{_sysconfdir}/gconf/schemas/gedit-show-tabbar-plugin.schemas +%attr(755,root,root) %{_libdir}/gedit/plugins/libbookmarks.so +%{_libdir}/gedit/plugins/bookmarks.plugin +%{_datadir}/gedit/plugins/bookmarks + +%{_libdir}/gedit/plugins/bracketcompletion.plugin +%{_libdir}/gedit/plugins/bracketcompletion.py[co] + +%{_libdir}/gedit/plugins/charmap.plugin +%dir %{_libdir}/gedit/plugins/charmap +%{_libdir}/gedit/plugins/charmap/*.py[co] + +%{_libdir}/gedit/plugins/codecomment.plugin +%{_libdir}/gedit/plugins/codecomment.py[co] + +%{_libdir}/gedit/plugins/colorpicker.plugin +%{_libdir}/gedit/plugins/colorpicker.py[co] + +%{_libdir}/gedit/plugins/commander.plugin +%dir %{_libdir}/gedit/plugins/commander +%dir %{_libdir}/gedit/plugins/commander/commands +%{_libdir}/gedit/plugins/commander/*.py[co] +%{_libdir}/gedit/plugins/commander/commands/*.py[co] +%{_datadir}/gedit/plugins/commander + +%attr(755,root,root) %{_libdir}/gedit/plugins/libdrawspaces.so +%{_libdir}/gedit/plugins/drawspaces.plugin +%{_datadir}/gedit/plugins/drawspaces + +%{_libdir}/gedit/plugins/gpdefs.py[co] + +%{_libdir}/gedit/plugins/joinlines.plugin +%{_libdir}/gedit/plugins/joinlines.py[co] + +%{_libdir}/gedit/plugins/multiedit.plugin +%dir %{_libdir}/gedit/plugins/multiedit +%{_libdir}/gedit/plugins/multiedit/*.py[co] + +%{_libdir}/gedit/plugins/sessionsaver.plugin +%dir %{_libdir}/gedit/plugins/sessionsaver +%{_libdir}/gedit/plugins/sessionsaver/*.py[co] +%{_datadir}/gedit/plugins/sessionsaver + +%{_libdir}/gedit/plugins/smartspaces.plugin +%{_libdir}/gedit/plugins/smartspaces.py[co] + +%{_libdir}/gedit/plugins/synctex.plugin +%dir %{_libdir}/gedit/plugins/synctex +%{_libdir}/gedit/plugins/synctex/*.py[co] + +%attr(755,root,root) %{_libdir}/gedit/plugins/libtaglist.so +%{_libdir}/gedit/plugins/taglist.plugin +%{_datadir}/gedit/plugins/taglist + +%{_libdir}/gedit/plugins/terminal.plugin +%{_libdir}/gedit/plugins/terminal.py[co] + +%{_libdir}/gedit/plugins/textsize.plugin +%dir %{_libdir}/gedit/plugins/textsize +%{_libdir}/gedit/plugins/textsize/*.py[co] + +%{_libdir}/gedit/plugins/wordcompletion.plugin +%attr(755,root,root) %{_libdir}/gedit/plugins/libwordcompletion.so + +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.drawspaces.gschema.xml +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.terminal.gschema.xml