libgweather-vl.spec 6.3 KB

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