goocanvasmm-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %define ver 0.1
  2. Summary: A C++ wrapper for goocanvas
  3. Summary(ja): goocanvas の C++ ラッパー
  4. Name: goocanvasmm
  5. Version: 1.90.9
  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/1.90/%{name}-%{version}.tar.xz
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: goocanvas-devel >= 2.0.1
  13. BuildRequires: glibmm-devel >= 2.14.2
  14. BuildRequires: gtkmm3-devel >= 2.91.3
  15. BuildRequires: cairomm-devel
  16. Requires: goocanvas >= 2.0.1
  17. Requires: glibmm >= 2.14.2
  18. Requires: gtkmm3 >= 2.91.3
  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 >= 2.0.1
  30. Requires: glibmm-devel >= 2.14.2
  31. Requires: gtkmm3-devel >= 2.91.3
  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. * Sat Sep 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.90.9-1
  65. - update to 0.90.9
  66. - change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
  67. * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.4-1
  68. - new upstream release
  69. - add BuildRequires: cairomm-devel
  70. * Sun Oct 3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15.3-1
  71. - new upstream release
  72. - built with rpm-4.8.1 for pkg-config
  73. - added --disable-documentation to %%configure
  74. * Thu Jul 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
  75. - initial build for Vine Linux