rpms/uim/devel uim.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Thu Jan 13 06:30:57 UTC 2005


Author: wtogami

Update of /cvs/extras/rpms/uim/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv26768/devel

Modified Files:
	.cvsignore sources 
Added Files:
	uim.spec 
Log Message:
auto-import uim-0.4.5-1 on branch devel from uim-0.4.5-1.src.rpm


--- NEW FILE uim.spec ---
Summary:	A multilingual input method library
Name:		uim
Version:	0.4.5
Release:	1
License:	GPL/BSD
Group:		System Environment/Libraries
URL:		http://freedesktop.org/Software/uim
Source0:	http://freedesktop.org/Software/UimDownload/%{name}-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	gtk2-devel
BuildRequires:	gnome-panel-devel

%package	devel
Summary:	Development files for the Uim library
Group:		Development/Libraries
Requires:	uim = %{version}-%{release}

%package	gtk2
Summary:	GTK+2 support for Uim
Group:		User Interface/Desktops
Requires:	uim = %{version}-%{release}
Requires(post,postun): gtk2

%package	gnome
Summary:	GNOME Applet for Uim
Group:		User Interface/Desktops
Requires:	uim = %{version}-%{release}
Requires(post,postun): %{_sbindir}/bonobo-activation-sysconf

%package	anthy
Summary:	Anthy support for Uim
Group:		System Environment/Libraries
Requires:	anthy
Requires:	uim = %{version}-%{release}
Requires(post,postun): gtk2

%package	canna
Summary:	Canna support for Uim
Group:		System Environment/Libraries
Requires:	Canna Canna-devel
Requires:	uim = %{version}-%{release}
Requires(post,postun): gtk2

%package	skk
Summary:	SKK support for Uim
Group:		System Environment/Libraries
Requires:	skkdic
Requires:	uim = %{version}-%{release}
Requires(post,postun): gtk2

%description
Uim is a multilingual input method library. Uim aims to
provide secure and useful input methods for all
languages. Currently, it can input to applications which
support Gtk+'s immodule or XIM.

This package provides the input method library, the XIM
bridge and most of the input methods.

For the Japanese input methods you need to install
- uim-anthy for Anthy
- uim-canna for Canna
- uim-skk for SKK.

%description	devel
Uim is a multilingual input method library. Uim aims to
provide secure and useful input methods for all
languages. Currently, it can input to applications which
support Gtk+'s immodule or XIM.

This package contains the header files and the libraries which is
needed for developing Uim applications.

%description	gtk2
Uim is a multilingual input method library. Uim aims to
provide secure and useful input methods for all
languages. Currently, it can input to applications which
support Gtk+'s immodule or XIM.

This package provides the Gtk IM module and helper program.

%description	gnome
Uim is a multilingual input method library. Uim aims to
provide secure and useful input methods for all
languages. Currently, it can input to applications which
support Gtk+'s immodule or XIM.

This package provides the GNOME panel applet.

%description	anthy
This package provides support for Anthy, a Japanese input method.

%description	canna
This package provides support for Canna, a Japanese input method.

%description	skk
This package provides support for SKK, a Japanese input method.

%define gtk_im_update ( [ -x "%{_bindir}/update-gtk-immodules" ] && %{_bindir}/update-gtk-immodules %{_arch}-%{_host_vendor}-%{_host_os} ) || ( [ -x "%{_bindir}/gtk-query-immodules-2.0" ] && %{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0/gtk.immodules )

%prep
%setup -q

%build
%configure
make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

%find_lang %{name}

find $RPM_BUILD_ROOT -name "*.scm" -type f | egrep -v "(anthy|canna|skk|uim-sh)" > scm.list
cat scm.list | sed -e s,$RPM_BUILD_ROOT,,g >> %{name}.lang

# compress large doc
bzip2 ChangeLog

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%post gtk2
umask 022
%{gtk_im_update}

%postun gtk2
umask 022
if [ $1 = 0 ]; then
	%{gtk_im_update}
fi

%post gnome
bonobo-activation-sysconf --add-directory=%{_libdir}/bonobo/servers > /dev/null

%postun gnome
bonobo-activation-sysconf --remove-directory=%{_libdir}/bonobo/servers

%post	anthy
umask 022
%{gtk_im_update}

%postun	anthy
umask 022
if [ $1 = 0 ]; then
	%{gtk_im_update}
fi

%post	canna
umask 022
%{gtk_im_update}

%postun	canna
umask 022
if [ $1 = 0 ]; then
	%{gtk_im_update}
fi

%post	skk
umask 022
%{gtk_im_update}

%postun	skk
umask 022
if [ $1 = 0 ]; then
	%{gtk_im_update}
fi

%files -f %{name}.lang
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog* NEWS README
%lang(ja) %doc README.ja
%{_bindir}/uim-fep*
%{_bindir}/uim-helper-server
%{_bindir}/uim-xim
%{_libdir}/lib*.so.*
%dir %{_datadir}/uim
%{_datadir}/uim/tables

%files	devel
%defattr (-, root, root)
%dir %{_datadir}/uim
%{_bindir}/uim-sh
%{_includedir}/uim/*
%{_libdir}/gtk-2.0/2.*/immodules/im-uim.*a
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_datadir}/uim/uim-sh.scm

