gnome-search-tool-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: GNOME search tool
  2. Summary(ja): GNOME 検索ツール
  3. Name: gnome-search-tool
  4. Version: 3.6.0
  5. Release: 3%{?_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: libSM-devel
  13. BuildRequires: itstool
  14. BuildRequires: desktop-file-utils
  15. Requires(postun,posttrans): glib2
  16. Requires(postun,posttrans): desktop-file-utils
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. gnome-search-tool is a utility for finding files on your system. To perform a
  22. basic search, you can type a filename or a partial filename,
  23. with or without wildcards. To refine your search, you can
  24. apply additional search options.
  25. %description -l ja
  26. gnome-search-tool はシステム内のファイルを検索するユーティリティーです。
  27. 基本的な検索を行うには、ファイル名かファイル名の一部をワイルドカードあり
  28. またはなしでタイプします。詳細検索を行うには、追加検索オプションを適用します。
  29. %package devel
  30. Summary: Development files for %{name}
  31. Summary(ja): %{name} の開発ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. Requires: gobject-introspection-devel
  36. %description devel
  37. The %{name}-devel package contains libraries and header files for
  38. developing applications that use %{name}.
  39. %package doc
  40. Summary: Documentation for %{name}
  41. Summary(ja): %{name} 用のドキュメント
  42. Group: Documentation
  43. Requires: %{name} = %{version}-%{release}
  44. BuildArch: noarch
  45. %description doc
  46. This package contains documentation for %{name}.
  47. %prep
  48. %setup -q
  49. %build
  50. %configure
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. desktop-file-install --vendor gnome --delete-original \
  56. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  57. --add-only-show-in GNOME \
  58. --remove-not-show-in KDE \
  59. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  60. %find_lang %{name} --all-name --with-gnome
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %postun
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  65. update-desktop-database -q &> /dev/null ||:
  66. %posttrans
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. update-desktop-database -q &> /dev/null ||:
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. %{_bindir}/%{name}
  72. %{_datadir}/GConf/gsettings/%{name}.convert
  73. %{_datadir}/applications/%{name}.desktop
  74. %{_datadir}/glib-2.0/schemas/org.gnome.gnome-search-tool.gschema.xml
  75. %{_datadir}/pixmaps/gsearchtool/thumbnail_frame.png
  76. %{_mandir}/man1/%{name}.1.gz
  77. %changelog
  78. * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-3
  79. - add BuildRequires: desktop-file-utils
  80. - add OnlyShowIn=GNOME; to gnome-search-tool.desktop
  81. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
  82. - rebuild with VineSeed environment
  83. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  84. - initial build