libgweather-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. Summary: Library for accessing weather information
  2. Summary(ja): 天気予報情報にアクセスするライブラリ
  3. Name: libgweather
  4. Version: 3.6.2
  5. Release: 1%{?_dist_release}
  6. URL: http://www.gnome.org/
  7. License: GPL
  8. Group: System Environment/Libraries
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/libgweather/3.6/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: gtk3-devel
  13. BuildRequires: libsoup-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. libgweather is a library to access weather information from online
  18. services for numerous locations.
  19. %description -l ja
  20. libgweather はオンラインサービス上にある世界中の天気予報情報に
  21. アクセスするためのライブラリです。
  22. %package l10n
  23. Summary: Localized xml files for %{name}
  24. Summary(ja): %{name} の多言語データ
  25. Group: System Environment/Libraries
  26. Requires: %{name} = %{version}
  27. %description l10n
  28. This package contains localized xml files for libgweather.
  29. (except for English and Japanese)
  30. %description -l ja l10n
  31. このパッケージには libgweather 用の各種言語の xml ファイルが
  32. 含まれています。(英語および日本語以外の言語)
  33. %package devel
  34. Summary: Libraries and headers for libgweather
  35. Summary(ja): libgweather 用ライブラリとヘッダ
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}
  38. Requires: gtk3-devel
  39. Requires: libsoup-devel
  40. %description devel
  41. Libraries and headers for libgweather.
  42. %description devel -l ja
  43. libgweather 用ライブラリとヘッダ
  44. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-static
  48. # do NOT use smp flag
  49. make
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT
  53. rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
  54. %find_lang %{name}-3.0
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %post -p /sbin/ldconfig
  58. %postun
  59. /sbin/ldconfig
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. %posttrans
  62. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  63. %files -f %{name}-3.0.lang
  64. %defattr(-,root,root)
  65. %doc AUTHORS COPYING NEWS README
  66. %{_libdir}/lib*.so.*
  67. %{_libdir}/girepository-1.0/GWeather-3.0.typelib
  68. %dir %{_datadir}/libgweather
  69. %{_datadir}/libgweather/Locations.xml
  70. %{_datadir}/libgweather/Locations.ja.xml
  71. %{_datadir}/libgweather/locations.dtd
  72. %{_datadir}/icons/gnome/*/status/weather-*
  73. %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.enums.xml
  74. %{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml
  75. %files l10n
  76. %defattr(-,root,root)
  77. %{_datadir}/libgweather/*.xml
  78. %exclude %{_datadir}/libgweather/Locations.xml
  79. %exclude %{_datadir}/libgweather/Locations.ja.xml
  80. %exclude %{_datadir}/libgweather/locations.dtd
  81. %files devel
  82. %defattr(-,root,root)
  83. %{_libdir}/lib*.so
  84. %{_libdir}/pkgconfig/*
  85. %{_includedir}/*
  86. %{_datadir}/gir-1.0/GWeather-3.0.gir
  87. %{_datadir}/gtk-doc/html/libgweather-3.0
  88. %changelog
  89. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  90. - new upstream release
  91. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  92. - new upstream release
  93. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  94. - new upstream release
  95. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  96. - new upstream release
  97. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  98. - new upstream release
  99. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  100. - new upstream release
  101. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  102. - new upstream release
  103. - change BuildRequires: gtk3-devel instead of gtk2-devel
  104. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  105. - new upstream release
  106. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  107. - rebuild with rpm-4.8.1 for pkg-config file
  108. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  109. - new upstream release
  110. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  111. - new upstream release
  112. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  113. - new upstream release
  114. - removed BR: gnome-vfs2-devel
  115. - added BR: libsoup-devel
  116. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1
  117. - new upstream release
  118. * Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  119. - split l10n xml files to -l10n subpackage.
  120. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  121. - new upstream release
  122. - remove static libs
  123. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
  124. - new upstream release
  125. * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  126. - new upstream release
  127. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  128. - new upstream release
  129. * Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1
  130. - new upstream release
  131. - added Japanese summary and description, in UTF-8
  132. * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  133. - new upstream release
  134. * Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2
  135. - dropped %%{_smp_mflags} from make option
  136. * Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5
  137. - new upstream release
  138. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
  139. - new upstream release
  140. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  141. - initial package for Vine Linux