]> git.pld-linux.org Git - packages/mousepad.git/commitdiff
up to 0.3.0, it is not dead! a complete rewrite in codebase
authorElan Ruusamäe <glen@delfi.ee>
Sat, 6 Apr 2013 17:39:21 +0000 (20:39 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 6 Apr 2013 17:53:01 +0000 (20:53 +0300)
mousepad-desktop.patch
mousepad.spec

index e16435600c8ebd729e5b29209ed9f2f38f176b0f..e29176a8d6208440ff6308cafa954b8b29192a6d 100644 (file)
@@ -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;
index 402aa488a8d860e743e364da0008f0992b9911bc..55d57e7370978f332a09bbf4ee3061a417b7b529 100644 (file)
@@ -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
This page took 2.076767 seconds and 4 git commands to generate.