xfce4-notes-plugin-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Name: xfce4-notes-plugin
  2. Summary: Memo plugin for the Xfce4 panel
  3. Summary(ja): Xfce パネル用 メモプラグイン
  4. Version: 1.7.7
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
  9. Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.7/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libxfce4util-devel >= 4.4.0
  12. BuildRequires: libxfce4ui-devel >= 4.4.0
  13. BuildRequires: libxfcegui4-devel >= 4.4.0
  14. BuildRequires: xfce4-panel-devel >= 4.4.0
  15. BuildRequires: xfconf-devel >= 4.6.0
  16. BuildRequires: unique-devel >= 1.0.0
  17. Requires(post,postun): desktop-file-utils
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. The notes plugin provides you a quick way to write down a todo list,
  23. to paste a piece of code, to leave a note to your friend, or whatever
  24. else you had like to do with a post'it.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  34. %find_lang %{name}
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. update-desktop-database %{_datadir}/applications &> /dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ]; then
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  45. fi
  46. update-desktop-database %{_datadir}/applications &> /dev/null || :
  47. %files -f %{name}.lang
  48. %defattr(-,root,root)
  49. %doc AUTHORS COPYING ChangeLog NEWS README
  50. %config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop
  51. %{_bindir}/xfce4-notes
  52. %{_bindir}/xfce4-notes-settings
  53. %{_bindir}/xfce4-popup-notes
  54. %{_libdir}/xfce4/panel-plugins/libnotes.so*
  55. %{_datadir}/applications/xfce4-notes.desktop
  56. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  57. %{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop
  58. %{_datadir}/%{name}
  59. %changelog
  60. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-1
  61. - initial build for Vine Linux