From 6110f65780bb4a2f35fe4f82313cde946779f2e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 31 Mar 2015 22:10:27 +0200 Subject: [PATCH] - up to 0.4.0 --- mousepad-desktop.patch | 14 +++----------- mousepad.spec | 15 +++++++++------ 2 files changed, 12 insertions(+), 17 deletions(-) diff --git a/mousepad-desktop.patch b/mousepad-desktop.patch index e29176a..19093e7 100644 --- a/mousepad-desktop.patch +++ b/mousepad-desktop.patch @@ -1,17 +1,9 @@ --- 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] --Encoding=UTF-8 - _Name=Mousepad - _Comment=Simple Text Editor - _GenericName=Text Editor -@@ -9,5 +7,5 @@ +@@ -8,5 +8,5 @@ Terminal=false StartupNotify=true Type=Application --Categories=Application;Utility;TextEditor;GTK; --MimeType=text/plain +-Categories=Utility;TextEditor;GTK; +Categories=X-XFCE;Utility;TextEditor;GTK; -+MimeType=text/plain; + MimeType=text/plain; diff --git a/mousepad.spec b/mousepad.spec index cc71478..4499eb1 100644 --- a/mousepad.spec +++ b/mousepad.spec @@ -1,23 +1,23 @@ Summary: Text editor for Xfce based on Leafpad Summary(pl.UTF-8): Edytor tekstu dla Xfce oparty na Leafpadzie Name: mousepad -Version: 0.3.0 -Release: 2 +Version: 0.4.0 +Release: 1 License: GPL v2+ Group: X11/Applications/Editors -Source0: http://archive.xfce.org/src/apps/mousepad/0.3/%{name}-%{version}.tar.bz2 -# Source0-md5: dcfcdfaa8a19c89f35d5f6f64753e6e1 +Source0: http://archive.xfce.org/src/apps/mousepad/0.4/%{name}-%{version}.tar.bz2 +# Source0-md5: f55314c5dda6323883241e6cf01550a7 Patch0: %{name}-desktop.patch URL: http://www.xfce.org/projects/mousepad/ BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: gettext-tools -BuildRequires: gtk+2-devel >= 2:2.20.0 +BuildRequires: gtk+2-devel >= 2:2.24.0 BuildRequires: gtksourceview2-devel >= 2.2.2 BuildRequires: intltool >= 0.35.0 BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.9.0 -BuildRequires: xfce4-dev-tools >= 4.6.0 +BuildRequires: xfce4-dev-tools >= 4.12.0 Requires: desktop-file-utils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -39,6 +39,8 @@ pięknego drukowania dokumentów takich jak skrypty powłoki. %setup -q %patch0 -p1 +mkdir -p m4 + %{__sed} -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac %build @@ -69,3 +71,4 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/mousepad %{_desktopdir}/mousepad.desktop +%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml -- 2.43.0