gnome-weather-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Summary: Weather application for GNOME
  2. Summary(ja): GNOME 用天気アプリケーション
  3. Name: gnome-weather
  4. Version: 3.8.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Deskops
  8. URL: https://live.gnome.org/Design/Apps/Weather
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: gjs-devel
  13. Requires(postun,posttrans): desktop-file-utils
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. This is a small application that allows you to monitor the current
  19. weather conditions for your city, or anywhere in the world, and to
  20. access updated forecasts provided by various internet services.
  21. %description -l ja
  22. gnome-weather は世界各地の現在の天候を表示し、様々なインターネット
  23. サービスで提供された天気予報にアクセスするための小さなアプリケーションです。
  24. %package devel
  25. Summary: Development tools for %{name}
  26. Summary(ja): %{name} の開発環境
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. Header files and libraries for building a extension library for the %{name}.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=${RPM_BUILD_ROOT}
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  41. %find_lang %{name}
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %postun
  45. if [ $1 -eq 0 ]; then
  46. update-desktop-database -q &> /dev/null ||:
  47. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  48. fi
  49. %posttrans
  50. update-desktop-database -q &> /dev/null ||:
  51. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  52. %files -f %{name}.lang
  53. %defattr(-,root,root,-)
  54. %doc NEWS
  55. %{_bindir}/%{name}
  56. %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib
  57. %{_libdir}/%{name}/libgd.so
  58. %{_datadir}/applications/%{name}.desktop
  59. %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
  60. %{_datadir}/%{name}/*.js
  61. %{_datadir}/%{name}/gnome-weather.gresource
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir
  65. %changelog
  66. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  67. - new upstream release
  68. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  69. - initial build