atkmm-vl.spec 2.6 KB

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