xmonad-utils-vl.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. %define pkg_name xmonad-utils
  2. %define pkg_version 0.1.3.3
  3. %define pkg_release 7%{?_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. * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-7
  60. - rebuild using ghc-8.4.2
  61. - rewrite using macro
  62. * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-6
  63. - rebuild using ghc-8.2.2
  64. * Thu Feb 02 2017 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-5
  65. - rebuild using ghc-8.0.1
  66. * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-4
  67. - rebuilt
  68. * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-3
  69. - correct SPEC file
  70. - rebuild under xmonad-0.12-3
  71. * Sun Mar 06 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-2
  72. - rebuild under xmonad-0.12-2
  73. * Sun Feb 28 2016 Toshiaki Ara <ara_t@384.jp> 0.1.3.3-1
  74. - new package