gnome-weather-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. %define pkgname org.gnome.Weather.Application
  2. Summary: Weather application for GNOME
  3. Summary(ja): GNOME 用天気アプリケーション
  4. Name: gnome-weather
  5. Version: 3.16.1
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: User Interface/Desktops
  9. URL: https://live.gnome.org/Design/Apps/Weather
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk3-devel
  13. BuildRequires: gjs-devel
  14. BuildRequires: libgweather-devel >= 3.9.5
  15. Requires(postun,posttrans): desktop-file-utils
  16. Obsoletes: %{name}-devel < 3.14.0
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. This is a small application that allows you to monitor the current
  22. weather conditions for your city, or anywhere in the world, and to
  23. access updated forecasts provided by various internet services.
  24. %description -l ja
  25. gnome-weather は世界各地の現在の天候を表示し、様々なインターネット
  26. サービスで提供された天気予報にアクセスするための小さなアプリケーションです。
  27. %prep
  28. %setup -q
  29. %build
  30. %configure
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=${RPM_BUILD_ROOT}
  35. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  36. %find_lang org.gnome.Weather
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ]; then
  43. update-desktop-database -q &> /dev/null ||:
  44. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  45. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  46. fi
  47. %posttrans
  48. update-desktop-database -q &> /dev/null ||:
  49. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  50. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  51. %files -f org.gnome.Weather.lang
  52. %defattr(-,root,root,-)
  53. %doc NEWS
  54. %{_bindir}/%{name}
  55. %{_datadir}/appdata/%{pkgname}.appdata.xml
  56. %{_datadir}/applications/%{pkgname}.desktop
  57. %{_datadir}/dbus-1/services/%{pkgname}.service
  58. %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
  59. %{_datadir}/glib-2.0/schemas/%{pkgname}.gschema.xml
  60. %{_datadir}/gnome-shell/search-providers/%{pkgname}.search-provider.ini
  61. %{_datadir}/icons/*/*/*/*
  62. %{_datadir}/org.gnome.Weather
  63. %changelog
  64. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  65. - new upstream release
  66. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  67. - new upstream release
  68. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-2
  69. - fix typo in Group
  70. * Wed Oct 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  71. - new upstream release
  72. - remove %%{name}-devel subpackage
  73. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  74. - new upstream release
  75. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  76. - new upstream release
  77. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  78. - rebuild with VineSeed environment
  79. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  80. - new upstream release
  81. - add BuildRequires: libgweather-devel
  82. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  83. - new upstream release
  84. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  85. - initial build