[10176] | 1 | %define pkg_name dlist |
---|
[11988] | 2 | %define pkg_version 0.8.0.5 |
---|
| 3 | %define pkg_release 1%{?_dist_release} |
---|
[10176] | 4 | |
---|
| 5 | Summary: Haskell libraries: %{pkg_name} |
---|
| 6 | Name: libghc-%{pkg_name} |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
| 9 | |
---|
| 10 | License: BSD3 |
---|
| 11 | Group: Applications/Text |
---|
| 12 | URL: http://hackage.haskell.org |
---|
| 13 | |
---|
[11634] | 14 | Source0: packages |
---|
[10176] | 15 | |
---|
[11988] | 16 | Source11: dlist-0.8.0.5.tar.gz |
---|
[11634] | 17 | Source12: dlist.cabal |
---|
| 18 | |
---|
[10176] | 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
[10914] | 21 | BuildRequires: ghc haskell-platform |
---|
[10176] | 22 | BuildRequires: libffi-devel gmp-devel zlib-devel |
---|
| 23 | BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl |
---|
| 24 | |
---|
[10914] | 25 | Requires: ghc haskell-platform |
---|
[11634] | 26 | Requires: haskell-platform-dep |
---|
[10176] | 27 | |
---|
| 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
| 30 | Packager: ara_t |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | Haskell libraries: %{pkg_name}-%{version} |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 39 | |
---|
| 40 | %build |
---|
[11634] | 41 | %ghc_pkg_init |
---|
[10176] | 42 | |
---|
[11634] | 43 | cd %{_builddir} |
---|
| 44 | for pkg in `cat %{SOURCE0}`; do |
---|
| 45 | %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz |
---|
| 46 | pushd ${pkg} |
---|
| 47 | %ghc_fix_dependencies ${pkg} |
---|
| 48 | %cabal_configure2 %{name} ${pkg} |
---|
| 49 | %cabal_build |
---|
| 50 | %cabal_haddock |
---|
| 51 | %cabal_copy_resister %{name}_${pkg} |
---|
| 52 | popd |
---|
| 53 | done |
---|
[10176] | 54 | |
---|
| 55 | |
---|
| 56 | %clean |
---|
| 57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 58 | |
---|
| 59 | %post |
---|
[11634] | 60 | %ghc_pkg_recache |
---|
[10176] | 61 | |
---|
| 62 | %postun |
---|
[11634] | 63 | %ghc_pkg_recache |
---|
[10176] | 64 | |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-, root, root) |
---|
| 68 | %{_libdir}/ghc-%{ghc_version}/ |
---|
| 69 | %{_libdir}/ghc-lib/ |
---|
| 70 | %{_datadir}/ |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %changelog |
---|
[11988] | 74 | * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.5-1 |
---|
| 75 | - update to 0.8.0.5 |
---|
| 76 | |
---|
[11761] | 77 | * Wed Aug 08 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.4-3 |
---|
| 78 | - rebuild with ghc-8.4.3-2 |
---|
| 79 | |
---|
[11744] | 80 | * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.4-2 |
---|
| 81 | - build using ghc-8.4.3 |
---|
| 82 | |
---|
[11634] | 83 | * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.4-1 |
---|
| 84 | - update to 0.8.0.4 |
---|
| 85 | - build using ghc-8.4.2 |
---|
| 86 | - rewrite using macro |
---|
| 87 | |
---|
| 88 | * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.4-1 |
---|
[11386] | 89 | - update to 0.8.0.3 |
---|
| 90 | - build using ghc-8.2.2 |
---|
| 91 | |
---|
[10914] | 92 | * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.8.0.2-1 |
---|
| 93 | - update to 0.1.2.0 |
---|
| 94 | - build using ghc-8.0.1 |
---|
| 95 | |
---|
[10235] | 96 | * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.7.1.2-3 |
---|
| 97 | - rebuilt |
---|
| 98 | |
---|
[10176] | 99 | * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.7.1.2-2 |
---|
| 100 | - correct SPEC file |
---|
| 101 | |
---|
| 102 | * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.7.1.2-1 |
---|
| 103 | - new package |
---|
[11634] | 104 | |
---|