gnome-photos-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Summary: Photo applications for GNOME
  2. Summary(ja): GNOME 用写真アプリケーション
  3. Name: gnome-photos
  4. Version: 3.12.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Deskops
  8. URL: https://wiki.gnome.org/Design/Apps/Photos
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: babl-devel
  13. BuildRequires: exempi-devel
  14. BuildRequires: gegl-devel
  15. BuildRequires: gnome-desktop3-devel
  16. BuildRequires: gnome-online-accounts-devel
  17. BuildRequires: grilo-devel
  18. BuildRequires: lcms2-devel
  19. BuildRequires: libexif-devel
  20. BuildRequires: librsvg2-devel
  21. BuildRequires: tracker-devel
  22. BuildRequires: libgfbgraph-devel
  23. BuildRequires: desktop-file-utils
  24. BuildRequires: yelp-tools
  25. Requires(postun,posttrans): desktop-file-utils
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. Photo application designed for GNOME 3
  31. %description -l ja
  32. gnome-photos は GNOME3 向けに作られた写真アプリケーションです。
  33. %prep
  34. %setup -q
  35. %build
  36. %configure --disable-static
  37. make %{?_smp_mflags}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  42. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  43. %find_lang %{name} --with-gnome
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  48. %postun
  49. if [ $1 -eq 0 ]; then
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  52. update-desktop-database -q &> /dev/null ||:
  53. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  54. fi
  55. %posttrans
  56. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  57. update-desktop-database -q &> /dev/null ||:
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  59. %files -f %{name}.lang
  60. %defattr(-,root,root,-)
  61. %doc COPYING README NEWS
  62. %{_bindir}/%{name}
  63. %{_libexecdir}/gnome-photos-service
  64. %{_datadir}/appdata/org.gnome.Photos.appdata.xml
  65. %{_datadir}/applications/org.gnome.Photos.desktop
  66. %{_datadir}/dbus-1/services/org.gnome.Photos.service
  67. %{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml
  68. %{_datadir}/gnome-shell/search-providers/org.gnome.Photos.search-provider.ini
  69. %{_datadir}/%{name}
  70. %{_datadir}/icons/hicolor/*/*/*
  71. %changelog
  72. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  73. - new upstream release
  74. - add BuildRequires: yelp-tools
  75. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  76. - new upstream release
  77. - add BuildRequires: libgfbgraph-devel
  78. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  79. - new upstream release
  80. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  81. - initial build