libmateweather-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Summary: Provides access to weather information from the net
  2. Name: libmateweather
  3. Version: 1.6.2
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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. Requires(post,postun): gtk2
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. libmateweather is a library to access weather information from online
  24. services for numerous locations.
  25. %package devel
  26. Summary: Development tools for libmateweather
  27. Summary(ja): libmateweather の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. Header files and libraries for building a extension library for the
  33. libmateweather.
  34. %package doc
  35. Summary: Documentation for libmateweather
  36. Summary(ja): libmateweather 用のドキュメント
  37. Group: Documentation
  38. Requires: %{name} = %{version}-%{release}
  39. BuildArch: noarch
  40. %description doc
  41. This package contains documentation for libmateweather.
  42. %prep
  43. %setup -q
  44. %build
  45. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  46. %configure \
  47. --disable-static
  48. %{__make} %{?_smp_mflags}
  49. %install
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  52. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  53. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  54. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  55. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  56. %find_lang %{name}
  57. %clean
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. %post
  60. /sbin/ldconfig
  61. touch --no-create %{_datadir}/icons/hicolor
  62. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  63. %postun
  64. /sbin/ldconfig
  65. if [ $1 -eq 0 ]; then
  66. touch --no-create %{_datadir}/icons/hicolor
  67. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  68. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  69. fi
  70. %posttrans
  71. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  72. %files -f %{name}.lang
  73. %defattr(-,root,root,-)
  74. %doc COPYING ChangeLog NEWS README
  75. %{_libdir}/libmateweather.so.*
  76. %{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
  77. %{_datadir}/icons/mate/*/*/*
  78. %{_datadir}/libmateweather
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/libmateweather
  82. %{_libdir}/libmateweather.so
  83. %{_libdir}/pkgconfig/mateweather.pc
  84. %files doc
  85. %defattr(-,root,root,-)
  86. %{_datadir}/gtk-doc/html/libmateweather
  87. %changelog
  88. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  89. - rebuild with VineSeed environment
  90. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  91. - new upstream release
  92. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  93. - new upstream release
  94. - remove BuildRequires: mate-conf-devel
  95. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  96. - new upstream release
  97. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  98. - new upstream release
  99. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  100. - initial build for Vine Linux