288 lines
8.4 KiB
RPMSpec
288 lines
8.4 KiB
RPMSpec
Name: ibus
|
|
Version: 1.5.24
|
|
Release: 1mamba
|
|
Summary: Intelligent Input Bus for Linux / Unix OS
|
|
Group: System/Servers
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://code.google.com/p/ibus/
|
|
Source: https://github.com/ibus/ibus.git/%{version}/ibus-%{version}.tar.bz2
|
|
Patch0: ibus-1.5.23-vala-0.50.2.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXi-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libbrotli-devel
|
|
BuildRequires: libbsd-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdconf-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libwayland-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: libxkbcommon-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: gnome-common
|
|
BuildRequires: unicode-emoji
|
|
BuildRequires: unicode-ucd
|
|
BuildRequires: cldr-emoji-annotation
|
|
BuildRequires: python
|
|
BuildRequires: python3
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
Intelligent Input Bus for Linux / Unix OS.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n python-ibus
|
|
Group: System/Libraries
|
|
Summary: Python bindings for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: python-dbus
|
|
|
|
%description -n python-ibus
|
|
Python bindings for %{name}.
|
|
|
|
%package -n python-ibus-py3
|
|
Group: System/Libraries
|
|
Summary: Python 3 bindings for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: python-dbus-py3
|
|
|
|
%description -n python-ibus-py3
|
|
Python 3 bindings for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: %{name} API documentation
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gtk-doc
|
|
|
|
%description apidocs
|
|
This package includes the %{name} API documentation.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
|
|
./autogen.sh
|
|
|
|
sed -i "s|/usr/bin/python$|%{__python3}|" engine/gensimple.py
|
|
|
|
%build
|
|
%configure \
|
|
--enable-dconf \
|
|
--enable-gtk-doc \
|
|
--enable-wayland \
|
|
--disable-memconf \
|
|
--enable-ui \
|
|
--with-python=%{__python3}
|
|
|
|
# --enable-python-library \
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang %{name}10 || touch %{name}10.lang
|
|
|
|
%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
|
|
:
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -f %{name}10.lang
|
|
%defattr(-,root,root)
|
|
%dir %{_sysconfdir}/dconf/db/ibus.d
|
|
%{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings
|
|
%{_sysconfdir}/dconf/profile/ibus
|
|
%{_bindir}/ibus
|
|
%{_bindir}/ibus-daemon
|
|
%{_bindir}/ibus-setup
|
|
%{_datadir}/bash-completion/completions/ibus.bash
|
|
%{_datadir}/gir-1.0/IBus-1.0.gir
|
|
%dir %{_datadir}/ibus
|
|
%dir %{_datadir}/ibus/component
|
|
%{_datadir}/ibus/component/*.xml
|
|
%{_datadir}/applications/org.freedesktop.IBus.*.desktop
|
|
%{_datadir}/dbus-1/services/org.freedesktop.IBus.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.portal.IBus.service
|
|
%{_datadir}/gettext/its/ibus.*
|
|
%dir %{_datadir}/ibus/dicts
|
|
%{_datadir}/ibus/dicts/*
|
|
%dir %{_datadir}/ibus/keymaps
|
|
%{_datadir}/ibus/keymaps/*
|
|
%dir %{_datadir}/ibus/setup
|
|
%{_datadir}/ibus/setup/*
|
|
%{_datadir}/icons/hicolor/*/apps/ibus-keyboard.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/ibus*.svg
|
|
%{_datadir}/GConf/gsettings/ibus.convert
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.ibus.gschema.xml
|
|
%{_mandir}/man1/ibus-daemon.1*
|
|
%{_mandir}/man1/ibus-setup.1*
|
|
%{_mandir}/man1/ibus.1*
|
|
%{_mandir}/man5/00-upstream-settings.5*
|
|
%{_mandir}/man5/ibus.5*
|
|
%{_mandir}/man7/ibus-emoji.7*
|
|
|
|
%ifnarch aarch64
|
|
%files -n python-%{name}
|
|
%defattr(-,root,root)
|
|
%{python_sitearch}/gi/overrides/*
|
|
|
|
%files -n python-%{name}-py3
|
|
%defattr(-,root,root)
|
|
%{python3_sitearch}/gi/overrides/*
|
|
%endif
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/gtk-2.0/2.10.0/immodules/im-ibus.la
|
|
%{_libdir}/gtk-2.0/2.10.0/immodules/im-ibus.so
|
|
%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.la
|
|
%{_libdir}/gtk-3.0/3.0.0/immodules/im-ibus.so
|
|
%{_libdir}/girepository-1.0/IBus-1.0.typelib
|
|
%{_libdir}/libibus-1.0.so.*
|
|
%{_libexecdir}/ibus-*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/ibus-1.0
|
|
%{_includedir}/ibus-1.0/*.h
|
|
%{_libdir}/libibus-1.0.la
|
|
%{_libdir}/libibus-1.0.so
|
|
%{_datadir}/vala/vapi/ibus-1.0.deps
|
|
%{_datadir}/vala/vapi/ibus-1.0.vapi
|
|
%{_libdir}/pkgconfig/ibus-1.0.pc
|
|
%doc ChangeLog README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/ibus
|
|
%{_datadir}/gtk-doc/html/ibus/*
|
|
|
|
%changelog
|
|
* Tue Mar 02 2021 Automatic Build System <autodist@mambasoft.it> 1.5.24-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.23-1mamba
|
|
- update to 1.5.23
|
|
|
|
* Fri Feb 21 2020 Automatic Build System <autodist@mambasoft.it> 1.5.22-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 18 2020 Automatic Build System <autodist@mambasoft.it> 1.5.21-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 22 2016 Automatic Build System <autodist@mambasoft.it> 1.5.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 20 2016 Automatic Build System <autodist@mambasoft.it> 1.5.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 16 2015 Automatic Build System <autodist@mambasoft.it> 1.5.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 1.5.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 17 2014 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jul 24 2014 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 30 2014 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
|
|
- update to 1.5.6
|
|
|
|
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 21 2013 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 27 2013 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.2-2mamba
|
|
- python 2.7 rebuild
|
|
|
|
* Fri Apr 19 2013 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 12 2012 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.4.99.20121109-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.99.20121006-1mamba
|
|
- update to 1.4.99.20121006
|
|
|
|
* Mon Oct 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
- package created by autospec
|