source: projects/specs/trunk/c/cabal-install/cabal-install.vl.spec @ 10234

Revision 10234, 1.8 KB checked in by ara_t, 8 years ago (diff)

rebuild under haskell-platform-2017.7.10.3-3

Line 
1%define pkg_name    cabal-install
2%define pkg_version 1.22.9.0
3%define pkg_release 1%{?_dist_release}
4
5Summary: A command-line program simplifies the process of managing Haskell software
6Name:    %{pkg_name}
7Version: %{pkg_version}
8Release: %{pkg_release}
9
10License: BSD3
11Group:   Applications/Languages
12URL:     http://hackage.haskell.org
13Source0: cabal-install-%{pkg_version}.tar.gz
14
15BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-root
16
17BuildRequires: ghc
18BuildRequires: haskell-platform-base
19BuildRequires: libffi-devel gmp-devel zlib-devel
20Requires: ghc
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: ara_t
25
26
27%description
28The 'cabal' command-line program simplifies the process of
29managing Haskell software by automating the fetching, configuration,
30compilation and installation of Haskell libraries and programs.
31
32
33%prep
34%{__rm} -rf ${RPM_BUILD_ROOT}
35%setup -q
36
37%build
38ghc --make Setup
39./Setup configure \
40        --user \
41        --disable-shared \
42        --prefix=%{_usr} \
43        --docdir=%{_docdir}/%{name}-%{version}
44./Setup build
45
46%install
47./Setup copy --destdir=${RPM_BUILD_ROOT}
48
49%clean
50%{__rm} -rf ${RPM_BUILD_ROOT}
51
52
53%files
54%defattr(-, root, root)
55%doc changelog LICENSE README.md
56%{_bindir}/
57
58
59%changelog
60* Mon May 02 2016 Toshiaki Ara <ara_t@384.jp> 1.22.9.0-1
61- update to 1.22.9.0
62- rebuild under haskell-platform-2015.7.10.3-3
63- delete BuildRequires: cabal-install and hscolour
64
65* Mon Apr 11 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
66- correct SPEC file
67
68* Sat Feb 20 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-2
69- rebuild under ghc-7.10.3 and haskell-platform-2015.7.10.3
70
71* Mon Feb 15 2016 Toshiaki Ara <ara_t@384.jp> 1.22.8.0-1
72- update to 1.22.8.0
73
74* Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-2
75- correct Requires
76
77* Thu Feb 11 2016 Toshiaki Ara <ara_t@384.jp> 1.16.0.2-1
78- subpackage of haskell-platform
79
Note: See TracBrowser for help on using the repository browser.