marco-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.3
  3. %define rel 1
  4. Summary: A window manager for MATE
  5. Name: marco
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: User Interface/Desktops
  11. URL: http://mate-desktop.org/
  12. # patch for Vine
  13. Patch1001: mate-window-manager-vine-settings.patch
  14. BuildRequires: mate-common
  15. BuildRequires: libSM-devel
  16. BuildRequires: gtk3-devel >= 3.22
  17. BuildRequires: libcanberra-gtk3-devel
  18. BuildRequires: pango-devel >= 1.2.0
  19. BuildRequires: libXcomposite-devel >= 0.3
  20. BuildRequires: libgtop2-devel
  21. BuildRequires: zenity
  22. BuildRequires: startup-notification-devel >= 0.7
  23. BuildRequires: gtk-doc
  24. BuildRequires: itstool
  25. BuildRequires: autoconf
  26. BuildRequires: automake
  27. Requires: zenity
  28. Requires(posttrans,postun): glib2
  29. Requires(post,postun): desktop-file-utils
  30. Obsoletes: mate-window-manager < 1.8.0
  31. Provides: mate-window-manager = %{version}-%{release}
  32. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: Takemikaduchi, iwaim
  36. %description
  37. Marco is not a meta-City as in an urban center, but rather
  38. Meta-ness as in the state of being meta. i.e. marco : meta as
  39. opacity : opaque. Also it may have something to do with the Meta key
  40. on UNIX keyboards.
  41. %package devel
  42. Summary: Development tools for %{name}
  43. Summary(ja): %{name} の開発環境
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}-%{release}
  46. Requires: pkgconfig
  47. Obsoletes: mate-window-manager-devel < 1.8.0
  48. Provides: mate-window-manager-devel = %{version}-%{release}
  49. %description devel
  50. Header files and libraries for building a extension library for the
  51. %{name}.
  52. %prep
  53. %setup -q
  54. %patch1001 -p1 -b .vine
  55. %build
  56. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  57. %configure \
  58. --disable-static
  59. %{__make} %{?_smp_mflags}
  60. %install
  61. %{__rm} -rf ${RPM_BUILD_ROOT}
  62. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  63. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  64. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  65. %find_lang %{name}
  66. %clean
  67. %{__rm} -rf ${RPM_BUILD_ROOT}
  68. %post
  69. /sbin/ldconfig
  70. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  71. %postun
  72. /sbin/ldconfig
  73. if [ $1 -eq 0 ]; then
  74. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  75. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  76. fi
  77. %posttrans
  78. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  79. %files -f %{name}.lang
  80. %defattr(-,root,root,-)
  81. %doc COPYING ChangeLog NEWS README
  82. %{_bindir}/%{name}
  83. %{_bindir}/marco-message
  84. %{_bindir}/marco-theme-viewer
  85. %{_bindir}/marco-window-demo
  86. %{_libdir}/libmarco-private.so.*
  87. %{_datadir}/applications/%{name}.desktop
  88. %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
  89. %{_datadir}/help/*
  90. %{_datadir}/mate/wm-properties/marco-wm.desktop
  91. %{_datadir}/mate-control-center/keybindings/*.xml
  92. %{_datadir}/%{name}/icons/marco-window-demo.png
  93. %{_datadir}/themes
  94. %{_mandir}/man1/*.1.gz
  95. %files devel
  96. %defattr(-,root,root,-)
  97. %{_includedir}/marco-1
  98. %{_libdir}/libmarco-private.so
  99. %{_libdir}/pkgconfig/libmarco-private.pc
  100. %changelog
  101. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.3-1
  102. - updated to 1.20.3.
  103. * Wed Mar 28 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
  104. - update to 1.20.1
  105. * Wed Jan 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  106. - update to 1.18.2
  107. * Sat Nov 18 2017 Munehiro Yamamoto <munepi@vinelinux.org> 1.18.1-2
  108. - added BuildRequires: libSM-devel
  109. * Thu May 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  110. - update to 1.18.1
  111. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  112. - update to 1.18.0
  113. - move to GTK3+
  114. - update BuildRequires
  115. - drop gtk2-devel
  116. - add gtk3-devel
  117. - drop libcanberra-devel
  118. - add libcanberra-gtk3-devel
  119. - drop libSM-devel
  120. - add pango-devel
  121. - add libXcomposite-devel
  122. - add libgtop2-devel
  123. * Thu Nov 24 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  124. - new upstream release
  125. - drop BuildRequires: mate-doc-utils
  126. - update Packager
  127. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.2-1
  128. - new upstream release
  129. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  130. - new upstream release
  131. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  132. - new upstream release
  133. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  134. - new upstream release
  135. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  136. - new upstream release
  137. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  138. - new upstream release
  139. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  140. - new upstream release
  141. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1
  142. - new upstream release
  143. - add BuildRequires: zenity
  144. - remove BuildRequires: mate-dialog
  145. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  146. - new upstream release
  147. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  148. - new upstream release
  149. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  150. - new upstream release
  151. - add BuildRequires: itstool
  152. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-2
  153. - rebuild with VineSeed environment
  154. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
  155. - new upstream release
  156. * Sat May 25 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  157. - new upstream release
  158. - remove BuildRequires: mate-conf-devel
  159. - add Patch1001 (mate-window-manager-vine-settings.patch)
  160. * Sat Nov 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
  161. - new upstream release
  162. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  163. - new upstream release
  164. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  165. - new upstream release
  166. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  167. - change category
  168. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  169. - initial build for Vine Linux