xmonad-contrib-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. %define pkg_name xmonad-contrib
  2. %define pkg_version 0.14
  3. %define pkg_release 2%{?_dist_release}
  4. Summary: Third party extensions 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. # # Patch for building ghc-8.4
  14. # Source1: xmonad-contrib-0.13_using_ghc-8.4.patch
  15. Source11: X11-xft-0.3.1.tar.gz
  16. Source12: X11-xft.cabal
  17. Source13: old-time-1.1.0.3.tar.gz
  18. Source14: old-time.cabal
  19. Source15: random-1.1.tar.gz
  20. Source16: random.cabal
  21. Source17: xmonad-contrib-0.14.tar.gz
  22. Source18: xmonad-contrib.cabal
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. BuildRequires: ghc haskell-platform
  25. BuildRequires: xmonad
  26. BuildRequires: libffi-devel gmp-devel zlib-devel
  27. BuildRequires: xorg-x11-devel
  28. BuildRequires: libXScrnSaver-devel
  29. BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
  30. Requires: haskell-platform-dep
  31. Requires: libXScrnSaver-devel
  32. Requires: xmonad
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: ara_t
  36. %description
  37. Third party tiling algorithms, configurations and scripts to xmonad,
  38. a tiling window manager for X.
  39. %description -l ja
  40. サードパーティーによるxmonad拡張であり、
  41. タイル化のためのアルゴリズム、設定およびスクリプトを含みます。
  42. %prep
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %build
  45. %ghc_pkg_init
  46. cd %{_builddir}
  47. for pkg in `cat %{SOURCE0}`; do
  48. %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
  49. pushd ${pkg}
  50. %ghc_fix_dependencies ${pkg}
  51. %cabal_configure2 %{name} ${pkg}
  52. %cabal_build
  53. %cabal_haddock
  54. %cabal_copy_resister %{name}_${pkg}
  55. popd
  56. done
  57. %install
  58. # copy documents
  59. pushd %{_builddir}/%{name}-%{version}
  60. %{__cp} CHANGES.md LICENSE README.md \
  61. ${RPM_BUILD_ROOT}%{_docdir}/%{name}/%{name}-%{version}
  62. popd
  63. %clean
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %post
  66. %ghc_pkg_recache
  67. %postun
  68. %ghc_pkg_recache
  69. %files
  70. %defattr(-, root, root)
  71. %{_libdir}/ghc-%{ghc_version}/
  72. %{_libdir}/ghc-lib/
  73. %{_docdir}/%{name}/
  74. %changelog
  75. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.14-2
  76. - add BuildRequires: and Requires: libXScrnSaver-devel
  77. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.14-1
  78. - update to 0.14
  79. - build using ghc-8.4.3-2
  80. - drop Source1
  81. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.13-4
  82. - build using ghc-8.4.3
  83. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.13-3
  84. - rebuild using ghc-8.4.2
  85. - add Patch for building with ghc-8.4 (Source1)
  86. - rewrite using macro
  87. * Thu May 10 2018 Toshiaki Ara <ara_t@384.jp> 0.13-2
  88. - rebuild using ghc-8.4.2
  89. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.13-1
  90. - update to 0.13
  91. - rebuild using ghc-8.0.2
  92. * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.12-6
  93. - rebuild using ghc-8.0.1
  94. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.12-5
  95. - rebuilt
  96. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.12-4
  97. - rebuild under xmonad-0.12-3
  98. - correct SPEC file
  99. * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.12-3
  100. - rebuild under xmonad-0.12-2
  101. * Sat Feb 27 2016 Toshiaki Ara <ara_t@384.jp> 0.12-2
  102. - recompile
  103. * Sat Feb 27 2016 Toshiaki Ara <ara_t@384.jp> 0.12-1
  104. - new package