commit 5fc38ec8aa6eac152facd9733fc315ffa9f05ddf
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Apr 6 20:39:21 2013 +0300

    up to 0.3.0, it is not dead! a complete rewrite in codebase

 mousepad-desktop.patch | 22 ++++++++++------------
 mousepad.spec          | 21 +++++++++------------
 2 files changed, 19 insertions(+), 24 deletions(-)
---
diff --git a/mousepad.spec b/mousepad.spec
index 402aa48..55d57e7 100644
--- a/mousepad.spec
+++ b/mousepad.spec
@@ -1,21 +1,20 @@
-#
 %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}
@@ -42,6 +41,8 @@ pięknego drukowania dokumentów takich jak skrypty powłoki.
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
 %build
 %{__intltoolize}
 %{__libtoolize}
@@ -54,12 +55,9 @@ pięknego drukowania dokumentów takich jak skrypty powłoki.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,}
-
 %find_lang %{name}
 
 %clean
@@ -73,4 +71,3 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/mousepad
 %{_desktopdir}/mousepad.desktop
-%{_pixmapsdir}/mousepad.png
diff --git a/mousepad-desktop.patch b/mousepad-desktop.patch
index e164356..e29176a 100644
--- a/mousepad-desktop.patch
+++ b/mousepad-desktop.patch
@@ -1,19 +1,17 @@
-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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mousepad.git/commitdiff/5fc38ec8aa6eac152facd9733fc315ffa9f05ddf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to