libvtemm-vl.spec 2.7 KB

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