libmatewnck-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Summary: Window Navigator Construction Kit library for Mate
  2. Name: libmatewnck
  3. Version: 1.4.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: System Environment/Libraries
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: gtk2-devel
  11. BuildRequires: libX11-devel
  12. BuildRequires: startup-notification-devel
  13. BuildRequires: gtk-doc
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. libmatewnck is Window Navigator Construction Kit, i.e. a library to use
  22. for writing pagers and taskslists and stuff.
  23. %package devel
  24. Summary: Development tools for libmatewnck
  25. Summary(ja): libmate の開発環境
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. Requires: gtk2-devel
  30. %description devel
  31. Header files and libraries for building a extension library for the
  32. libmatewnck.
  33. %package doc
  34. Summary: Documentation for libmatewnck
  35. Summary(ja): libmate 用のドキュメント
  36. Group: Documentation
  37. Requires: %{name} = %{version}-%{release}
  38. BuildArch: noarch
  39. %description doc
  40. This package contains documentation for libmatewnck.
  41. %prep
  42. %setup -q
  43. %build
  44. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  45. %configure \
  46. --disable-static \
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  53. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  55. %find_lang %{name}
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc COPYING.LIB ChangeLog NEWS README
  61. %{_bindir}/matewnck-urgency-monitor
  62. %{_bindir}/matewnckprop
  63. %{_libdir}/girepository-1.0/Matewnck-1.0.typelib
  64. %{_libdir}/libmatewnck.so.*
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_includedir}/libmatewnck
  68. %{_libdir}/libmatewnck.so
  69. %{_libdir}/pkgconfig/libmatewnck.pc
  70. %{_datadir}/gir-1.0/Matewnck-1.0.gir
  71. %files doc
  72. %defattr(-,root,root,-)
  73. %{_datadir}/gtk-doc/html/libmatewnck
  74. %changelog
  75. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  76. - initial build