代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/mousepad 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。