diff --git a/README.md b/README.md index a66e8ed..ffb527e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # tecla +Tecla is a keyboard layout viewer. +Tecla uses GTK/Libadwaita for UI, and libxkbcommon to deal with keyboard maps. + diff --git a/tecla.spec b/tecla.spec new file mode 100644 index 0000000..32146f2 --- /dev/null +++ b/tecla.spec @@ -0,0 +1,56 @@ +Name: tecla +Version: 45.0 +Release: 1mamba +Summary: A keyboard layout viewer +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.gnome.org/GNOME/tecla +Source: https://gitlab.gnome.org/GNOME/tecla.git/%{version}/tecla-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libadwaita-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libpango-devel +BuildRequires: libwayland-devel +BuildRequires: libxkbcommon-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +Tecla is a keyboard layout viewer. +Tecla uses GTK/Libadwaita for UI, and libxkbcommon to deal with keyboard maps. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/tecla +%{_datadir}/applications/org.gnome.Tecla.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Tecla.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Tecla-symbolic.svg +%{_datadir}/pkgconfig/tecla.pc +%doc LICENSE + +%changelog +* Sat Feb 10 2024 Silvan Calarco 45.0-1mamba +- package created using the webbuild interface