1 Star 0 Fork 1

brucezhang/mousepad

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mousepad.spec 3.29 KB
一键复制 编辑 原始数据 按行查看 历史
brucezhang 提交于 2024-09-04 17:57 . Remove not used macors
%global minorversion 0.6
Name: mousepad
Version: 0.6.1
Release: 2%{?dist}
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
BuildRequires: make
BuildRequires: gcc
BuildRequires: xfce4-dev-tools
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: desktop-file-utils
BuildRequires: gtksourceview4-devel
BuildRequires: dbus-glib-devel
BuildRequires: glib2-devel
BuildRequires: libappstream-glib
BuildRequires: gspell-devel
BuildRequires: polkit-devel
%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
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
%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
%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/org.xfce.%{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}
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files -f %{name}.lang
%doc AUTHORS NEWS
%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/org.xfce.%{name}.*.xml
%{_datadir}/polkit-1/actions/org.xfce.mousepad.policy
%{_datadir}/icons/hicolor/*/*/*.%{name}*
%{_libdir}/%{name}/plugins
%files -n libmousepad0
%{_libdir}/libmousepad.*
%files devel
%{_libdir}/libmousepad.so
%changelog
* Tue Sep 3 2024 Ze Zhang <bbrucezhang@tencent.com> - 0.6.1-2
- [Type] other
- [DESC] Remove not used macors
* Fri Apr 12 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.6.1-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bbrucezhang/mousepad.git
git@gitee.com:bbrucezhang/mousepad.git
bbrucezhang
mousepad
mousepad
master

搜索帮助