drwright-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Summary: Typing monitor to force typing breaks
  2. Name: drwright
  3. Version: 3.2.3
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing
  9. BuildRequires: gtk3-devel >= 3.2.0
  10. BuildRequires: gnome-settings-daemon-devel
  11. BuildRequires: libcanberra-gtk3-devel
  12. BuildRequires: libnotify-devel
  13. BuildRequires: libXScrnSaver-devel
  14. BuildRequires: libSM-devel
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. DrWright monitors your typing and forces you to periodically take
  21. typing breaks.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure --disable-static
  26. %{__make} %{?_smp_mflags}
  27. %install
  28. %{__rm} -rf $RPM_BUILD_ROOT
  29. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  31. %find_lang %{name}
  32. %clean
  33. %{__rm} -rf $RPM_BUILD_ROOT
  34. %post
  35. touch %{_datadir}/icons/hicolor
  36. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  37. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  38. fi
  39. %postun
  40. touch %{_datadir}/icons/hicolor
  41. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  42. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  43. fi
  44. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  45. %posttrans
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. %files -f %{name}.lang
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS ChangeLog COPYING NEWS
  50. %{_libdir}/control-center-1/panels/libdrwrightccp.so
  51. %{_libdir}/%{name}/gnome-typing-monitor
  52. %{_libdir}/gnome-settings-daemon-3.0/libtyping-break.so
  53. %{_libdir}/gnome-settings-daemon-3.0/typing-break.gnome-settings-plugin
  54. %{_datadir}/%{name}
  55. %{_datadir}/applications/gnome-typing-break-panel.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.typing-break.gschema.xml
  57. %{_datadir}/icons/hicolor/*/*/*
  58. %changelog
  59. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
  60. - new upstream release
  61. * Tue Nov 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  62. - new upstream release
  63. - remove Patch0
  64. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  65. - initial build for Vine Linux