orage-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: orage
  2. Summary: Time-managing application for xfce4.
  3. Version: 4.8.1
  4. Release: 2%{?_dist_release}
  5. Group: Applications/Accessories
  6. License: GPLv2
  7. URL: http://www.xfce.org/projects/orage
  8. Source0: http://archive.xfce.org/src/apps/%{name}/4.8/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: dbus-glib-devel >= 0.34
  11. BuildRequires: gettext
  12. BuildRequires: gtk2-devel >= 2.10.0
  13. BuildRequires: intltool >= 0.31
  14. BuildRequires: libical-devel >= 0.43
  15. BuildRequires: libnotify-devel >= 0.3.2
  16. BuildRequires: pkgconfig
  17. BuildRequires: popt-devel
  18. BuildRequires: xfce4-panel-devel >= 4.8.0
  19. Obsoletes: xfcalendar
  20. %description
  21. Time-managing application for Xfce4
  22. %prep
  23. %setup -q
  24. %build
  25. %configure
  26. make
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. make install DESTDIR=$RPM_BUILD_ROOT
  30. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/*.cache
  31. %find_lang %{name}
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post
  35. touch --no-create %{_datadir}/icons/hicolor
  36. %posttrans
  37. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  38. %postun
  39. if [ $1 -eq 0 ] ; then
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  42. fi
  43. %files -f %{name}.lang
  44. %defattr(-,root,root)
  45. %doc README ChangeLog COPYING AUTHORS NEWS
  46. %{_bindir}/orage
  47. %{_bindir}/tz_convert
  48. %{_bindir}/globaltime
  49. #{_libdir}/xfce4/
  50. %{_libexecdir}/xfce4/
  51. %{_datadir}/applications/*.desktop
  52. %{_datadir}/dbus-1/services/*
  53. %{_datadir}/icons/hicolor/*/apps/*
  54. %{_datadir}/orage/
  55. %{_datadir}/xfce4/panel-plugins/*.desktop
  56. %{_mandir}/man1/*
  57. %changelog
  58. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.1-2
  59. - rebuilt with libnotify-0.7.3
  60. * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.1-1
  61. - new upstream release
  62. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  63. - new upstream release
  64. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5
  65. - applied new versioning policy
  66. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  67. - new upstream release.
  68. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  69. - build for VineSeed
  70. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  71. - initial release