gdlmm-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. %define ver 3.0
  2. Summary: A C++ wrapper for gdl
  3. Summary(ja): gdl の C++ ラッパー
  4. Name: gdlmm
  5. Version: 3.2.1
  6. Release: 1%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://ftp.gnome.org/pub/GNOME/sources/gdlmm/3.2/%{name}-%{version}.tar.xz
  10. Buildroot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: gdl >= 3.0.0
  12. Requires: glibmm >= 2.16.0
  13. Requires: gtkmm3 >= 3.0.0
  14. BuildRequires: gdl-devel >= 3.0.0
  15. BuildRequires: glibmm-devel >= 2.16.0
  16. BuildRequires: gtkmm3-devel >= 3.0.0
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. Gdlmm is a C++ wrapper for gdl.
  22. %package devel
  23. Summary: Development tools for gdlmm applications.
  24. Summary(ja): gdlmm アプリケーションの開発用ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: gdl-devel >= 3.0.0
  28. Requires: glibmm-devel >= 2.16.0
  29. Requires: gtkmm3-devel >= 3.0.0
  30. %description devel
  31. Header files and libraries for building a extension library for the gdlmm.
  32. %prep
  33. %setup -q
  34. %build
  35. %configure --disable-static
  36. make %{?_smp_mflags}
  37. %install
  38. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
  41. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  42. # remove demos, examples
  43. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo
  44. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %clean
  48. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-, root, root)
  51. %doc AUTHORS COPYING ChangeLog NEWS README
  52. %{_libdir}/lib*.so.*
  53. %files devel
  54. %defattr(-, root, root)
  55. %{_includedir}/*
  56. %{_libdir}/*.so
  57. %{_libdir}/%{name}-*
  58. %{_libdir}/pkgconfig/*.pc
  59. %{_datadir}/devhelp/books/gdlmm-3.0/gdlmm-3.0.devhelp2
  60. %{_datadir}/doc/gdlmm-%{ver}
  61. %changelog
  62. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  63. - new upstream release
  64. * Sun Oct 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  65. - new upstream release
  66. - change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
  67. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
  68. - rebuild with rpm-4.8.1 for pkg-config file
  69. * Thu Jul 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  70. - initial build for Vine Linux