xmonad-extras-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. %define pkg_name xmonad-extras
  2. %define pkg_version 0.15
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: Various modules for xmonad
  5. Summary(ja): xmonadのための様々なモジュール
  6. Name: %{pkg_name}
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. License: BSD3
  10. Group: User Interface/Desktops
  11. URL: http://hackage.haskell.org
  12. Source0: packages
  13. Source11: ghc-paths-0.1.0.9.tar.gz
  14. Source12: ghc-paths.cabal
  15. Source13: libmpd-0.9.0.9.tar.gz
  16. Source14: libmpd.cabal
  17. Source15: transformers-compat-0.6.2.tar.gz
  18. Source16: transformers-compat.cabal
  19. Source17: exceptions-0.10.0.tar.gz
  20. Source18: exceptions.cabal
  21. Source19: temporary-1.3.tar.gz
  22. Source20: temporary.cabal
  23. Source21: hint-0.9.0.tar.gz
  24. Source22: hint.cabal
  25. Source23: xmonad-extras-0.15.tar.gz
  26. Source24: xmonad-extras.cabal
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. BuildRequires: ghc haskell-platform
  29. BuildRequires: xmonad xmonad-contrib
  30. BuildRequires: libffi-devel gmp-devel zlib-devel
  31. BuildRequires: xorg-x11-devel
  32. # BuildRequires: alsa-lib-devel
  33. BuildRequires: libXScrnSaver-devel
  34. BuildRequires: ncurses-devel
  35. BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
  36. Requires: haskell-platform-dep
  37. Requires: xmonad xmonad-contrib
  38. Requires: libXScrnSaver-devel
  39. Vendor: Project Vine
  40. Distribution: Vine Linux
  41. Packager: ara_t
  42. %description
  43. Various modules for xmonad that cannot be added to xmonad-contrib
  44. because of additional dependencies.
  45. %description -l ja
  46. サードパーティーによるxmonad拡張であり、依存パッケージの追加のために
  47. xmonad-contribに含まれなかったモジュールを含みます。
  48. %prep
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %build
  51. export PATH=${RPM_BUILD_ROOT}%{_bindir}:${PATH}
  52. %ghc_pkg_init
  53. cd %{_builddir}
  54. for pkg in `cat %{SOURCE0}`; do
  55. %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
  56. pushd ${pkg}
  57. %ghc_fix_dependencies ${pkg}
  58. %cabal_configure2 %{name} ${pkg}
  59. %cabal_build
  60. %cabal_haddock
  61. %cabal_copy_resister %{name}_${pkg}
  62. popd
  63. done
  64. %install
  65. # copy documents
  66. pushd %{_builddir}/%{name}-%{version}
  67. %{__cp} CHANGELOG.md LICENSE README.md \
  68. ${RPM_BUILD_ROOT}%{_docdir}/%{name}/%{name}-%{version}
  69. popd
  70. %clean
  71. %{__rm} -rf ${RPM_BUILD_ROOT}
  72. %post
  73. %ghc_pkg_recache
  74. %postun
  75. %ghc_pkg_recache
  76. %files
  77. %defattr(-, root, root)
  78. # %{_bindir}/
  79. %{_libdir}/ghc-%{ghc_version}/
  80. %{_libdir}/ghc-lib/
  81. # %{_datadir}/%{name}/
  82. %{_docdir}/%{name}/
  83. %changelog
  84. * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 0.15-1
  85. - update to 0.15
  86. - build using ghc-8.6.3
  87. - disabled sound support due to build error of alsa-mixer
  88. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.14-1
  89. - update to 0.14
  90. - add BuildRequires: libXScrnSaver-devel
  91. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.13.3-3
  92. - build using ghc-8.4.3
  93. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.13.3-1
  94. - update to 0.13.3
  95. - rebuild using ghc-8.4.2
  96. - rewrite using macro
  97. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.13.2-1
  98. - update to 0.13.2
  99. - build using ghc-8.2.2
  100. * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.12.1-6
  101. - rebuild using ghc-8.0.1
  102. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.12.1-5
  103. - rebuilt
  104. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.12.1-4
  105. - rebuild under xmonad-0.12-3 and xmonad-contrib-0.12-4
  106. - correct SPEC file
  107. * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.12.1-3
  108. - rebuild under xmonad-0.12-2 and xmonad-contrib-0.12-3
  109. * Sat Feb 27 2016 Toshiaki Ara <ara_t@384.jp> 0.12.1-2
  110. - recompile
  111. * Sat Feb 27 2016 Toshiaki Ara <ara_t@384.jp> 0.12.1-1
  112. - new package