Summary: gedit plugins
Summary(pl): Wtyczki dla gedita
Name: gedit-plugins
-Version: 2.15.3
+Version: 2.15.4
Release: 1
License: GPL
Group: X11/Applications/Editors
Source0: http://ftp.gnome.org/pub/gnome/sources/gedit-plugins/2.15/%{name}-%{version}.tar.bz2
-# Source0-md5: 4182e0b3b522cb35e5348ce00c8aaa1d
-Patch0: %{name}-configure.patch
+# Source0-md5: 9fd2264eab6c4b7b3baa870bf3a573e5
URL: http://gedit.sourceforge.net/
BuildRequires: GConf2-devel >= 2.14.0
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gedit2-devel >= 2.3.5
-BuildRequires: glib2-devel >= 1:2.11.2
+BuildRequires: gedit2-devel >= 2.15.4
+BuildRequires: glib2-devel >= 1:2.12.0
BuildRequires: gucharmap-devel >= 1.6.0
BuildRequires: intltool >= 0.35
BuildRequires: libtool
-BuildRequires: python-gnome-desktop-devel >= 2.15.2
+BuildRequires: python-gnome-desktop-devel >= 2.15.4
BuildRequires: rpm-build >= 4.1-10
Requires(post,preun): GConf2 >= 2.14.0
-Requires: gedit2 >= 2.15.2
+Requires: gedit2 >= 2.15.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
-%patch0 -p1
%build
%{__intltoolize}
%{__autoconf}
%{__autoheader}
%{__automake}
+LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure \
--enable-python
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-# Remove obsoleted *.la files
+# Remove not needed files
rm -f $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/*.{la,py}
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
-#%find_lang %{name} --with-gnome --all-name
+%find_lang %{name} --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
%preun
%gconf_schema_uninstall gedit-show-tabbar-plugin.schemas
-#%files -f %{name}.lang
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog
%attr(755,root,root) %{_libdir}/gedit-2/plugins/*.so*