marco-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Summary: A window manager for MATE
  2. Name: marco
  3. Version: 1.8.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. # patch for Vine
  10. Patch1001: mate-window-manager-vine-settings.patch
  11. BuildRequires: mate-common
  12. BuildRequires: mate-doc-utils
  13. BuildRequires: mate-dialogs
  14. BuildRequires: gtk2-devel
  15. BuildRequires: libcanberra-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: startup-notification-devel
  18. BuildRequires: gtk-doc
  19. BuildRequires: itstool
  20. BuildRequires: autoconf
  21. BuildRequires: automake
  22. Requires(posttrans,postun): glib2
  23. Requires(post,postun): desktop-file-utils
  24. Obsoletes: mate-window-manager < 1.8.0
  25. Provides: mate-window-manager = %{version}-%{release}
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. Marco is not a meta-City as in an urban center, but rather
  32. Meta-ness as in the state of being meta. i.e. marco : meta as
  33. opacity : opaque. Also it may have something to do with the Meta key
  34. on UNIX keyboards.
  35. %package devel
  36. Summary: Development tools for %{name}
  37. Summary(ja): %{name} の開発環境
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: pkgconfig
  41. Obsoletes: mate-window-manager-devel < 1.8.0
  42. Provides: mate-window-manager-devel = %{version}-%{release}
  43. %description devel
  44. Header files and libraries for building a extension library for the
  45. %{name}.
  46. %prep
  47. %setup -q
  48. %patch1001 -p1 -b .vine
  49. %build
  50. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  51. %configure \
  52. --disable-static
  53. %{__make} %{?_smp_mflags}
  54. %install
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  57. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  58. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  59. %find_lang %{name}
  60. %clean
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. %post
  63. /sbin/ldconfig
  64. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  65. %postun
  66. /sbin/ldconfig
  67. if [ $1 -eq 0 ]; then
  68. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  69. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  70. fi
  71. %posttrans
  72. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  73. %files -f %{name}.lang
  74. %defattr(-,root,root,-)
  75. %doc COPYING ChangeLog NEWS README
  76. %{_bindir}/%{name}
  77. %{_bindir}/marco-message
  78. %{_bindir}/marco-theme-viewer
  79. %{_bindir}/marco-window-demo
  80. %{_libdir}/libmarco-private.so.*
  81. %{_datadir}/MateConf/gsettings/%{name}.convert
  82. %{_datadir}/applications/%{name}.desktop
  83. %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
  84. %{_datadir}/help/*
  85. %{_datadir}/mate/wm-properties/marco-wm.desktop
  86. %{_datadir}/mate-control-center/keybindings/*.xml
  87. %{_datadir}/%{name}/icons/marco-window-demo.png
  88. %{_datadir}/themes
  89. %{_mandir}/man1/*.1.gz
  90. %files devel
  91. %defattr(-,root,root,-)
  92. %{_includedir}/marco-1
  93. %{_libdir}/libmarco-private.so
  94. %{_libdir}/pkgconfig/libmarco-private.pc
  95. %changelog
  96. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  97. - new upstream release
  98. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  99. - new upstream release
  100. - add BuildRequires: itstool
  101. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  102. - rebuild with VineSeed environment
  103. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  104. - new upstream release
  105. * Sat May 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  106. - new upstream release
  107. - remove BuildRequires: mate-conf-devel
  108. - add Patch1001 (mate-window-manager-vine-settings.patch)
  109. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  110. - new upstream release
  111. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  112. - new upstream release
  113. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  114. - new upstream release
  115. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  116. - change category
  117. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  118. - initial build for Vine Linux