gnome-weather-vl.spec 3.5 KB

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