atkmm-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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.28.0
  7. Release: 1%{?_dist_release}
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPL
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: atk >= 1.12.0
  15. Requires: glibmm >= 2.24.0
  16. BuildRequires: atk-devel >= 1.12.0
  17. BuildRequires: glibmm-devel >= 2.24.0
  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 "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  36. make install DESTDIR=%{buildroot}
  37. find %{buildroot} -type f -name "*.a" -exec rm -f {} ';'
  38. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  39. # Fix documentation installation, put everything under gtk-doc
  40. mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/%{name}-%{ver}
  41. mv ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{ver}/* %{buildroot}%{_datadir}/gtk-doc/html/%{name}-%{ver}/
  42. # devhelp path fix
  43. sed -i 's:doc/%{name}-%{ver}:gtk-doc/html/%{name}-%{ver}:g' %{buildroot}%{_datadir}/devhelp/books/%{name}-%{ver}/%{name}-%{ver}.devhelp2
  44. # remove demos, examples
  45. rm -rf %{buildroot}%{_datadir}/%{name}-%{ver}/demo
  46. rm -rf %{buildroot}%{_datadir}/%{name}-%{ver}/examples
  47. %clean
  48. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  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. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.28.0-1
  65. - new upstream release.
  66. * Sat Jan 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.24.2-3
  67. - renuilt with atk-2.27.1 anf glibmm-2.54.1.
  68. * Wed Jun 29 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.2-2
  69. - rebuild with gcc-5.4.0
  70. * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.2-1
  71. - new upstream release
  72. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-1
  73. - new upstream release
  74. * Sun Feb 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.7-2
  75. - rebuild with VineSeed environment
  76. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.7-1
  77. - new upstream release
  78. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.6-1
  79. - new upstream release
  80. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.5-1
  81. - new upstream release
  82. * Sun Jan 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.2-1
  83. - new upstream release
  84. * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.1-1
  85. - new upstream release
  86. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.22.0-1
  87. - initial build for Vine Linux