59 lines
1.6 KiB
RPMSpec
59 lines
1.6 KiB
RPMSpec
|
Name: terminator
|
||
|
Version: 2.1.1
|
||
|
Release: 1mamba
|
||
|
Summary: Multiple GNOME terminals in one window
|
||
|
Group: Graphical Desktop/Applications/Utilities
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://gnome-terminator.org/
|
||
|
Source: https://github.com/gnome-terminator/terminator.git/v%{version}/terminator-%{version}.tar.bz2
|
||
|
Patch0: terminator-2.1.1-0001-fixed-validate-module-import-for-newer-version-of-co.patch
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: libpython3-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
Multiple GNOME terminals in one window.
|
||
|
|
||
|
#% debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1 -b .0001-fixed-validate-module-import-for-newer-version-of-co
|
||
|
|
||
|
%build
|
||
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%{__python3} setup.py install \
|
||
|
-O1 --skip-build \
|
||
|
--root="%{buildroot}" \
|
||
|
--install-headers=%{python3_inc} \
|
||
|
--install-lib=%{python3_sitearch} \
|
||
|
--record=%{name}.filelist
|
||
|
|
||
|
%find_lang %{name} || touch %{name}.lang
|
||
|
|
||
|
sed -i "/share\/man/d" %{name}.filelist
|
||
|
|
||
|
rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}.filelist
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{python3_sitearch}/terminatorlib
|
||
|
%{python3_sitearch}/terminatorlib/*
|
||
|
%{_mandir}/man1/terminator.1*
|
||
|
%{_mandir}/man5/terminator_config.5*
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Fri Mar 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
|
||
|
- package created using the webbuild interface
|