xfce4-dict-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Name: xfce4-dict
  2. Summary: Dictionary services for Xfce
  3. Summary(ja): Xfce の辞書サービス
  4. Version: 0.7.0
  5. Release: 3%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Accessories
  8. URL: http://goodies.xfce.org/projects/applications/%{name}
  9. Source0: http://archive.xfce.org/src/apps/%{name}/0.7/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: gtk2-devel >= 2.20.0
  13. BuildRequires: libxfce4ui-devel >= 4.10.0
  14. BuildRequires: libxfce4util-devel >= 4.10.0
  15. BuildRequires: xfce4-panel-devel >= 4.10.0
  16. BuildRequires: libX11-devel
  17. BuildRequires: xfce4-dev-tools
  18. Requires(post,postun): desktop-file-utils
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi, inagaki
  22. %description
  23. This program allows you to search different kinds of dictionary services
  24. for words or phrases and shows you the result.
  25. Currently you can query a "Dict" server(RFC 2229), any online dictionary
  26. service by opening a web browser or search for words using a spell check
  27. program like aspell, ispell or enchant.
  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. desktop-file-install \
  38. --add-category="X-XFCE" \
  39. --delete-original \
  40. --dir=%{buildroot}%{_datadir}/applications \
  41. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-dict.desktop
  42. %find_lang %{name}
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  48. update-desktop-database %{_datadir}/applications &> /dev/null || :
  49. %postun
  50. if [ $1 -eq 0 ]; then
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  53. fi
  54. update-desktop-database %{_datadir}/applications &> /dev/null || :
  55. %files -f %{name}.lang
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS ChangeLog NEWS COPYING
  58. %{_bindir}/xfce4-dict
  59. %{_libdir}/xfce4/panel/plugins/libxfce4dict.so
  60. %{_datadir}/applications/xfce4-dict.desktop
  61. %{_datadir}/icons/hicolor/*/*/*
  62. %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
  63. %{_mandir}/man1/xfce4-dict.1.gz
  64. %changelog
  65. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-3
  66. - rebuilt with libxfce4util 4.12.1
  67. * Thu Feb 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-2
  68. - fixed %%post script
  69. - moved to Applications/Accessories Group
  70. * Sun Sep 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-1
  71. - updated to 0.7.0
  72. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-2
  73. - rebuild with VineSeed environment
  74. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-1
  75. - initial build for Vine Linux