mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
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:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "mate-tweak.spec"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("ubuntu-mate/mate-tweak"));
|
||||
Reference in New Issue
Block a user