1 | %define pkg_name http-client-tls |
---|
2 | %define pkg_version 0.3.5.3 |
---|
3 | %define pkg_release 3%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Haskell libraries: %{pkg_name} and dependent libraries |
---|
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: basement-0.0.8.tar.gz |
---|
17 | Source12: basement.cabal |
---|
18 | Source13: blaze-builder-0.4.1.0.tar.gz |
---|
19 | Source14: blaze-builder.cabal |
---|
20 | Source15: byteable-0.1.1.tar.gz |
---|
21 | Source16: byteable.cabal |
---|
22 | Source17: cereal-0.5.5.0.tar.gz |
---|
23 | Source18: cereal.cabal |
---|
24 | Source19: cookie-0.4.4.tar.gz |
---|
25 | Source20: cookie.cabal |
---|
26 | Source21: hourglass-0.2.11.tar.gz |
---|
27 | Source22: hourglass.cabal |
---|
28 | Source23: http-types-0.12.1.tar.gz |
---|
29 | Source24: http-types.cabal |
---|
30 | Source25: mime-types-0.1.0.8.tar.gz |
---|
31 | Source26: mime-types.cabal |
---|
32 | Source27: streaming-commons-0.2.1.0.tar.gz |
---|
33 | Source28: streaming-commons.cabal |
---|
34 | Source29: transformers-compat-0.6.2.tar.gz |
---|
35 | Source30: transformers-compat.cabal |
---|
36 | Source31: foundation-0.0.21.tar.gz |
---|
37 | Source32: foundation.cabal |
---|
38 | Source33: socks-0.5.6.tar.gz |
---|
39 | Source34: socks.cabal |
---|
40 | Source35: exceptions-0.10.0.tar.gz |
---|
41 | Source36: exceptions.cabal |
---|
42 | Source37: memory-0.14.16.tar.gz |
---|
43 | Source38: memory.cabal |
---|
44 | Source39: pem-0.2.4.tar.gz |
---|
45 | Source40: pem.cabal |
---|
46 | Source41: http-client-0.5.13.1.tar.gz |
---|
47 | Source42: http-client.cabal |
---|
48 | Source43: cryptonite-0.25.tar.gz |
---|
49 | Source44: cryptonite.cabal |
---|
50 | Source45: asn1-types-0.3.2.tar.gz |
---|
51 | Source46: asn1-types.cabal |
---|
52 | Source47: asn1-encoding-0.9.5.tar.gz |
---|
53 | Source48: asn1-encoding.cabal |
---|
54 | Source49: asn1-parse-0.9.4.tar.gz |
---|
55 | Source50: asn1-parse.cabal |
---|
56 | Source51: x509-1.7.3.tar.gz |
---|
57 | Source52: x509.cabal |
---|
58 | Source53: x509-store-1.6.6.tar.gz |
---|
59 | Source54: x509-store.cabal |
---|
60 | Source55: x509-validation-1.6.10.tar.gz |
---|
61 | Source56: x509-validation.cabal |
---|
62 | Source57: x509-system-1.6.6.tar.gz |
---|
63 | Source58: x509-system.cabal |
---|
64 | Source59: tls-1.4.1.tar.gz |
---|
65 | Source60: tls.cabal |
---|
66 | Source61: connection-0.2.8.tar.gz |
---|
67 | Source62: connection.cabal |
---|
68 | Source63: http-client-tls-0.3.5.3.tar.gz |
---|
69 | Source64: http-client-tls.cabal |
---|
70 | |
---|
71 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
72 | |
---|
73 | BuildRequires: ghc haskell-platform |
---|
74 | BuildRequires: libffi-devel gmp-devel zlib-devel |
---|
75 | BuildRequires: libghc-data-default-class |
---|
76 | BuildRequires: libghc-semigroups |
---|
77 | |
---|
78 | BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl |
---|
79 | |
---|
80 | Requires: ghc haskell-platform |
---|
81 | Requires: haskell-platform-dep |
---|
82 | Requires: libghc-data-default-class |
---|
83 | Requires: libghc-semigroups |
---|
84 | |
---|
85 | |
---|
86 | Vendor: Project Vine |
---|
87 | Distribution: Vine Linux |
---|
88 | Packager: ara_t |
---|
89 | |
---|
90 | |
---|
91 | %description |
---|
92 | Haskell libraries: %{pkg_name} and dependent libraries |
---|
93 | |
---|
94 | |
---|
95 | %prep |
---|
96 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
97 | |
---|
98 | %build |
---|
99 | %ghc_pkg_init |
---|
100 | |
---|
101 | cd %{_builddir} |
---|
102 | for pkg in `cat %{SOURCE0}`; do |
---|
103 | %{__tar} xzf %{_sourcedir}/${pkg}.tar.gz |
---|
104 | pushd ${pkg} |
---|
105 | %ghc_fix_dependencies ${pkg} |
---|
106 | %cabal_configure2 %{name} ${pkg} |
---|
107 | %cabal_build |
---|
108 | %cabal_haddock |
---|
109 | %cabal_copy_resister %{name}_${pkg} |
---|
110 | popd |
---|
111 | done |
---|
112 | |
---|
113 | |
---|
114 | %clean |
---|
115 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
116 | |
---|
117 | %post |
---|
118 | %ghc_pkg_recache |
---|
119 | |
---|
120 | %postun |
---|
121 | %ghc_pkg_recache |
---|
122 | |
---|
123 | |
---|
124 | %files |
---|
125 | %defattr(-, root, root) |
---|
126 | %{_libdir}/ghc-%{ghc_version}/ |
---|
127 | %{_libdir}/ghc-lib/ |
---|
128 | %{_datadir}/ |
---|
129 | |
---|
130 | |
---|
131 | %changelog |
---|
132 | * Thu Aug 09 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5.3-3 |
---|
133 | - rebuild with ghc-8.4.3-2 |
---|
134 | |
---|
135 | * Fri Jul 20 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5.3-2 |
---|
136 | - build using ghc-8.4.3 |
---|
137 | |
---|
138 | * Fri May 18 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5.3-1 |
---|
139 | - update to 0.3.5.3 |
---|
140 | - rebuild using ghc-8.4.2 |
---|
141 | - rewrite using macro |
---|
142 | |
---|
143 | * Tue Jan 09 2018 Toshiaki Ara <ara_t@384.jp> 0.3.5.1-1 |
---|
144 | - update to 0.3.5.1 |
---|
145 | - build using ghc-8.2.2 |
---|
146 | |
---|
147 | * Tue Feb 21 2017 Toshiaki Ara <ara_t@384.jp> 0.3.3.1-1 |
---|
148 | - update to 0.3.3.1 |
---|
149 | - build using ghc-8.0.2 |
---|
150 | |
---|
151 | * Fri Feb 03 2017 Toshiaki Ara <ara_t@384.jp> 0.2.4.1-1 |
---|
152 | - update to 0.2.4.1 |
---|
153 | - build using ghc-8.0.1 |
---|
154 | |
---|
155 | * Wed May 04 2016 Toshiaki Ara <ara_t@384.jp> 0.2.2-3 |
---|
156 | - rebuilt |
---|
157 | |
---|
158 | * Tue Apr 12 2016 Toshiaki Ara <ara_t@384.jp> 0.2.2-2 |
---|
159 | - correct SPEC file |
---|
160 | |
---|
161 | * Tue Mar 01 2016 Toshiaki Ara <ara_t@384.jp> 0.2.2-1 |
---|
162 | - new package |
---|