gnome-dictionary-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Summary: GNOME Dictionary
  2. Summary(ja): GNOME 辞書
  3. Name: gnome-dictionary
  4. Version: 3.6.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.6/%{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 doc
  33. Summary: Documentation for %{name}
  34. Summary(ja): %{name} 用のドキュメント
  35. Group: Documentation
  36. Requires: %{name} = %{version}-%{release}
  37. BuildArch: noarch
  38. %description doc
  39. This package contains documentation for %{name}.
  40. %prep
  41. %setup -q
  42. %build
  43. %configure
  44. make %{?_smp_mflags}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  49. %find_lang %{name} --all-name --with-gnome
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post
  53. /sbin/ldconfig
  54. %postun
  55. /sbin/ldconfig
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. update-desktop-database -q &> /dev/null ||:
  58. %posttrans
  59. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  60. update-desktop-database -q &> /dev/null ||:
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %{_bindir}/%{name}
  64. %{_libdir}/libgdict-1.0.so.*
  65. %{_datadir}/applications/%{name}.desktop
  66. %{_datadir}/gdict-1.0/sources/*.desktop
  67. %{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml
  68. %{_datadir}/%{name}/*.ui
  69. %{_mandir}/man1/%{name}.1.gz
  70. %files devel
  71. %defattr(-,root,root,-)
  72. %{_includedir}/gdict-1.0
  73. %{_libdir}/libgdict-1.0.so
  74. %{_libdir}/pkgconfig/gdict-1.0.pc
  75. %files doc
  76. %defattr(-,root,root,-)
  77. %{_datadir}/gtk-doc/html/gdict
  78. %changelog
  79. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  80. - initial build