gnome-dictionary-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Summary: GNOME Dictionary
  2. Summary(ja): GNOME 辞書
  3. Name: gnome-dictionary
  4. Version: 3.10.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Desktops
  8. URL: http://www.gnome.org
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: itstool
  13. Requires(postun,posttrans): glib2
  14. Requires(postun,posttrans): desktop-file-utils
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. gnome-dictionary provides dictionary definitions of words, using a dictionary source.
  20. %description -l ja
  21. gnome-dictionary は辞書ソースを使用し、単語の辞書上の定義を提供します。
  22. %package devel
  23. Summary: Development files for %{name}
  24. Summary(ja): %{name} の開発ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. Requires: gobject-introspection-devel
  29. %description devel
  30. The %{name}-devel package contains libraries and header files for
  31. developing applications that use %{name}.
  32. %package docs
  33. Summary: Documentation for %{name}
  34. Summary(ja): %{name} 用のドキュメント
  35. Group: Documentation
  36. Requires: %{name} = %{version}-%{release}
  37. BuildArch: noarch
  38. Provides: %{name}-doc = %{version}-%{release}
  39. %description docs
  40. This package contains documentation for %{name}.
  41. %prep
  42. %setup -q
  43. %build
  44. %configure
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT
  49. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  50. %find_lang %{name} --all-name --with-gnome
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %post
  54. /sbin/ldconfig
  55. %postun
  56. /sbin/ldconfig
  57. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  58. update-desktop-database -q &> /dev/null ||:
  59. %posttrans
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. update-desktop-database -q &> /dev/null ||:
  62. %files -f %{name}.lang
  63. %defattr(-,root,root,-)
  64. %{_bindir}/%{name}
  65. %{_libdir}/libgdict-1.0.so.*
  66. %{_datadir}/applications/%{name}.desktop
  67. %{_datadir}/gdict-1.0/sources/*.desktop
  68. %{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml
  69. %{_datadir}/%{name}/*.ui
  70. %{_mandir}/man1/%{name}.1.gz
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %{_includedir}/gdict-1.0
  74. %{_libdir}/libgdict-1.0.so
  75. %{_libdir}/pkgconfig/gdict-1.0.pc
  76. %files docs
  77. %defattr(-,root,root,-)
  78. %{_datadir}/gtk-doc/html/gdict
  79. %changelog
  80. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  81. - new upstream release
  82. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  83. - new upstream release
  84. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  85. - initial build