gnote-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Summary: A note taking application
  2. Summary(ja): ノートテーカー(メモ)アプリケーション
  3. Name: gnote
  4. Version: 3.8.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Deskops
  8. URL: https://live.gnome.org/Gnote
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
  10. Patch0: gnote-3.6.0-gnome_keyring.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: libxml2-devel
  13. BuildRequires: libxslt-devel
  14. BuildRequires: libuuid-devel
  15. BuildRequires: glibmm-devel >= 2.28
  16. BuildRequires: gtkmm3-devel >= 3.4
  17. BuildRequires: gtkspell-devel >= 2.0.9
  18. BuildRequires: libsecret-devel >= 0.8
  19. BuildRequires: libboost-devel >= 1.34
  20. BuildRequires: libboost-test
  21. BuildRequires: itstool
  22. BuildRequires: desktop-file-utils
  23. Requires(postun,posttrans): desktop-file-utils
  24. Requires(postun,posttrans): glib2
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. Gnote is a port of Tomboy to C++.
  30. It is the same note taking application, including most of the add-ins (more are to come).
  31. Synchronization support is being worked on.
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .orig
  35. %build
  36. %configure --disable-static
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/libgnote.so
  42. %find_lang %{name} --all-name --with-gnome
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post
  46. /sbin/ldconfig
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  48. touch --no-create %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
  49. %postun
  50. /sbin/ldconfig
  51. if [ $1 -eq 0 ]; then
  52. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  53. touch --no-create %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. gtk-update-icon-cache %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
  56. update-desktop-database -q &> /dev/null ||:
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. fi
  59. %posttrans
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. gtk-update-icon-cache %{_datadir}/%{name}/icons/hicolor &> /dev/null || :
  62. update-desktop-database -q &> /dev/null ||:
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc COPYING README NEWS
  67. %{_bindir}/%{name}
  68. %{_libdir}/libgnote-*.so.*
  69. %{_libdir}/%{name}
  70. %{_datadir}/applications/%{name}.desktop
  71. %{_datadir}/dbus-1/services/org.gnome.Gnote.service
  72. %{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
  73. %{_datadir}/%{name}/UIManagerLayout.xml
  74. %{_datadir}/%{name}/exporttohtml.xsl
  75. %{_datadir}/%{name}/gnote-introspect.xml
  76. %{_datadir}/%{name}/icons/hicolor/*/*/*
  77. %{_datadir}/icons/hicolor/*/*/*
  78. %{_mandir}/man1/gnote.1.gz
  79. %changelog
  80. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  81. - new upstream release
  82. - add BuildRequires: desktop-file-utils
  83. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  84. - new upstream release
  85. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  86. - new upstream release
  87. * Mon Oct 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  88. - new upstream release
  89. * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  90. - initial build