-diff -urN mousepad-0.2.16/mousepad.desktop.in mousepad-0.2.16.new/mousepad.desktop.in
---- mousepad-0.2.16/mousepad.desktop.in 2008-06-27 22:01:33.000000000 +0200
-+++ mousepad-0.2.16.new/mousepad.desktop.in 2009-02-27 23:23:30.000000000 +0100
-@@ -1,7 +1,6 @@
+--- mousepad-0.3.0/mousepad.desktop.in.in~ 2012-12-30 13:04:01.000000000 +0200
++++ mousepad-0.3.0/mousepad.desktop.in.in 2013-04-06 20:36:48.664344689 +0300
+@@ -1,6 +1,4 @@
+-
[Desktop Entry]
- Version=1.0
- Type=Application
-Encoding=UTF-8
_Name=Mousepad
- _Comment=Simple text editor
+ _Comment=Simple Text Editor
_GenericName=Text Editor
-@@ -9,5 +8,5 @@
- Icon=mousepad
- StartupNotify=true
+@@ -9,5 +7,5 @@
Terminal=false
--MimeType=text/plain
+ StartupNotify=true
+ Type=Application
-Categories=Application;Utility;TextEditor;GTK;
-+MimeType=text/plain;
+-MimeType=text/plain
+Categories=X-XFCE;Utility;TextEditor;GTK;
++MimeType=text/plain;
-#
%define xfce_version 4.6.0
-#
Summary: Text editor for Xfce based on Leafpad
Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie
Name: mousepad
-Version: 0.2.16
-Release: 4
-License: GPL v2
+Version: 0.3.0
+Release: 1
+License: GPL v2+
Group: X11/Applications/Editors
-Source0: http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: d98854edb76d823ac20b266fdf5a64a1
+Source0: http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2
+# Source0-md5: dcfcdfaa8a19c89f35d5f6f64753e6e1
Patch0: %{name}-desktop.patch
URL: http://www.xfce.org/projects/mousepad/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: gtk+2-devel >= 2:2.20.0
+BuildRequires: gtksourceview2-devel >= 2.2.2
BuildRequires: intltool >= 0.35.0
BuildRequires: libtool
BuildRequires: libxfcegui4-devel >= %{xfce_version}
%setup -q
%patch0 -p1
+%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
%build
%{__intltoolize}
%{__libtoolize}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
-
%find_lang %{name}
%clean
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/mousepad
%{_desktopdir}/mousepad.desktop
-%{_pixmapsdir}/mousepad.png