xfce4-notes-plugin-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Name: xfce4-notes-plugin
  2. Version: 1.8.0
  3. Release: 1%{?_dist_release}
  4. Summary: Memo plugin for the Xfce4 panel
  5. Summary(ja): Xfce パネル用 メモプラグイン
  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.8/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.24.0
  12. BuildRequires: gtk2-devel >= 2.20.0
  13. BuildRequires: libxfce4util-devel >= 4.10.0
  14. BuildRequires: libxfce4ui-devel >= 4.10.0
  15. BuildRequires: xfce4-panel-devel >= 4.10.0
  16. BuildRequires: xfconf-devel >= 4.10.0
  17. BuildRequires: unique-devel >= 1.0.0
  18. BuildRequires: intltool perl-XML-Parser
  19. Requires(post,postun): desktop-file-utils
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. The notes plugin provides you a quick way to write down a todo list,
  25. to paste a piece of code, to leave a note to your friend, or whatever
  26. else you had like to do with a post'it.
  27. #'
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  37. %find_lang %{name}
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  42. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  43. update-desktop-database %{_datadir}/applications &> /dev/null || :
  44. %postun
  45. if [ $1 -eq 0 ]; then
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  48. fi
  49. update-desktop-database %{_datadir}/applications &> /dev/null || :
  50. %files -f %{name}.lang
  51. %defattr(-,root,root)
  52. %doc AUTHORS COPYING ChangeLog NEWS README
  53. %config(noreplace) %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop
  54. %{_bindir}/xfce4-notes
  55. %{_bindir}/xfce4-notes-settings
  56. %{_bindir}/xfce4-popup-notes
  57. %{_libdir}/xfce4/panel/plugins/libnotes.so*
  58. %{_datadir}/applications/xfce4-notes.desktop
  59. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  60. %{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin.desktop
  61. %{_datadir}/%{name}
  62. %changelog
  63. * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.8.0-1
  64. - new upstream release
  65. - remove BR: libxfcegui4-devel
  66. * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.7.7-4
  67. - rebuilt with libxfcegui4 4.10.0-4
  68. * Mon Mar 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.7.7-3
  69. - rebuilt with libxfce4util 4.12.1
  70. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-2
  71. - rebuild with VineSeed environment
  72. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.7-1
  73. - initial build for Vine Linux