gnome-weather-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. %define pkgname org.gnome.Weather.Application
  2. Summary: Weather application for GNOME
  3. Summary(ja): GNOME 用天気アプリケーション
  4. Name: gnome-weather
  5. Version: 3.12.0
  6. Release: 1%{?_dist_release}
  7. License: GPLv2+
  8. Group: User Interface/Deskops
  9. URL: https://live.gnome.org/Design/Apps/Weather
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{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. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. This is a small application that allows you to monitor the current
  21. weather conditions for your city, or anywhere in the world, and to
  22. access updated forecasts provided by various internet services.
  23. %description -l ja
  24. gnome-weather は世界各地の現在の天候を表示し、様々なインターネット
  25. サービスで提供された天気予報にアクセスするための小さなアプリケーションです。
  26. %package devel
  27. Summary: Development tools for %{name}
  28. Summary(ja): %{name} の開発環境
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. Header files and libraries for building a extension library for the %{name}.
  34. %prep
  35. %setup -q
  36. %build
  37. %configure
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  43. %find_lang %{pkgname}
  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. update-desktop-database -q &> /dev/null ||:
  51. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  52. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  53. fi
  54. %posttrans
  55. update-desktop-database -q &> /dev/null ||:
  56. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  57. gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  58. %files -f %{pkgname}.lang
  59. %defattr(-,root,root,-)
  60. %doc NEWS
  61. %{_bindir}/%{name}
  62. %{_libdir}/%{pkgname}/girepository-1.0/Gd-1.0.typelib
  63. %{_libdir}/%{pkgname}/libgd.so
  64. %{_datadir}/appdata/%{pkgname}.appdata.xml
  65. %{_datadir}/applications/%{pkgname}.desktop
  66. %{_datadir}/dbus-1/services/%{pkgname}.service
  67. %{_datadir}/glib-2.0/schemas/%{pkgname}.gschema.xml
  68. %{_datadir}/gnome-shell/search-providers/%{pkgname}.search-provider.ini
  69. %{_datadir}/icons/hicolor/*/*/*
  70. %{_datadir}/%{pkgname}/*.js
  71. %{_datadir}/%{pkgname}/%{pkgname}
  72. %{_datadir}/%{pkgname}/%{pkgname}.data.gresource
  73. %{_datadir}/%{pkgname}/%{pkgname}.src.gresource
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_datadir}/%{pkgname}/gir-1.0/Gd-1.0.gir
  77. %changelog
  78. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  79. - new upstream release
  80. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  81. - rebuild with VineSeed environment
  82. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  83. - new upstream release
  84. - add BuildRequires: libgweather-devel
  85. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  86. - new upstream release
  87. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  88. - initial build