muffin-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Name: muffin
  2. Summary: The cinnamon window manager based on mutter
  3. Version: 2.2.1
  4. Release: 1%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://cinnamon.linuxmint.com/
  8. Source0: %{name}-%{version}.tar.gz
  9. Patch0: muffin-2.2.1-cogl-1.18.x.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cinnamon-desktop-devel >= 1.0.0
  12. BuildRequires: gtk3-devel >= 3.3.7
  13. BuildRequires: clutter-devel >= 1.7.5
  14. BuildRequires: cairo-devel >= 1.10.0
  15. BuildRequires: gobject-introspection-devel >= 0.9.5
  16. BuildRequires: libcanberra-gtk3-devel >= 0.26
  17. BuildRequires: startup-notification-devel
  18. BuildRequires: libSM-devel
  19. BuildRequires: libXcomposite-devel >= 0.2
  20. BuildRequires: libXcursor-devel
  21. BuildRequires: libXinerama-devel
  22. BuildRequires: gsettings-desktop-schemas-devel
  23. BuildRequires: zenity
  24. BuildRequires: gnome-doc-utils
  25. BuildRequires: gnome-common
  26. Requires(postun,posttrans): glib2
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. The Cinnamon Window Manager Based on Mutter 3.2.1.
  32. %package devel
  33. Summary: Development tools for muffin
  34. Summary(ja): muffin の開発環境
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. %description devel
  39. Header files and libraries for building a extension library for the
  40. muffin.
  41. %prep
  42. %setup -q
  43. %patch0 -p1 -b .cogl
  44. %build
  45. export CFLAGS="$CFLAGS -Wno-deprecated-declarations"
  46. NOCONFIGURE=1 ./autogen.sh
  47. %configure --disable-static --enable-compile-warnings=minimum
  48. make %{?_smp_mflags}
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  53. %find_lang %{name}
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post -p /sbin/ldconfig
  57. %postun
  58. /sbin/ldconfig
  59. if [ $1 -eq 0 ]; then
  60. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  61. fi
  62. %posttrans
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. %files -f %{name}.lang
  65. %defattr(-,root,root,-)
  66. %doc README NEWS COPYING AUTHORS
  67. %{_bindir}/muffin
  68. %{_bindir}/muffin-message
  69. %{_bindir}/muffin-theme-viewer
  70. %{_bindir}/muffin-window-demo
  71. %{_libdir}/libmuffin.so.*
  72. %{_libdir}/%{name}/Meta-Muffin.0.typelib
  73. %{_libdir}/%{name}/plugins
  74. %{_datadir}/GConf/gsettings/muffin-schemas.convert
  75. %{_datadir}/applications/muffin.desktop
  76. %{_datadir}/glib-2.0/schemas/org.cinnamon.muffin.gschema.xml
  77. %{_datadir}/%{name}/icons/muffin-window-demo.png
  78. %{_mandir}/man1/*.1.gz
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/muffin
  82. %{_libdir}/libmuffin.so
  83. %{_libdir}/%{name}/Meta-Muffin.0.gir
  84. %{_libdir}/pkgconfig/libmuffin.pc
  85. %{_libdir}/pkgconfig/muffin-plugins.pc
  86. %changelog
  87. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
  88. - new upstream release
  89. - add BuildRequires: cinnamon-desktop-devel
  90. - add Patch0 (muffin-2.2.1-cogl-1.18.x.patch)
  91. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  92. - update to 1.8.2
  93. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  94. - new upstream release
  95. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
  96. - new upstream release
  97. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  98. - new upstream release
  99. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  100. - new upstream release
  101. - add BuildRequires: gsettings-desktop-schemas-devel
  102. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-UP1-1
  103. - initial build for Vine Linux