diff --git a/FeatherPad-1.3.4.tar.gz b/FeatherPad-1.3.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7083822e85cfd5435e948dc70204cd6b380197eb Binary files /dev/null and b/FeatherPad-1.3.4.tar.gz differ diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 95e52e51ec4e7f812e9c62c79f4de3aa08e57692..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# featherpad - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### 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/) diff --git a/README.md b/README.md deleted file mode 100644 index 9580eb58b94e79dc36d818a1a5af9fb9bdf11890..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# featherpad - -#### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -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. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/featherpad.spec b/featherpad.spec new file mode 100644 index 0000000000000000000000000000000000000000..18f7418df37901cdb59d6357cb0eeecb740fc090 --- /dev/null +++ b/featherpad.spec @@ -0,0 +1,74 @@ +%define anolis_release 1 + +%global github_name FeatherPad + +Name: featherpad +Version: 1.3.4 +Release: %{anolis_release}%{?dist} +Summary: Lightweight Qt5 Plain-Text Editor + +License: GPLv3+ +URL: https://github.com/tsujan/%{github_name} +Source0: %{url}/archive/V%{version}.tar.gz#/%{github_name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qt5-qttools-devel +BuildRequires: qt5-qtx11extras-devel +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(hunspell) >= 1.6 +BuildRequires: pkgconfig(xext) + +Requires: hicolor-icon-theme + +%description +FeatherPad is a lightweight Qt5 plain-text editor for Linux. It is independent +of any desktop environment and has: + +* Drag-and-drop support, including tab detachment and attachment; +* X11 virtual desktop awareness (using tabs on current desktop but opening a + new window on another); +* An optionally permanent search-bar with a different search entry + for each tab; +* Instant highlighting of found matches when searching; +* A docked window for text replacement; +* Support for showing line numbers and jumping to a specific line; +* Automatic detection of text encoding as far as possible and optional saving + with encoding; +* Syntax highlighting for common programming languages; +* Printing; +* Text zooming; +* Appropriate but non-interrupting prompts; + +%prep +%autosetup -n %{github_name}-%{version} -p 1 + +%build +%cmake +%cmake_build + +%install +%cmake_install +%find_lang %{name} --with-qt + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop + +%files -f %{name}.lang +%license COPYING +%doc ChangeLog INSTALL NEWS README.md +%{_bindir}/* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/help +%{_datadir}/%{name}/help_* +%dir %{_datadir}/%{name}/translations +%{_datadir}/metainfo/featherpad.metainfo.xml + +%changelog +* Fri Jul 25 2025 NewStart - 1.3.4-1 +- First release.