xmonad-contrib-vl.spec 3.2 KB

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