1 | %define pkg_name dlist |
---|
2 | %define pkg_version 0.8.0.5 |
---|
3 | %define pkg_release 1%{?_dist_release} |
---|
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 | |
---|
14 | Source0: packages |
---|
15 | |
---|
16 | Source11: dlist-0.8.0.5.tar.gz |
---|
17 | Source12: dlist.cabal |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | BuildRequires: ghc haskell-platform |
---|
22 | BuildRequires: libffi-devel gmp-devel zlib-devel |
---|
23 | BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl |
---|
24 | |
---|
25 | Requires: ghc haskell-platform |
---|
26 | Requires: haskell-platform-dep |
---|
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 |
---|
41 | %ghc_pkg_init |
---|
42 | |
---|
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 |
---|
54 | |
---|
55 | |
---|
56 | %clean |
---|
57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
58 | |
---|
59 | %post |
---|
60 | %ghc_pkg_recache |
---|
61 | |
---|
62 | %postun |
---|
63 | %ghc_pkg_recache |
---|
64 | |
---|
65 | |
---|
66 | %files |
---|
67 | %defattr(-, root, root) |
---|
68 | %{_libdir}/ghc-%{ghc_version}/ |
---|
69 | %{_libdir}/ghc-lib/ |
---|
70 | %{_datadir}/ |
---|
71 | |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Mon Dec 17 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.5-1 |
---|
75 | - update to 0.8.0.5 |
---|
76 | |
---|
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 | |
---|
80 | * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.8.0.4-2 |
---|
81 | - build using ghc-8.4.3 |
---|
82 | |
---|
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 |
---|
89 | - update to 0.8.0.3 |
---|
90 | - build using ghc-8.2.2 |
---|
91 | |
---|
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 | |
---|
96 | * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.7.1.2-3 |
---|
97 | - rebuilt |
---|
98 | |
---|
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 |
---|
104 | |
---|