mate-window-manager-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Summary: A window manager for MATE
  2. Name: mate-window-manager
  3. Version: 1.1.0
  4. Release: 2%{?_dist_release}
  5. Source0: %{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: https://matsusoft.com.ar/projects/mate/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: mate-conf-devel
  12. BuildRequires: mate-dialogs
  13. BuildRequires: gtk2-devel
  14. BuildRequires: libcanberra-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: startup-notification-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(post,pre,preun): mate-conf
  21. Requires(post,postun): desktop-file-utils
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. Marco is not a meta-City as in an urban center, but rather
  28. Meta-ness as in the state of being meta. i.e. marco : meta as
  29. opacity : opaque. Also it may have something to do with the Meta key
  30. on UNIX keyboards.
  31. %package devel
  32. Summary: Development tools for mate-window-manager
  33. Summary(ja): mate-window-manager の開発環境
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. %description devel
  38. Header files and libraries for building a extension library for the
  39. mate-window-manager.
  40. %prep
  41. %setup -q
  42. %build
  43. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  44. %configure \
  45. --disable-static \
  46. --disable-scrollkeeper
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  51. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  52. unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  53. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  55. %find_lang marco
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %post
  59. /sbin/ldconfig
  60. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  61. SCHEMAS=" \
  62. marco.schemas"
  63. for S in $SCHEMAS; do
  64. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  65. | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
  66. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  67. %pre
  68. if [ "$1" -gt 1 ]; then
  69. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  70. SCHEMAS=" \
  71. marco.schemas"
  72. for S in $SCHEMAS; do
  73. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  74. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  75. fi
  76. %preun
  77. if [ "$1" -eq 0 ]; then
  78. export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
  79. SCHEMAS=" \
  80. marco.schemas"
  81. for S in $SCHEMAS; do
  82. echo %{_sysconfdir}/mateconf/schemas/$S; done \
  83. | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
  84. fi
  85. %postun
  86. /sbin/ldconfig
  87. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  88. %files -f marco.lang
  89. %defattr(-,root,root,-)
  90. %doc COPYING ChangeLog NEWS README
  91. %{_sysconfdir}/mateconf/schemas/marco.schemas
  92. %{_bindir}/marco
  93. %{_bindir}/marco-message
  94. %{_bindir}/marco-theme-viewer
  95. %{_bindir}/marco-window-demo
  96. %{_libdir}/libmarco-private.so.*
  97. %{_datadir}/applications/marco.desktop
  98. %{_datadir}/marco/icons/marco-window-demo.png
  99. %{_datadir}/mate/help
  100. %{_datadir}/mate/wm-properties/marco-wm.desktop
  101. %{_datadir}/mate-control-center/keybindings/*.xml
  102. %{_datadir}/themes
  103. %{_mandir}/man1/*.1.gz
  104. %files devel
  105. %defattr(-,root,root,-)
  106. %{_includedir}/marco-1
  107. %{_libdir}/libmarco-private.so
  108. %{_libdir}/pkgconfig/libmarco-private.pc
  109. %changelog
  110. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  111. - change category
  112. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  113. - initial build for Vine Linux