marco-vl.spec 4.2 KB

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