commit
c0ee9fc114
BIN
mousepad-0.4.2.tar.bz2
Normal file
BIN
mousepad-0.4.2.tar.bz2
Normal file
Binary file not shown.
22
mousepad.appdata.xml
Normal file
22
mousepad.appdata.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<application>
|
||||||
|
<id type="desktop">mousepad.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<summary>Simple Text editor for Xfce Desktop Environment</summary>
|
||||||
|
<description>
|
||||||
|
<p>Mousepad is a simple, fast and easy-to-use text editor, designed to be
|
||||||
|
an application for the quick editing of text files. Mousepad has many
|
||||||
|
features, including: search and replace, font selection, word wrapping,
|
||||||
|
multi-line indenting, auto indenting, line number display and the
|
||||||
|
ability to print your text files.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://git.xfce.org/apps/mousepad/</url>
|
||||||
|
<url type="bugtracker">https://bugzilla.xfce.org/describecomponents.cgi?product=mousepad</url>
|
||||||
|
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/mousepad/a.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
|
||||||
|
<updatecontact>xfce4-dev@xfce.org</updatecontact>
|
||||||
|
</application>
|
||||||
84
mousepad.spec
Normal file
84
mousepad.spec
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
Name: mousepad
|
||||||
|
Version: 0.4.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Simple text editor for Xfce desktop environment
|
||||||
|
License: GPLv2+
|
||||||
|
#Group: Development/Libraries
|
||||||
|
URL: http://xfce.org/
|
||||||
|
Source0: http://archive.xfce.org/src/apps/%{name}/0.4/%{name}-%{version}.tar.bz2
|
||||||
|
Source1: %{name}.appdata.xml
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: dbus-glib-devel
|
||||||
|
BuildRequires: exo-devel
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: gtksourceview3-devel
|
||||||
|
BuildRequires: libxfce4util-devel
|
||||||
|
BuildRequires: xfconf-devel
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: libappstream-glib
|
||||||
|
|
||||||
|
%description
|
||||||
|
Mousepad aims to be an easy-to-use and fast editor. It's target is an editor for
|
||||||
|
quickly editing text files, not a development environment or an editor with a
|
||||||
|
huge bunch of plugins.
|
||||||
|
|
||||||
|
Mousepad is based on Leafpad. The initial reason for Mousepad was to provide
|
||||||
|
printing support, which would have been difficult for Leafpad for various
|
||||||
|
reasons.
|
||||||
|
|
||||||
|
Although some features are under development, currently Mousepad has following
|
||||||
|
the features:
|
||||||
|
* Complete support for UTF-8 text
|
||||||
|
* Cut/Copy/Paste and Select All text
|
||||||
|
* Search and Replace
|
||||||
|
* Font selecton
|
||||||
|
* Word Wrap
|
||||||
|
* Character coding selection
|
||||||
|
* Auto character coding detection (UTF-8 and some codesets)
|
||||||
|
* Manual codeset setting
|
||||||
|
* Infinite Undo/Redo by word
|
||||||
|
* Auto Indent
|
||||||
|
* Multi-line Indent
|
||||||
|
* Display line numbers
|
||||||
|
* Drag and Drop
|
||||||
|
* Printing
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--remove-category="Application" \
|
||||||
|
--delete-original \
|
||||||
|
--dir=%{buildroot}%{_datadir}/applications \
|
||||||
|
%{buildroot}/%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_metainfodir}
|
||||||
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_metainfodir}
|
||||||
|
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%doc AUTHORS NEWS README TODO THANKS
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/mousepad
|
||||||
|
%{_metainfodir}/%{name}.appdata.xml
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
|
||||||
|
%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.4.2-1
|
||||||
|
- Init package
|
||||||
Loading…
x
Reference in New Issue
Block a user