2024-01-05 17:40:00 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
%define apiver %{majver}.0
|
|
|
|
Name: scim
|
2024-01-05 17:40:00 +01:00
|
|
|
Version: 1.4.18
|
2024-02-14 11:06:58 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 17:40:00 +01:00
|
|
|
Summary: A user friendly, full featured input method user interface and more
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-14 11:06:58 +01:00
|
|
|
URL: https://adaptationsny.com/
|
2024-01-05 17:40:00 +01:00
|
|
|
Source: https://github.com/scim-im/scim.git/%{version}/scim-%{version}.tar.bz2
|
2024-01-05 17:40:00 +01:00
|
|
|
Source1: scim-xprofile
|
|
|
|
Source2: scim-sysconfig
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libX11-devel
|
2024-02-14 11:06:58 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libgtk2-devel
|
2024-02-14 11:06:58 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libltdl-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:40:00 +01:00
|
|
|
%ifnarch aarch64
|
2024-01-05 17:40:00 +01:00
|
|
|
BuildRequires: libqt4-devel
|
2024-01-05 17:40:00 +01:00
|
|
|
%endif
|
2024-01-05 17:40:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Smart Common Input Method (SCIM) platform project provides not only a user friendly, full featured input method user interface for POSIX-style operating systems (including Linux, FreeBSD and other Unix), but also a development platform to make input method development easier.
|
|
|
|
|
|
|
|
%package -n libscim
|
|
|
|
Summary: SCIM (Smart Common Input Method) libraries
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libscim
|
|
|
|
The Smart Common Input Method (SCIM) platform project provides not only a user friendly, full featured input method user interface for POSIX-style operating systems (including Linux, FreeBSD and other Unix), but also a development platform to make input method development easier.
|
|
|
|
|
|
|
|
%package -n libscim-devel
|
|
|
|
Summary: Devel package for libscim
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: libscim = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libscim-devel
|
|
|
|
The Smart Common Input Method (SCIM) platform project provides not only a user friendly, full featured input method user interface for POSIX-style operating systems (including Linux, FreeBSD and other Unix), but also a development platform to make input method development easier.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:40:00 +01:00
|
|
|
./bootstrap
|
2024-01-05 17:40:00 +01:00
|
|
|
|
|
|
|
%build
|
2024-02-14 11:06:58 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-qt3-immodule \
|
|
|
|
--disable-qt4-immodule \
|
2024-01-05 17:40:00 +01:00
|
|
|
%ifarch arm
|
|
|
|
CXXFLAGS="-DQ_NO_PACKED_POINTERS"
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/xprofile.d/scim.sh
|
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/scim
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n libscim
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
|
|
|
|
fi
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun -n libscim
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
|
|
|
|
fi
|
|
|
|
/sbin/ldconfig
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/scim/config
|
|
|
|
%config(noreplace) %{_sysconfdir}/scim/global
|
|
|
|
%{_sysconfdir}/xprofile.d/scim.sh
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/scim
|
|
|
|
%{_bindir}/scim
|
|
|
|
%{_bindir}/scim-config-agent
|
|
|
|
%{_bindir}/scim-im-agent
|
|
|
|
%{_bindir}/scim-setup
|
|
|
|
%dir %{_datadir}/scim
|
|
|
|
%{_datadir}/applications/scim-setup.desktop
|
|
|
|
%{_datadir}/control-center-2.0/capplets/scim-setup.desktop
|
|
|
|
%{_datadir}/pixmaps/scim-setup.png
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n libscim
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libscim-1.0.so.*
|
|
|
|
%{_libdir}/libscim-gtkutils-1.0.so.*
|
|
|
|
%{_libdir}/libscim-x11utils-1.0.so.*
|
|
|
|
%dir %{_libdir}/scim-1.0/%{apiver}
|
|
|
|
%{_libdir}/scim-1.0/%{apiver}/*/*.so
|
|
|
|
%{_libdir}/gtk-2.0/*/immodules/im-scim.so
|
|
|
|
%{_libdir}/gtk-3.0/*/immodules/im-scim.so
|
|
|
|
%{_libdir}/scim-1.0/scim-helper-launcher
|
|
|
|
%{_libdir}/scim-1.0/scim-helper-manager
|
|
|
|
%{_libdir}/scim-1.0/scim-launcher
|
|
|
|
%{_libdir}/scim-1.0/scim-panel-gtk
|
|
|
|
%{_datadir}/scim/icons/*.png
|
|
|
|
|
|
|
|
%files -n libscim-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/scim-1.0/gtk
|
|
|
|
%{_includedir}/scim-1.0/gtk/*.h
|
|
|
|
%{_includedir}/scim-1.0/*.h
|
|
|
|
%{_includedir}/scim-1.0/x11/*.h
|
|
|
|
%{_libdir}/libscim-1.0.so
|
|
|
|
%{_libdir}/libscim-gtkutils-1.0.so
|
|
|
|
%{_libdir}/libscim-x11utils-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc ChangeLog README THANKS TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-02-14 11:06:58 +01:00
|
|
|
* Tue Feb 13 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.18-3mamba
|
|
|
|
- remove build of qt3 and qt4 immodules
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
* Wed Dec 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.18-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.18-1mamba
|
|
|
|
- update to 1.4.18
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
* Sun Jul 03 2016 Automatic Build System <autodist@mambasoft.it> 1.4.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 25 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.15-1mamba
|
|
|
|
- update to 1.4.15
|
|
|
|
|
|
|
|
* Fri Mar 25 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.14-2mamba
|
|
|
|
- patch to fix undefined symbol: gdk_x11_drawable_get_xdisplay with recent gtk
|
|
|
|
|
2024-01-05 17:40:00 +01:00
|
|
|
* Sat Jun 23 2012 Automatic Build System <autodist@mambasoft.it> 1.4.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 1.4.13-1mamba
|
|
|
|
- update to 1.4.13
|
|
|
|
|
|
|
|
* Tue Jul 19 2011 Automatic Build System <autodist@mambasoft.it> 1.4.10-1mamba
|
|
|
|
- update to 1.4.10
|
|
|
|
|
|
|
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.9-3mamba
|
|
|
|
- rebuilt with libpng 1.4
|
|
|
|
|
|
|
|
* Mon Jun 15 2009 Automatic Build System <autodist@mambasoft.it> 1.4.9-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Apr 19 2009 Automatic Build System <autodist@mambasoft.it> 1.4.9-1mamba
|
|
|
|
- automatic update to 1.4.9 by autodist
|
|
|
|
|
|
|
|
* Sun Jan 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.8-1mamba
|
|
|
|
- automatic update to 1.4.8 by autodist
|
|
|
|
|
|
|
|
* Thu Dec 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-2mamba
|
|
|
|
- fixed ldconfig execution in post scripts
|
|
|
|
- icons moved to the libscim package
|
|
|
|
|
|
|
|
* Thu Dec 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-1mamba
|
|
|
|
- package created by autospec
|