libmatecanvas-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: The MATE Canvas library
  2. Name: libmatecanvas
  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: libart_lgpl-devel
  12. BuildRequires: libglade2-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. This is the non-gui part of the library formerly known as
  22. mate-libs.
  23. %package devel
  24. Summary: Development tools for libmatecanvas
  25. Summary(ja): libmatecanvas の開発環境
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. Requires: gtk2-devel
  30. Requires: pango-devel
  31. %description devel
  32. Header files and libraries for building a extension library for the
  33. libmatecanvas.
  34. %package doc
  35. Summary: Documentation for libmatecanvas
  36. Summary(ja): libmatecanvas 用のドキュメント
  37. Group: Documentation
  38. Requires: %{name} = %{version}-%{release}
  39. BuildArch: noarch
  40. %description doc
  41. This package contains documentation for libmatecanvas.
  42. %prep
  43. %setup -q
  44. %build
  45. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  46. %configure \
  47. --disable-static \
  48. --enable-glade
  49. %{__make} %{?_smp_mflags}
  50. %install
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  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. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files -f %{name}.lang
  61. %defattr(-,root,root,-)
  62. %doc COPYING.LIB ChangeLog NEWS README
  63. %{_libdir}/libmatecanvas-2.so.*
  64. %{_libdir}/libglade/2.0/libgladematecanvas.so
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_includedir}/libmatecanvas-2.0
  68. %{_libdir}/libmatecanvas-2.so
  69. %{_libdir}/pkgconfig/libmatecanvas-2.0.pc
  70. %files doc
  71. %defattr(-,root,root,-)
  72. %{_datadir}/gtk-doc/html/libmatecanvas
  73. %changelog
  74. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  75. - new upstream release
  76. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  77. - new upstream release
  78. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  79. - initial build for Vine Linux