clutter-imcontext-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Name: clutter-imcontext
  2. Version: 0.1.6
  3. Release: 1%{?_dist_release}
  4. Summary: IMContext Framework Library for Clutter
  5. Group: System Environment/Libraries
  6. License: LGPLv2
  7. URL: http://www.moblin.org/
  8. Source0: %{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: glib2-devel
  11. BuildRequires: clutter-devel
  12. BuildRequires: gtk-doc
  13. # Require these because the git tarball doesn't have the configure built
  14. BuildRequires: libtool
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. IMContext Framework Library for Clutter
  20. %package devel
  21. Summary: Development package for %{name}
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: clutter-devel
  25. Requires: pkgconfig
  26. %description devel
  27. Files for development with %{name}.
  28. %package docs
  29. Summary: Documentation package for %{name}
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. BuildArch: noarch
  33. %description docs
  34. Documentation for development with %{name}.
  35. %prep
  36. %setup -q
  37. # Don't run configure from autogen.sh
  38. sed -i 's|echo|exit 0|g' autogen.sh
  39. ./autogen.sh
  40. %build
  41. %configure --disable-static --enable-gtk-doc
  42. make %{?_smp_mflags} V=1
  43. %install
  44. rm -rf %{buildroot}
  45. make install DESTDIR=%{buildroot} INSTALL='install -p'
  46. #Remove libtool archives.
  47. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  48. %clean
  49. rm -rf %{buildroot}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc COPYING AUTHORS ChangeLog
  55. %{_sysconfdir}/clutter-imcontext/enable_autoshow
  56. %{_bindir}/clutter-scan-immodules
  57. %{_libdir}/lib%{name}-0.1.so.0
  58. %{_libdir}/lib%{name}-0.1.so.0.0.0
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/%{name}-0.1
  62. %{_libdir}/pkgconfig/%{name}-0.1.pc
  63. %{_libdir}/*.so
  64. %files docs
  65. %defattr(-,root,root,-)
  66. %{_datadir}/gtk-doc/html/%{name}
  67. %changelog
  68. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.6-1
  69. - initial build for Vine Linux
  70. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-4
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  72. * Sat Jun 19 2010 Peter Robinson <pbrobinson@gmail.com> 0.1.6-3
  73. - Make docs package noarch
  74. * Sat Jun 19 2010 Peter Robinson <pbrobinson@gmail.com> 0.1.6-2
  75. - Split out docs to a subpackage - fixes 602882, 604343
  76. * Sat May 1 2010 Peter Robinson <pbrobinson@gmail.com> 0.1.6-1
  77. - New 0.1.6 upstream release.
  78. * Fri Aug 7 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-2
  79. - Spec file cleanups
  80. * Thu Aug 6 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.4-1
  81. - New 0.1.4 upstream release.
  82. - license clarfied so remove spec file note
  83. - remove upstreamed clutter patches
  84. * Tue Aug 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-6
  85. - Add some more clutter 1.0 bits
  86. * Thu Jul 30 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-5
  87. - Add a patch for clutter 1.0
  88. * Sun Jul 26 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-4
  89. - A small fix up
  90. * Mon Jul 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-3
  91. - More review request updates, license clarification
  92. * Sun Jul 19 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-2
  93. - Updates from the review request
  94. * Wed Jul 15 2009 Peter Robinson <pbrobinson@gmail.com> 0.1.2-1
  95. - Initial packaging