From c150eb593a9679e7193cb2494bcdb65dc33c6682 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 27 Jan 2024 20:18:36 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.0.13-1mamba;Sat Jan 27 2024] --- README.md | 1 + micro.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 micro.spec diff --git a/README.md b/README.md index ebdb507..513dc68 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # micro +A modern and intuitive terminal-based text editor. diff --git a/micro.spec b/micro.spec new file mode 100644 index 0000000..190df90 --- /dev/null +++ b/micro.spec @@ -0,0 +1,47 @@ +Name: micro +Version: 2.0.13 +Release: 1mamba +Summary: A modern and intuitive terminal-based text editor +Group: Applications/Text +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://micro-editor.github.io/ +Source: https://github.com/zyedidia/micro.git/v%{version}/micro-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END + +%description +A modern and intuitive terminal-based text editor. + +#% debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -D -m755 micro %{buildroot}%{_bindir}/micro +install -D -m644 assets/packaging/micro.1 %{buildroot}%{_mandir}/man1/micro.1 +install -D -m644 assets/packaging/micro.desktop %{buildroot}%{_datadir}/applications/micro.desktop +install -D -m644 assets/micro-logo-mark.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/micro.svg + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/micro +%{_datadir}/applications/micro.desktop +%{_datadir}/icons/hicolor/scalable/apps/micro.svg +%{_mandir}/man1/micro.1* +%doc LICENSE + +%changelog +* Sat Jan 27 2024 Silvan Calarco 2.0.13-1mamba +- package created using the webbuild interface