gnome-documents-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # Basic Information
  2. Name: gnome-documents
  3. Version: 0.4.2
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/Documentation
  7. Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-documents/0.4/gnome-documents-%{version}.tar.xz
  8. # Start testing
  9. #Source1: http://l10n.gnome.org/POT/gnome-documents.master/gnome-documents.master.ja.po
  10. # End testing
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: yasumichi
  15. Summary: A document manager application for GNOME
  16. Summary(ja): GNOME 向けのドキュメント管理アプリケーション
  17. # Dependency
  18. BuildRequires: clutter-gtk-devel
  19. BuildRequires: evince-devel
  20. BuildRequires: gnome-desktop3-devel
  21. BuildRequires: gnome-online-accounts-devel
  22. BuildRequires: libgdata-devel
  23. BuildRequires: liboauth-devel
  24. BuildRequires: tracker-devel
  25. BuildRequires: gjs-devel
  26. %description
  27. Documents is a document manager application for GNOME.
  28. More information on https://live.gnome.org/Design/Apps/Documents
  29. %description -l ja
  30. ドキュメントは GNOME 向けのドキュメント管理アプリケーションです。
  31. 詳細は、 https://live.gnome.org/Design/Apps/Documents を参照してください。
  32. %package devel
  33. Summary: Development files for %{name}
  34. Summary(ja): %{name} の開発用ファイル
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. %description devel
  39. Development files for %{name}
  40. %description -l ja devel
  41. %{name} の開発用ファイル
  42. %prep
  43. %setup -q
  44. # Start testing
  45. #%%{__cp} %{SOURCE1} po/ja.po
  46. echo "ja" >> po/LINGUAS
  47. # End testing
  48. %build
  49. %configure
  50. %{__make} %{?_smp_mflags}
  51. %install
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. export GSETTINGS_DISABLE_SCHEMAS_COMPILE=1
  54. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  55. unset GSETTINGS_DISABLE_SCHEMAS_COMPILE
  56. %find_lang %{name}
  57. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  58. %clean
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. %post -p /sbin/ldconfig
  61. %postun
  62. /sbin/ldconfig
  63. if [ $1 -eq 0 ] ; then
  64. glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
  65. fi
  66. %posttrans
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
  68. %files -f %{name}.lang
  69. %defattr(-,root,root)
  70. %doc COPYING NEWS README
  71. %{_bindir}/gnome-documents
  72. %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
  73. %{_libdir}/%{name}/libgdprivate-1.0.so
  74. %{_libexecdir}/gd-tracker-gdata-miner
  75. %{_libexecdir}/gnome-documents-search-provider
  76. %{_datadir}/applications/gnome-documents.desktop
  77. %{_datadir}/dbus-1/services/org.gnome.Documents.GDataMiner.service
  78. %{_datadir}/dbus-1/services/org.gnome.Documents.SearchProvider.service
  79. %{_datadir}/glib-2.0/schemas/org.gnome.documents.gschema.xml
  80. %{_datadir}/glib-2.0/schemas/org.gnome.Documents.enums.xml
  81. %{_datadir}/gnome-documents
  82. %{_datadir}/gnome-shell/search-providers/gnome-documents-search-provider.ini
  83. %{_datadir}/icons/hicolor/16x16/apps/gnome-documents.png
  84. %{_datadir}/icons/hicolor/22x22/apps/gnome-documents.png
  85. %{_datadir}/icons/hicolor/24x24/apps/gnome-documents.png
  86. %{_datadir}/icons/hicolor/256x256/apps/gnome-documents.png
  87. %{_datadir}/icons/hicolor/32x32/apps/gnome-documents.png
  88. %{_datadir}/icons/hicolor/48x48/apps/gnome-documents.png
  89. %files devel
  90. %defattr(-,root,root)
  91. %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
  92. %changelog
  93. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1
  94. - new upstream release
  95. - add BuildRequires: gjs-devel
  96. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1
  97. - new upstream release
  98. * Wed Oct 05 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.2.0-1
  99. - new upstream release
  100. - remove SOURCE1
  101. * Mon Sep 26 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-2
  102. - update translation from master.
  103. * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-1
  104. - initial build for Vine Linux