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