goocanvasmm-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. %define ver 0.1
  2. Summary: A C++ wrapper for goocanvas
  3. Summary(ja): goocanvas の C++ ラッパー
  4. Name: goocanvasmm
  5. Version: 0.15.4
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. License: LGPLv2
  9. URL: http://live.gnome.org/GooCanvas
  10. Source: ftp://ftp.gnome.org/pub/GNOME/sources/goocanvasmm/0.15/%{name}-%{version}.tar.bz2
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: goocanvas-devel >= 0.14
  13. BuildRequires: glibmm-devel >= 2.14.2
  14. BuildRequires: gtkmm2-devel >= 2.10.9
  15. BuildRequires: cairomm-devel
  16. Requires: goocanvas >= 0.14
  17. Requires: glibmm >= 2.14.2
  18. Requires: gtkmm2 >= 2.10.9
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. Goocanvasmm is a C++ wrapper for goocanvas.
  24. %package devel
  25. Summary: Development tools for goocanvasmm applications.
  26. Summary(ja): goocanvasmm アプリケーションの開発用ファイル
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: goocanvas-devel >= 0.14
  30. Requires: glibmm-devel >= 2.14.2
  31. Requires: gtkmm2-devel >= 2.10.9
  32. %description devel
  33. Header files and libraries for building a extension library for the goocanvasmm.
  34. %prep
  35. %setup -q
  36. %build
  37. %configure \
  38. --disable-static \
  39. --disable-documentation
  40. make %{?_smp_mflags}
  41. %install
  42. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
  45. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  46. # remove demos, examples
  47. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo
  48. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %clean
  52. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  53. %files
  54. %defattr(-, root, root)
  55. %doc AUTHORS COPYING ChangeLog NEWS README
  56. %{_libdir}/lib*.so.*
  57. %files devel
  58. %defattr(-, root, root)
  59. %{_includedir}/*
  60. %{_libdir}/*.so
  61. %{_libdir}/%{name}-*
  62. %{_libdir}/pkgconfig/*.pc
  63. %changelog
  64. * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.4-1
  65. - new upstream release
  66. - add BuildRequires: cairomm-devel
  67. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15.3-1
  68. - new upstream release
  69. - built with rpm-4.8.1 for pkg-config
  70. - added --disable-documentation to %%configure
  71. * Thu Jul 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
  72. - initial build for Vine Linux