|
@@ -1,7 +1,7 @@
|
|
%define pkg_name ghc
|
|
%define pkg_name ghc
|
|
-%define pkg_version 7.10.3
|
|
+%define pkg_version 8.0.1
|
|
-%define pkg_subversion b
|
|
+# %define pkg_subversion b
|
|
-%define pkg_release 3%{?_dist_release}
|
|
+%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
%ifarch %{ix86}
|
|
%ifarch %{ix86}
|
|
%define rpmarch i386
|
|
%define rpmarch i386
|
|
@@ -20,26 +20,24 @@ License: BSD-like
|
|
Group: Applications/Languages
|
|
Group: Applications/Languages
|
|
URL: https://www.haskell.org/ghc
|
|
URL: https://www.haskell.org/ghc
|
|
|
|
|
|
-Source0: %{name}-%{version}%{pkg_subversion}-src.tar.bz2
|
|
+# Source0: %{name}-%{version}%{pkg_subversion}-src.tar.bz2
|
|
|
|
+Source0: %{name}-%{version}-src.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildRequires: ghc-bootstrap
|
|
+BuildRequires: ghc
|
|
BuildRequires: gmp-devel
|
|
BuildRequires: gmp-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: ncurses-devel readline-devel freeglut-devel
|
|
BuildRequires: ncurses-devel readline-devel freeglut-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
-BuildRequires: dblatex
|
|
+BuildRequires: python-sphinx
|
|
-BuildRequires: texlive-collection-bibtexextra
|
|
|
|
-BuildRequires: texlive-collection-fontutils
|
|
|
|
-BuildRequires: docbook-utils docbook-utils-pdf docbook-style-xsl
|
|
|
|
-BuildRequires: hscolour
|
|
|
|
|
|
|
|
Requires: gmp-devel
|
|
Requires: gmp-devel
|
|
-Requires: libffi
|
|
+Requires: libffi-devel
|
|
Requires: freeglut
|
|
Requires: freeglut
|
|
|
|
|
|
-Obsoletes: ghc-bootstrap
|
|
+Conflicts: ghc-bootstrap
|
|
|
|
+Conflicts: haskell-platform-base
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -73,39 +71,23 @@ Highlights:
|
|
#'
|
|
#'
|
|
|
|
|
|
|
|
|
|
-%package bindist
|
|
|
|
-Version: %{version}
|
|
|
|
-Summary: ghc binary tarball to building haskell-platform
|
|
|
|
-License: BSD-like
|
|
|
|
-Group: Applications/Languages
|
|
|
|
-
|
|
|
|
-%description bindist
|
|
|
|
-ghc binary tarball to building haskell-platform
|
|
|
|
-
|
|
|
|
-
|
|
|
|
%prep
|
|
%prep
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
./configure \
|
|
./configure \
|
|
- --prefix=%{_prefix} --libdir=%{_libdir} \
|
|
+ --prefix=%{_prefix} \
|
|
|
|
+ --libdir=%{_libdir} \
|
|
--docdir=%{_docdir}/%{name}-%{version} \
|
|
--docdir=%{_docdir}/%{name}-%{version} \
|
|
--with-system-libffi
|
|
--with-system-libffi
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
-%{__make} binary-dist
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
%{make_install}
|
|
%{make_install}
|
|
%{__cp} ANNOUNCE LICENSE \
|
|
%{__cp} ANNOUNCE LICENSE \
|
|
${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}
|
|
${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}
|
|
|
|
|
|
-%{__mkdir_p} ${RPM_BUILD_ROOT}%{_usrsrc}
|
|
|
|
-%{__mv} ghc-%{version}-%{rpmarch}-unknown-linux.tar.bz2 \
|
|
|
|
- ghc-%{version}-%{rpmarch}-vine-linux.tar.bz2
|
|
|
|
-%{__cp} ghc-%{version}-%{rpmarch}-vine-linux.tar.bz2 \
|
|
|
|
- ${RPM_BUILD_ROOT}%{_usrsrc}
|
|
|
|
-
|
|
|
|
%clean
|
|
%clean
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
@@ -120,12 +102,18 @@ ghc binary tarball to building haskell-platform
|
|
%{_docdir}/ghc-%{version}/
|
|
%{_docdir}/ghc-%{version}/
|
|
%{_mandir}/man1/
|
|
%{_mandir}/man1/
|
|
|
|
|
|
-%files bindist
|
|
|
|
-%defattr(-, root, root)
|
|
|
|
-%{_usrsrc}/
|
|
|
|
-
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jan 31 2017 Toshiaki Ara <ara_t@384.jp> 8.0.1-1
|
|
|
|
+- update to 8.0.1
|
|
|
|
+- add Requires: libffi-devel
|
|
|
|
+- add Requires: freeglut
|
|
|
|
+- add BuildRequires: python-sphinx for building HTML documents
|
|
|
|
+- add Conflicts: ghc-bootstrap
|
|
|
|
+- add Conflicts: haskell-platform-base
|
|
|
|
+- delete BuildRequires: hscolour
|
|
|
|
+- delete bindist subpackage
|
|
|
|
+
|
|
* Tue May 03 2016 Toshiaki Ara <ara_t@384.jp> 7.10.3-3
|
|
* Tue May 03 2016 Toshiaki Ara <ara_t@384.jp> 7.10.3-3
|
|
- add Requires: gmp-devel
|
|
- add Requires: gmp-devel
|
|
|
|
|