!2 初始化仓库
From: @wangtaozhi Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
ed4530eded
BIN
FeatherPad-1.3.5.tar.gz
Normal file
BIN
FeatherPad-1.3.5.tar.gz
Normal file
Binary file not shown.
72
featherpad.spec
Normal file
72
featherpad.spec
Normal file
@ -0,0 +1,72 @@
|
||||
%global github_name FeatherPad
|
||||
|
||||
Name: featherpad
|
||||
Version: 1.3.5
|
||||
Release: 1
|
||||
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
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_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
|
||||
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 1.3.5-1
|
||||
- Package init
|
||||
4
featherpad.yaml
Normal file
4
featherpad.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: https://github.com/tsujan/featherpad
|
||||
tag_prefix: "v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user