67 lines
1.9 KiB
RPMSpec
67 lines
1.9 KiB
RPMSpec
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
%global pkg_name smallcheck
|
|
|
|
%global common_summary A testing library to verify properties of test cases
|
|
|
|
%global common_description SmallCheck is a testing library that allows to verify properties for\
|
|
all test cases up to some depth. The test cases are generated automatically.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 1.0.2
|
|
Release: 1%{?dist}
|
|
Summary: %{common_summary}
|
|
|
|
License: BSD
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
BuildRequires: ghc-rpm-macros
|
|
# Begin cabal-rpm deps:
|
|
BuildRequires: ghc-logict-devel
|
|
BuildRequires: ghc-mtl-devel
|
|
BuildRequires: ghc-pretty-devel
|
|
# End cabal-rpm deps
|
|
BuildRequires: ghc-dlist-devel
|
|
|
|
%description
|
|
%{common_description}
|
|
|
|
%prep
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
%build
|
|
%ghc_lib_build
|
|
|
|
%install
|
|
%ghc_lib_install
|
|
|
|
%ghc_devel_package
|
|
|
|
%ghc_devel_description
|
|
|
|
%ghc_devel_post_postun
|
|
|
|
%ghc_files LICENSE
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Mon Mar 18 2013 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 1.0.2-1
|
|
- new upstream version 1.0.2
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6.1-3
|
|
- update with cabal-rpm
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jun 08 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.6.1-1
|
|
- Updated common summary and description.
|
|
- Added BR ghc-dlist-devel.
|
|
- Spec file template generated by cabal2spec-0.25.5.
|