libmateweather-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Summary: Provides access to weather information from the net
  2. Name: libmateweather
  3. Version: 1.14.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: libxml2-devel
  11. BuildRequires: gtk2-devel
  12. BuildRequires: libsoup-devel
  13. BuildRequires: gtk-doc
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. Requires(posttrans,postun): glib2
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. libmateweather is a library to access weather information from online
  23. services for numerous locations.
  24. %package l10n
  25. Summary: Localized xml files for libmateweather
  26. Summary(ja): libmateweather の多言語データ
  27. Group: System Environment/Libraries
  28. Requires: %{name} = %{version}
  29. %description l10n
  30. This package contains localized xml files for libmateweather.
  31. (except for English and Japanese)
  32. %package devel
  33. Summary: Development tools for libmateweather
  34. Summary(ja): libmateweather の開発環境
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. %description devel
  39. Header files and libraries for building a extension library for the
  40. libmateweather.
  41. %package docs
  42. Summary: Documentation for libmateweather
  43. Summary(ja): libmateweather 用のドキュメント
  44. Group: Documentation
  45. BuildArch: noarch
  46. %description docs
  47. This package contains documentation for libmateweather.
  48. %prep
  49. %setup -q
  50. %build
  51. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  52. %configure \
  53. --disable-static
  54. %{__make} %{?_smp_mflags}
  55. %install
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  58. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  59. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  60. %find_lang %{name}
  61. %clean
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %post -p /sbin/ldconfig
  64. %postun
  65. /sbin/ldconfig
  66. if [ $1 -eq 0 ]; then
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. fi
  69. %posttrans
  70. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  71. %files -f %{name}.lang
  72. %defattr(-,root,root,-)
  73. %doc COPYING ChangeLog NEWS README
  74. %{_libdir}/libmateweather.so.*
  75. %{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
  76. %{_datadir}/icons/mate/*/*/*
  77. %{_datadir}/libmateweather/Locations.xml
  78. %{_datadir}/libmateweather/Locations.ja.xml
  79. %files l10n
  80. %defattr(-,root,root)
  81. %{_datadir}/libmateweather/*
  82. %exclude %{_datadir}/libmateweather/Locations.xml
  83. %exclude %{_datadir}/libmateweather/Locations.ja.xml
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_includedir}/libmateweather
  87. %{_libdir}/libmateweather.so
  88. %{_libdir}/pkgconfig/mateweather.pc
  89. %files docs
  90. %defattr(-,root,root,-)
  91. %{_datadir}/gtk-doc/html/libmateweather
  92. %changelog
  93. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  94. - new upstream release
  95. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  96. - new upstream release
  97. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  98. - new upstream release
  99. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  100. - new upstream release
  101. - create %%{name}-l10n subpackage
  102. - rename document subpackage
  103. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  104. - new upstream release
  105. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  106. - rebuild with VineSeed environment
  107. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  108. - new upstream release
  109. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  110. - new upstream release
  111. - remove BuildRequires: mate-conf-devel
  112. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  113. - new upstream release
  114. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  115. - new upstream release
  116. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  117. - initial build for Vine Linux