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