libgweather-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. Summary: Library for accessing weather information
  2. Summary(ja): 天気予報情報にアクセスするライブラリ
  3. Name: libgweather
  4. Version: 3.10.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.10/%{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. %find_lang %{name}-locations
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun
  60. /sbin/ldconfig
  61. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  62. %posttrans
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. %files -f %{name}-3.0.lang
  65. %defattr(-,root,root)
  66. %doc AUTHORS COPYING NEWS README
  67. %{_libdir}/lib*.so.*
  68. %{_libdir}/girepository-1.0/GWeather-3.0.typelib
  69. %dir %{_datadir}/libgweather
  70. %{_datadir}/libgweather/Locations.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. %{_localedir}/ja/LC_MESSAGES/libgweather-locations.mo
  76. %files l10n -f %{name}-locations.lang
  77. %defattr(-,root,root)
  78. %exclude %{_localedir}/ja/LC_MESSAGES/libgweather-locations.mo
  79. %files devel
  80. %defattr(-,root,root)
  81. %{_libdir}/lib*.so
  82. %{_libdir}/pkgconfig/*
  83. %{_includedir}/*
  84. %{_datadir}/gir-1.0/GWeather-3.0.gir
  85. %{_datadir}/gtk-doc/html/libgweather-3.0
  86. %changelog
  87. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  88. - new upstream release
  89. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  90. - new upstream release
  91. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  92. - new upstream release
  93. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  94. - new upstream release
  95. * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  96. - new upstream release
  97. * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  98. - new upstream release
  99. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  100. - new upstream release
  101. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  102. - new upstream release
  103. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  104. - new upstream release
  105. - change BuildRequires: gtk3-devel instead of gtk2-devel
  106. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  107. - new upstream release
  108. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  109. - rebuild with rpm-4.8.1 for pkg-config file
  110. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  111. - new upstream release
  112. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  113. - new upstream release
  114. * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
  115. - new upstream release
  116. - removed BR: gnome-vfs2-devel
  117. - added BR: libsoup-devel
  118. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2.1-1
  119. - new upstream release
  120. * Wed Apr 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-2
  121. - split l10n xml files to -l10n subpackage.
  122. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  123. - new upstream release
  124. - remove static libs
  125. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
  126. - new upstream release
  127. * Sun Oct 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  128. - new upstream release
  129. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  130. - new upstream release
  131. * Wed Jul 30 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.22.3-1
  132. - new upstream release
  133. - added Japanese summary and description, in UTF-8
  134. * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  135. - new upstream release
  136. * Sat Apr 19 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.22.1.2-2
  137. - dropped %%{_smp_mflags} from make option
  138. * Thu Apr 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.2-1vl5
  139. - new upstream release
  140. * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
  141. - new upstream release
  142. * Sun Mar 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  143. - initial package for Vine Linux