add: mate-tweak (#651)

* add: mate-tweak

* oops, forgot anda.hcl

* and I need update.rhai

* a

* Update mate-tweak.spec

* fix: mate-tweak

* forgot macro as builddep

* well turns out we need to pip install distutils-extra-python

* intltool-update

* fix: debug_package

* fix files

* a?

* a? files

* fix files

* fix files
This commit is contained in:
madomado
2023-07-26 02:12:27 +08:00
committed by GitHub
parent f547e07832
commit 3fe587906a
3 changed files with 53 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "mate-tweak.spec"
}
}
+47
View File
@@ -0,0 +1,47 @@
%define debug_package %nil
Name: mate-tweak
Version: 22.10.0
Release: 1%?dist
Summary: Tweak tool for the MATE Desktop
License: GPL-2.0
URL: https://github.com/ubuntu-mate/mate-tweak
Source0: %url/archive/refs/tags/%version.tar.gz
Requires: python3
BuildRequires: python3dist(setuptools) rpm_macro(py3_build) intltool desktop-file-utils
%description
This is MATE Tweak, a fork of mintDesktop.
%prep
%autosetup
python3 -m ensurepip
python3 -m pip install distutils-extra-python
%build
%py3_build
%install
%py3_install
%check
desktop-file-validate %buildroot%_datadir/applications/*.desktop
%files
%doc README.md
%license COPYING
%_bindir/%name
%_bindir/marco-{compton,xrender,picom,glx,xr_glx_hybrid,no-composite}
%_prefix/lib/%name/
%_datadir/locale/*/LC_MESSAGES/%name.mo
%_mandir/man1/marco-{glx,no-composite,xr_glx_hybrid,xrender}.1.gz
%_mandir/man1/%name.1.gz
%_datadir/applications/%name.desktop
%_datadir/applications/marco-{glx,no-composite,xr_glx_hybrid,xrender}.desktop
%_datadir/polkit-1/actions/org.mate.%name.policy
%ghost %_prefix/lib/python3.11/site-packages/__pycache__
%ghost %_prefix/lib/python3.11/site-packages/setup.py
%ghost %_prefix/lib/python3.11/site-packages/mate_tweak-%version-py%python3_version.egg-info/
%changelog
%autochangelog
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("ubuntu-mate/mate-tweak"));