Package init
This commit is contained in:
commit
1a05cc3b5a
BIN
libgnomekbd-3.26.1.tar.xz
Normal file
BIN
libgnomekbd-3.26.1.tar.xz
Normal file
Binary file not shown.
61
libgnomekbd.spec
Normal file
61
libgnomekbd.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
Name: libgnomekbd
|
||||||
|
Version: 3.26.1
|
||||||
|
Release: 1
|
||||||
|
Summary: GNOME Keyboard Library
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://www.gnome.org/
|
||||||
|
Source0: https://download.gnome.org/sources/libgnomekbd/3.26/libgnomekbd-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gtk3-devel cairo-devel libxklavier-devel desktop-file-utils
|
||||||
|
BuildRequires: chrpath gobject-introspection-devel gettext intltool
|
||||||
|
Obsoletes: libgnomekbd-capplet
|
||||||
|
|
||||||
|
%description
|
||||||
|
The libgnomekbd package contains a GNOME keyboard library, utility and applet.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files and Header files for %{name}
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-compile-warnings --enable-introspection
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%delete_la
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgnomekbdui.so.8.0.0
|
||||||
|
|
||||||
|
%check
|
||||||
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-display.desktop
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING.LIB
|
||||||
|
%{_bindir}/gkbd-keyboard-display
|
||||||
|
%{_libdir}/girepository-1.0/Gkbd-3.0.typelib
|
||||||
|
%{_libdir}/libgnomekbd*.so.*
|
||||||
|
%{_datadir}/locale/*
|
||||||
|
%{_datadir}/libgnomekbd/*
|
||||||
|
%{_datadir}/glib-2.0/*
|
||||||
|
%{_datadir}/GConf/*
|
||||||
|
%{_datadir}/applications/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.a
|
||||||
|
%{_libdir}/libgnomekbd*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%{_includedir}/libgnomekbd/*.h
|
||||||
|
%{_datadir}/gir-1.0/Gkbd-3.0.gir
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.26.1-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user