xfce4-weather-plugin-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. Name: xfce4-weather-plugin
  2. Summary: Weather plugin for the Xfce panel
  3. Summary(ja): Xfce パネル用 天気情報プラグイン
  4. Version: 0.8.4
  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.26.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
  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. * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.4-1
  57. - new upstream release
  58. * Tue Sep 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.3-2
  59. - rebuilt with upower-0.99.1
  60. * Wed Sep 17 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.8.3-1
  61. - updated to 0.8.3
  62. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.7.4-5
  63. - rebuild with VineSeed environment
  64. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.7.4-4
  65. - rebuild with Xfce-4.10.0
  66. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.7.4-3
  67. - initial build for Vine Linux
  68. * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  70. * Fri Feb 04 2011 Kevin Fenzi <kevin@tummy.com> - 0.7.4-1
  71. - Update to 0.7.4
  72. * Thu Jan 13 2011 Kevin Fenzi <kevin@tummy.com> - 0.7.3-2
  73. - Rebuild for Xfce 4.8
  74. * Sun Aug 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.3-1
  75. - Update to 0.7.3, fixes cache directory creation
  76. * Tue Jul 28 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.2-1
  77. - Update to 0.7.2
  78. - No longer contains weather.com logo, downloaded to cache at runtime (#513057)
  79. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  81. * Fri Jul 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-1
  82. - Update to 0.7.0
  83. * Wed Jun 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.4-1
  84. - Update to 0.6.4
  85. * Sat Jun 13 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.3-1
  86. - Update to 0.6.3
  87. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-5
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-4
  90. - Rebuild for Xfce 4.6 (Beta 3)
  91. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6.2-3
  92. - Autorebuild for GCC 4.3
  93. * Fri Dec 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-2
  94. - Rebuild for Xfce 4.4.2
  95. * Mon Nov 19 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.2-1
  96. - Update to 0.6.0 on Xfce 4.4.1
  97. * Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.0-1
  98. - Update to 0.6.0 on Xfce 4.4.
  99. - Update gtk-icon-cache scriptlets.
  100. * Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-3
  101. - Bump release for devel checkin.
  102. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-2
  103. - Rebuild for XFCE 4.3.99.1.
  104. - BR perl(XML::Parser).
  105. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.99.1-1
  106. - Update to 0.5.99.1.
  107. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.90.2-1
  108. - Update to 0.5.90.2 on XFCE 4.3.90.2.
  109. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-7
  110. - Mass rebuild for Fedora Core 6.
  111. * Sat Jul 29 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-6
  112. - BuildRequire gettext (#193444)
  113. - Require xfce4-panel.
  114. * Thu Feb 16 2006 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-5
  115. - Rebuild for Fedora Extras 5.
  116. * Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-4
  117. - Add libxfcegui4-devel BuildReqs.
  118. - Fix %%defattr.
  119. * Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-3
  120. - Initial Fedora Extras version.
  121. - Rebuild for XFCE 4.2.3.
  122. - disable-static instead of removing .a files.
  123. * Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-2.fc4.cw
  124. - Add libxml2 BuildReqs.
  125. * Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-1.fc4.cw
  126. - Rebuild for Core 4.
  127. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.4.9-1.fc3.cw
  128. - Updated to version 0.4.9.
  129. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.9.1-1.fc3.cw
  130. - Initial RPM release.