tecla/tecla.spec

57 lines
1.4 KiB
RPMSpec
Raw Normal View History

Name: tecla
Version: 45.0
Release: 1mamba
Summary: A keyboard layout viewer
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 45.0-1mamba
- package created using the webbuild interface