xfce4-weather-plugin-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Name: xfce4-weather-plugin
  2. Summary: Weather plugin for the Xfce panel
  3. Summary(ja): Xfce パネル用 天気情報プラグイン
  4. Version: 0.8.5
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2
  8. URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
  9. Source0: http://archive.xfce.org/src/panel-plugins/%{name}/0.8/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gettext
  12. BuildRequires: glib2-devel >= 2.20.0
  13. BuildRequires: gtk2-devel >= 2.14.0
  14. BuildRequires: intltool
  15. BuildRequires: libsoup-devel >= 2.32.0
  16. BuildRequires: libxfce4ui-devel >= 4.7.0
  17. BuildRequires: libxfce4util-devel >= 4.7.0
  18. BuildRequires: libxml2-devel >= 2.4.0
  19. BuildRequires: upower-devel >= 0.9.0
  20. BuildRequires: xfce4-panel-devel >= 4.7.0
  21. Requires: xfce4-panel >= 4.7.0
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. A weather plugin for the Xfce panel. It shows the current temperature and
  26. weather condition, using weather data provided by xoap.weather.com.
  27. %prep
  28. %setup -q
  29. %build
  30. %configure --enable-silent-rules --disable-static --enable-upower
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  35. rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
  36. %find_lang %{name}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ] ; then
  43. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  45. fi
  46. %posttrans
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS COPYING ChangeLog README NEWS TODO
  51. %{_libdir}/xfce4/panel/plugins/*.so
  52. %{_datadir}/xfce4/panel/plugins/*.desktop
  53. %{_datadir}/icons/hicolor/48x48/apps/xfce4-weather.png
  54. %{_datadir}/xfce4/weather
  55. %changelog
  56. * Mon Mar 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.5-1
  57. - updated to 0.8.5
  58. - built with libxfce4util 4.12.1
  59. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.4-1
  60. - new upstream release
  61. * Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.3-2
  62. - rebuilt with upower-0.99.1
  63. * Wed Sep 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.3-1
  64. - updated to 0.8.3
  65. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.7.4-5
  66. - rebuild with VineSeed environment
  67. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.7.4-4
  68. - rebuild with Xfce-4.10.0
  69. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.7.4-3
  70. - initial build for Vine Linux
  71. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  73. * Fri Feb 04 2011 Kevin Fenzi <kevin@tummy.com> - 0.7.4-1
  74. - Update to 0.7.4
  75. * Thu Jan 13 2011 Kevin Fenzi <kevin@tummy.com> - 0.7.3-2
  76. - Rebuild for Xfce 4.8
  77. * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-1
  78. - Update to 0.7.3, fixes cache directory creation
  79. * Tue Jul 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-1
  80. - Update to 0.7.2
  81. - No longer contains weather.com logo, downloaded to cache at runtime (#513057)
  82. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-1
  85. - Update to 0.7.0
  86. * Wed Jun 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.4-1
  87. - Update to 0.6.4
  88. * Sat Jun 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.3-1
  89. - Update to 0.6.3
  90. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-5
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  92. * Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-4
  93. - Rebuild for Xfce 4.6 (Beta 3)
  94. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6.2-3
  95. - Autorebuild for GCC 4.3
  96. * Fri Dec 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-2
  97. - Rebuild for Xfce 4.4.2
  98. * Mon Nov 19 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1
  99. - Update to 0.6.0 on Xfce 4.4.1
  100. * Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-1
  101. - Update to 0.6.0 on Xfce 4.4.
  102. - Update gtk-icon-cache scriptlets.
  103. * Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-3
  104. - Bump release for devel checkin.
  105. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-2
  106. - Rebuild for XFCE 4.3.99.1.
  107. - BR perl(XML::Parser).
  108. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-1
  109. - Update to 0.5.99.1.
  110. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.90.2-1
  111. - Update to 0.5.90.2 on XFCE 4.3.90.2.
  112. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-7
  113. - Mass rebuild for Fedora Core 6.
  114. * Sat Jul 29 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-6
  115. - BuildRequire gettext (#193444)
  116. - Require xfce4-panel.
  117. * Thu Feb 16 2006 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-5
  118. - Rebuild for Fedora Extras 5.
  119. * Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-4
  120. - Add libxfcegui4-devel BuildReqs.
  121. - Fix %%defattr.
  122. * Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-3
  123. - Initial Fedora Extras version.
  124. - Rebuild for XFCE 4.2.3.
  125. - disable-static instead of removing .a files.
  126. * Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-2.fc4.cw
  127. - Add libxml2 BuildReqs.
  128. * Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-1.fc4.cw
  129. - Rebuild for Core 4.
  130. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-1.fc3.cw
  131. - Updated to version 0.4.9.
  132. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.9.1-1.fc3.cw
  133. - Initial RPM release.