atkmm-vl.spec 3.2 KB

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