Compare commits

..

No commits in common. "3fd212dd308cb60c3472bf38f5300385db021bf8" and "c0ee9fc114269c35fc704c3c3c6a89d05acd0b6f" have entirely different histories.

7 changed files with 108 additions and 59 deletions

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# mousepad
#### Description
Simple text editor for Xfce desktop environment
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# mousepad
#### 介绍
Simple text editor for Xfce desktop environment
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
mousepad-0.4.2.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

22
mousepad.appdata.xml Normal file
View 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>

View File

@ -1,14 +1,14 @@
%global minorversion 0.5
Name: mousepad
Version: 0.5.10
Version: 0.4.2
Release: 1
Summary: Simple text editor for Xfce desktop environment
License: GPLv2+
URL: https://git.xfce.org/apps/mousepad/about/
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
#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
@ -47,23 +47,6 @@ the features:
* Drag and Drop
* Printing
%package -n libmousepad0
Summary: Mousepad plugin provider
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libmousepad0
A plugin provider for the Mousepad text editor
%package devel
Summary: Development files for Mousepad
Group: Development/Libraries
Requires: libmousepad0 >= %{version}
%Description devel
Development files for Mousepad plugin development
%prep
%autosetup
@ -80,47 +63,22 @@ desktop-file-install \
--remove-category="Application" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/org.xfce.%{name}.desktop
%{buildroot}/%{_datadir}/applications/%{name}.desktop
desktop-file-install \
--remove-category="Application" \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/org.xfce.%{name}-settings.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
%doc AUTHORS NEWS README TODO THANKS
%license COPYING
%{_bindir}/mousepad
%{_metainfodir}/org.xfce.%{name}.appdata.xml
%{_datadir}/applications/org.xfce.%{name}.desktop
%{_datadir}/applications/org.xfce.%{name}-settings.desktop
%{_datadir}/glib-2.0/schemas/
%{_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
%{_datadir}/icons/hicolor/*/*/*.%{name}*
%files -n libmousepad0
%{_libdir}/libmousepad.*
%files devel
%{_libdir}/libmousepad.so
%changelog
* Mon Jan 09 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 0.5.10-1
- update to 0.5.10
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.5.9-1
- Update to 0.5.9
* Thu Jun 23 2022 Dillon Chen <dillon.chen@gmail.com> - 0.5.8-1
- Update to 0.5.8
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.5.5-1
- Update to 0.5.5
- Split out devel and libmousepad0 library for plugins.
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.4.2-1
- Init package

View File

@ -1,4 +0,0 @@
version_control: git
src_repo: https://gitlab.xfce.org/apps/mousepad.git
tag_prefix: "mousepad-"
seperator: "."