[895] | 1 | Summary: Gnome panel applet to switch open windows using icons |
---|
| 2 | Summary(ja): アイコン表示のウィンドウ切り替え用 GNOME パネルアプレット |
---|
| 3 | Name: talika |
---|
| 4 | Version: 0.48 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | Source0: %{name}-%{version}_1.tar.gz |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | URL: http://sourceforge.net/projects/talika/ |
---|
| 10 | |
---|
| 11 | BuildRequires: gnome-panel-devel, libwnck-devel, glib2-devel |
---|
| 12 | BuildRequires: GConf2-devel, libbonoboui-devel |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | The package contains a GNOME panel applet which allows you to |
---|
| 18 | switch between open windows using icons. |
---|
| 19 | |
---|
| 20 | %description -l ja |
---|
| 21 | このパッケージには、開いているウィンドウ間の切り替えをアイコン |
---|
| 22 | で行える GNOME パネル向けのアプレットが含まれています。 |
---|
| 23 | |
---|
| 24 | %prep |
---|
| 25 | %setup -q |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | %configure --disable-schemas-install |
---|
| 30 | |
---|
| 31 | %{__make} %{?_smp_mflags} |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 36 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 37 | %find_lang %{name} |
---|
| 38 | |
---|
| 39 | # remove document directory (duplicated) |
---|
| 40 | %{__rm} -rf $RPM_BUILD_ROOT/%{_prefix}/doc/%{name} |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %post |
---|
| 46 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 47 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : |
---|
| 48 | |
---|
| 49 | %pre |
---|
| 50 | if [ "$1" -gt 1 ]; then |
---|
| 51 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 52 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || : |
---|
| 53 | fi |
---|
| 54 | |
---|
| 55 | %preun |
---|
| 56 | if [ "$1" -eq 0 ]; then |
---|
| 57 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 58 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || : |
---|
| 59 | fi |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files -f %{name}.lang |
---|
| 63 | %doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO |
---|
| 64 | %defattr(-,root,root) |
---|
| 65 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
---|
| 66 | %{_libexecdir}/%{name} |
---|
| 67 | %{_libdir}/bonobo/servers/%{name}.server |
---|
| 68 | %{_datadir}/pixmaps/%{name}.svg |
---|
| 69 | %{_datadir}/%{name}/talika_prefs.ui |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %changelog |
---|
| 73 | * Wed Apr 21 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.48-1 |
---|
| 74 | - initial build for Vine Linux |
---|
| 75 | |
---|