2024-01-06 04:26:11 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libgnomekbd
|
2024-01-06 04:26:11 +01:00
|
|
|
Version: 3.28.1
|
2024-01-06 04:26:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Gnome keyboard library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:26:11 +01:00
|
|
|
URL: https://www.gnome.org/
|
|
|
|
Source: https://download.gnome.org/sources/libgnomekbd/%{majver}/libgnomekbd-%{version}.tar.xz
|
2024-01-06 04:26:11 +01:00
|
|
|
Patch0: %{name}-2.26.0-libxklavier-4.0.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libX11-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-06 04:26:11 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libxklavier-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gnome keyboard library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gnome keyboard library.
|
2024-01-06 04:26:11 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:26:11 +01:00
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
%debug_package
|
2024-01-06 04:26:11 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
2024-01-06 04:26:11 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 04:26:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:26:11 +01:00
|
|
|
%meson_install
|
2024-01-06 04:26:11 +01:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gkbd-keyboard-display
|
|
|
|
%{_libdir}/libgnomekbd.so.*
|
|
|
|
%{_libdir}/libgnomekbdui.so.*
|
2024-01-06 04:26:11 +01:00
|
|
|
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
|
2024-01-06 04:26:11 +01:00
|
|
|
%{_datadir}/GConf/gsettings/libgnomekbd.convert
|
|
|
|
%{_datadir}/applications/gkbd-keyboard-display.desktop
|
2024-01-06 04:26:11 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.libgnomekbd*.gschema.xml
|
2024-01-06 04:26:11 +01:00
|
|
|
%dir %{_datadir}/libgnomekbd
|
|
|
|
%dir %{_datadir}/libgnomekbd/icons
|
2024-01-06 04:26:11 +01:00
|
|
|
%{_datadir}/libgnomekbd/icons/*.svg
|
2024-01-06 04:26:11 +01:00
|
|
|
%dir %{_datadir}/libgnomekbd/ui
|
|
|
|
%{_datadir}/libgnomekbd/ui/show-layout.ui
|
|
|
|
%doc AUTHORS COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libgnomekbd
|
|
|
|
%{_includedir}/libgnomekbd/*.h
|
2024-01-06 04:26:11 +01:00
|
|
|
%{_libdir}/libgnomekbd.so
|
|
|
|
%{_libdir}/libgnomekbdui.so
|
|
|
|
%{_datadir}/gir-1.0/Gkbd-3.0.gir
|
|
|
|
%{_libdir}/pkgconfig/libgnomekbd*.pc
|
2024-01-06 04:26:11 +01:00
|
|
|
%doc NEWS README
|
2024-01-06 04:26:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:26:11 +01:00
|
|
|
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
* Sun Aug 28 2022 Automatic Build System <autodist@mambasoft.it> 3.28.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
* Thu Feb 07 2019 Automatic Build System <autodist@mambasoft.it> 3.26.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 3.26.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:26:11 +01:00
|
|
|
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0.2-2mamba
|
|
|
|
- .typelib file moved from -devel to runtime library package
|
|
|
|
|
|
|
|
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0.2-1mamba
|
|
|
|
- update to 3.4.0.2
|
|
|
|
|
|
|
|
* Wed Sep 28 2011 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jul 24 2011 Automatic Build System <autodist@mambasoft.it> 3.0.0.1-1mamba
|
|
|
|
- automatic update to 3.0.3.0 by autodist
|
|
|
|
|
|
|
|
* Mon Oct 11 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
|
|
|
|
- automatic update to 2.32.0 by autodist
|
|
|
|
|
|
|
|
* Wed Jun 23 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
|
|
|
|
- automatic update to 2.30.2 by autodist
|
|
|
|
|
|
|
|
* Wed May 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1-1mamba
|
|
|
|
- update to 2.30.1
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 29 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
|
|
|
|
- update to 2.28.0
|
|
|
|
|
|
|
|
* Sun Jul 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
|
|
|
|
- package created by autospec
|