%files	gtk2
%defattr (-, root, root)
%{_bindir}/uim-candwin-gtk
%{_bindir}/uim-im-switcher
%{_bindir}/uim-input-pad-ja
%{_bindir}/uim-toolbar-gtk
%{_bindir}/uim-toolbar-gtk-systray
%{_libdir}/gtk-2.0/2.*/immodules
%exclude %{_libdir}/gtk-2.0/2.*/immodules/im-uim.*a
%dir %{_datadir}/uim
%{_datadir}/uim/icons

%files	gnome
%defattr (-, root, root)
%{_libexecdir}/uim-toolbar-applet
%{_libdir}/bonobo/servers/GNOME_UimApplet.server

%files	anthy
%defattr (-, root, root)
%dir %{_datadir}/uim
%{_datadir}/uim/anthy.scm

%files	canna
%defattr (-, root, root)
%dir %{_datadir}/uim
%{_datadir}/uim/canna.scm

%files	skk
%defattr (-, root, root)
%dir %{_datadir}/uim
%{_datadir}/uim/skk*.scm

%changelog
* Wed Jan 12 2005 Akira TAGOH <tagoh at redhat.com> 0.4.5-1
- New upstream release.

* Wed Sep 08 2004 Akira TAGOH <tagoh at redhat.com> 0.4.3-1
- New upstream release.
- moved out gtk2 related files to uim-gtk2 package.

* Mon Jul 12 2004 Jens Petersen <petersen at redhat.com> - 0.4.0-1
- no longer need to remove screen files
- include console fep programs

* Fri Jul  2 2004 Jens Petersen <petersen at redhat.com> - 0.3.9-3
- support both update-gtk-immodules of newer gtk2 and older
  gtk-query-immodules-2.0 with new %%gtk_im_update added

* Wed Jun 30 2004 Jens Petersen <petersen at redhat.com> - 0.3.9-2
- add uim-applet-category-cjk.patch to put applet in right submenu
- improve the summaries and descriptions
- make the Requires(postun) be Requires(post,postun)
- file ownership and other minor cleanup

* Wed Jun 23 2004 Akira TAGOH <tagoh at redhat.com> 0.3.9-1
- New upstream release.

* Fri Jun 04 2004 Akira TAGOH <tagoh at redhat.com> 0.3.8-4
- wrote the descriptions.
- uim-skk: fixed the dependency.

* Fri Jun 04 2004 Nils Philippsen <nphilipp at redhat.com> 0.3.8-3
- more spec cleanups

* Fri Jun 04 2004 Warren Togami <wtogami at redhat.com> 0.3.8-2
- many spec cleanups

* Thu Jun 03 2004 Akira TAGOH <tagoh at redhat.com> 0.3.8-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/uim/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Jan 2005 06:30:00 -0000	1.1
+++ .cvsignore	13 Jan 2005 06:30:55 -0000	1.2
@@ -0,0 +1 @@
+uim-0.4.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/uim/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Jan 2005 06:30:00 -0000	1.1
+++ sources	13 Jan 2005 06:30:55 -0000	1.2
@@ -0,0 +1 @@
+3979e20d8375fcd1691d74949e5b626c  uim-0.4.5.tar.gz




More information about the fedora-extras-commits mailing list