talika-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. BuildRequires: gnome-panel-devel, libwnck-devel, glib2-devel
  11. BuildRequires: GConf2-devel, libbonoboui-devel
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. %description
  14. The package contains a GNOME panel applet which allows you to
  15. switch between open windows using icons.
  16. %description -l ja
  17. このパッケージには、開いているウィンドウ間の切り替えをアイコン
  18. で行える GNOME パネル向けのアプレットが含まれています。
  19. %prep
  20. %setup -q
  21. %build
  22. %configure --disable-schemas-install
  23. %{__make} %{?_smp_mflags}
  24. %install
  25. %{__rm} -rf $RPM_BUILD_ROOT
  26. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  27. %find_lang %{name}
  28. # remove document directory (duplicated)
  29. %{__rm} -rf $RPM_BUILD_ROOT/%{_prefix}/doc/%{name}
  30. %clean
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %post
  33. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  34. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  35. %pre
  36. if [ "$1" -gt 1 ]; then
  37. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  38. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
  39. fi
  40. %preun
  41. if [ "$1" -eq 0 ]; then
  42. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  43. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
  44. fi
  45. %files -f %{name}.lang
  46. %doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO
  47. %defattr(-,root,root)
  48. %{_sysconfdir}/gconf/schemas/%{name}.schemas
  49. %{_libexecdir}/%{name}
  50. %{_libdir}/bonobo/servers/%{name}.server
  51. %{_datadir}/pixmaps/%{name}.svg
  52. %{_datadir}/%{name}/talika_prefs.ui
  53. %changelog
  54. * Wed Apr 21 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.48-1
  55. - initial build for Vine Linux