xmonad-utils-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. %define pkg_name xmonad-utils
  2. %define pkg_version 0.1.3.3
  3. %define pkg_release 10%{?_dist_release}
  4. Summary: a small collection of X utilities when running XMonad
  5. Summary(ja): XMonadのためのXユーティリティ集
  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: xmonad-utils-0.1.3.3.tar.gz
  14. Source12: xmonad-utils.cabal
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: ghc haskell-platform
  17. BuildRequires: xmonad
  18. BuildRequires: libffi-devel gmp-devel zlib-devel
  19. BuildRequires: xorg-x11-devel
  20. BuildRequires: ncurses-devel
  21. Requires: haskell-platform-dep
  22. Requires: xmonad
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: ara_t
  26. %description
  27. A small collection of X utilities useful when running XMonad. It includes:
  28. - hxsel: which returns the text currently in the X selection;
  29. - hxput: sets the value of the X paste buffer;
  30. - hslock: a simple X screen lock;
  31. - hmanage: an utility to toggle the override-redirect property of any window;
  32. - hhp: a simple utility to hide the pointer, similar to unclutter.
  33. %prep
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %build
  36. %ghc_pkg_init
  37. cd %{_builddir}
  38. for pkg in `cat %{SOURCE0}`; do
  39. %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz
  40. pushd ${pkg}
  41. %ghc_fix_dependencies ${pkg}
  42. %cabal_configure2 %{name} ${pkg}
  43. %cabal_build
  44. %cabal_haddock
  45. %cabal_copy_resister %{name}_${pkg}
  46. popd
  47. done
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %post
  51. %ghc_pkg_recache
  52. %postun
  53. %ghc_pkg_recache
  54. %files
  55. %defattr(-, root, root)
  56. %{_bindir}/
  57. %{_docdir}/%{name}
  58. %changelog
  59. * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-10
  60. - build using ghc-8.6.3
  61. * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-9
  62. - build using ghc-8.4.3-2
  63. * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-8
  64. - build using ghc-8.4.3
  65. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-7
  66. - rebuild using ghc-8.4.2
  67. - rewrite using macro
  68. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-6
  69. - rebuild using ghc-8.2.2
  70. * Thu Feb 02 2017 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-5
  71. - rebuild using ghc-8.0.1
  72. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-4
  73. - rebuilt
  74. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-3
  75. - correct SPEC file
  76. - rebuild under xmonad-0.12-3
  77. * Sun Mar 06 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-2
  78. - rebuild under xmonad-0.12-2
  79. * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-1
  80. - new package