rpms/im-chooser/devel im-chooser.spec,1.27,1.28
Akira Tagoh (tagoh)
fedora-extras-commits at redhat.com
Fri Feb 1 02:22:22 UTC 2008
Author: tagoh
Update of /cvs/pkgs/rpms/im-chooser/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14104
Modified Files:
im-chooser.spec
Log Message:
* Fri Feb 1 2008 Akira TAGOH <tagoh at redhat.com> - 0.99-1
- New upstream release.
- IMSettings is now enabled. you don't need to restart your desktop after
changing IM for GTK applications. but still need to do for others so far.
Index: im-chooser.spec
===================================================================
RCS file: /cvs/pkgs/rpms/im-chooser/devel/im-chooser.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- im-chooser.spec 27 Dec 2007 06:29:08 -0000 1.27
+++ im-chooser.spec 1 Feb 2008 02:21:44 -0000 1.28
@@ -1,9 +1,9 @@
Name: im-chooser
-Version: 0.5.5
+Version: 0.99
Release: 1%{?dist}
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gtk2-devel intltool gettext libgnomeui-devel
+BuildRequires: gtk2-devel intltool gettext libgnomeui-devel dbus-devel dbus-glib-devel
BuildRequires: desktop-file-utils
Source0: %{name}-%{version}.tar.gz
@@ -13,19 +13,44 @@
Group: Applications/System
Requires(post): %{_sbindir}/alternatives
Requires(postun): %{_sbindir}/alternatives
-Requires: xorg-x11-xinit >= 1.0.2-22.fc8
+Requires: imsettings = %{version}-%{release}
Obsoletes: system-switch-im
%description
im-chooser is a GUI configuration tool to choose the Input Method
to be used or disable Input Method usage on the desktop.
+%package -n imsettings
+Summary: Input Method settings framework
+Group: Applications/System
+Requires: xorg-x11-xinit >= 1.0.2-22.fc8
+
+%description -n imsettings
+imsettings is a framework to deal with IM configuration through D-Bus.
+
+%package -n imsettings-libs
+Summary: Libraries for imsettings
+Group: Development/Libraries
+
+%description -n imsettings-libs
+imsettings is a framework to deal with IM configuration through D-Bus.
+This package contains a library for imsettings.
+
+%package -n imsettings-devel
+Summary: Development files for imsettings
+Group: Development/Libraries
+Requires: imsettings-libs = %{version}-%{release}
+
+%description -n imsettings-devel
+imsettings is a framework to deal with IM configuration through D-Bus.
+This package contains the development files to make any applications with imsettings.
+
%prep
%setup -q
%patch0 -p1 -b .language
%build
-%configure --with-xinput-suffix=.conf
+%configure --with-xinput-suffix=.conf --disable-static
make %{?_smp_mflags}
%install
@@ -39,31 +64,62 @@
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/im-chooser.desktop
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%post
+%post -n imsettings
alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_sysconfdir}/X11/xinit/xinput.d/none.conf 10
alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_sysconfdir}/X11/xinit/xinput.d/xim.conf 30
+imsettings-reload -f
-%postun
+%postun -n imsettings
if [ "$1" = 0 ]; then
alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/none.conf
alternatives --remove xinputrc %{_sysconfdir}/X11/xinit/xinput.d/xim.conf
fi
+imsettings-reload -f
%files -f %{name}.lang
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog README
-%{_bindir}/*
-%{_sysconfdir}/X11/xinit/xinitrc.d/xinput.sh
-%{_sysconfdir}/X11/xinit/xinput.d
+%{_bindir}/im-chooser
%{_datadir}/applications/fedora-im-chooser.desktop
%{_datadir}/pixmaps/im-chooser.png
+%files -n imsettings
+%defattr (-, root, root, -)
+%doc AUTHORS COPYING imsettings/ChangeLog README
+%{_bindir}/imsettings-*
+%{_libexecdir}/gconf-im-settings-daemon
+%{_libexecdir}/im-info-daemon
+%{_libexecdir}/im-settings-daemon
+%{_libexecdir}/xinputinfo.sh
+%{_datadir}/dbus-1/services/*.service
+%{_sysconfdir}/X11/xinit/xinitrc.d/xinput.sh
+%{_sysconfdir}/X11/xinit/xinput.d
+
+%files -n imsettings-libs
+%defattr (-, root, root, -)
+%doc AUTHORS COPYING imsettings/ChangeLog README
+%{_libdir}/libimsettings.so.*
+
+%files -n imsettings-devel
+%defattr (-, root, root, -)
+%doc AUTHORS COPYING imsettings/ChangeLog README
+%{_includedir}/imsettings
+%{_libdir}/libimsettings.so
+%{_libdir}/pkgconfig/imsettings.pc
+
%changelog
+* Fri Feb 1 2008 Akira TAGOH <tagoh at redhat.com> - 0.99-1
+- New upstream release.
+ - IMSettings is now enabled. you don't need to restart your desktop after
+ changing IM for GTK+ applications. but still need to do for others so far.
+
* Thu Dec 27 2007 Akira TAGOH <tagoh at redhat.com> - 0.5.5-1
- New upstream release.
- Rename sr at Latn to sr at latin. (#426540)
More information about the fedora-extras-commits
mailing list