Accepting request 185304 from devel:languages:haskell
Update to Haskell Platform 2013.2.0.0 (forwarded request 185263 from ptrommler) OBS-URL: https://build.opensuse.org/request/show/185304 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-random?expand=0&rev=3
This commit is contained in:
commit
f12b815ed5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 09:35:42 UTC 2013 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- more transparent packaging (fewer macros)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 30 18:34:01 UTC 2012 - peter.trommler@ohm-hochschule.de
|
Sun Dec 30 18:34:01 UTC 2012 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for ghc-random
|
# spec file for package ghc-random
|
||||||
#
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 Peter Trommler peter.trommler@ohm-hochschule.de
|
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global pkg_name random
|
%global pkg_name random
|
||||||
|
|
||||||
%global common_summary Haskell random number library
|
%global common_summary Haskell random number library
|
||||||
@ -24,47 +24,56 @@
|
|||||||
|
|
||||||
Name: ghc-random
|
Name: ghc-random
|
||||||
Version: 1.0.1.1
|
Version: 1.0.1.1
|
||||||
Release: 1
|
Release: 0
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System/Libraries
|
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# BEGIN cabal2spec
|
# BEGIN cabal2spec
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
Url: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
ExclusiveArch: %{ix86} x86_64 %{ghc_arches}
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
# END cabal2spec
|
# END cabal2spec
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Group: Development/Languages/Other
|
||||||
|
Requires: ghc-compiler
|
||||||
|
Requires(post): ghc-compiler
|
||||||
|
Requires(postun): ghc-compiler
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
%{common_description}
|
||||||
|
This package contains the development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
|
|
||||||
# devel subpackage
|
%postun devel
|
||||||
%ghc_devel_package
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%ghc_devel_description
|
%files -f %{name}.files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE
|
||||||
%ghc_devel_post_postun
|
|
||||||
|
|
||||||
|
|
||||||
%ghc_files LICENSE
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user