gnote-vl.spec 4.4 KB

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