|
|
@ -1,19 +1,12 @@
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name hashable
|
|
|
|
%global pkg_name hashable
|
|
|
|
|
|
|
|
|
|
|
|
%global common_summary Class for types convertable to a hash value
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description This package defines a class, Hashable, for types that can be\
|
|
|
|
|
|
|
|
converted to a hash value. This class exists for the benefit of\
|
|
|
|
|
|
|
|
hashing-based data structures. The package provides instances for\
|
|
|
|
|
|
|
|
basic types and a way to combine hash values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
|
|
|
# part of haskell-platform-2013.2
|
|
|
|
Version: 1.1.2.5
|
|
|
|
Version: 1.1.2.5
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
Summary: Class for types convertable to a hash value
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
@ -27,9 +20,23 @@ BuildRequires: ghc-text-devel
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
This package defines a class, 'Hashable', for types that
|
|
|
|
|
|
|
|
can be converted to a hash value. This class
|
|
|
|
|
|
|
|
exists for the benefit of hashing-based data
|
|
|
|
|
|
|
|
structures. The package provides instances for
|
|
|
|
|
|
|
|
basic types and a way to combine hash values.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
|
|
|
|
Requires: %{ghc_compiler}
|
|
|
|
|
|
|
|
Requires(post): %{ghc_compiler}
|
|
|
|
|
|
|
|
Requires(postun): %{ghc_compiler}
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
This package provides the Haskell hashable library development files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
@ -42,19 +49,27 @@ BuildRequires: ghc-text-devel
|
|
|
|
%ghc_lib_install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_package
|
|
|
|
%post devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%ghc_files LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%files devel -f %{name}-devel.files
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat May 4 2013 Jens Petersen <petersen@redhat.com> - 1.1.2.5-3
|
|
|
|
|
|
|
|
- part of haskell-platform-2013.2
|
|
|
|
|
|
|
|
- update to cabal-rpm-0.8.0
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.5-2
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|