90 lines
2.3 KiB
RPMSpec
90 lines
2.3 KiB
RPMSpec
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
%global pkg_name semigroups
|
|
|
|
%global common_summary Implementation of semigroups
|
|
|
|
%global common_description This library implements mathematical semigroups in Haskell 98.
|
|
|
|
Name: ghc-%{pkg_name}
|
|
Version: 0.8.4.1
|
|
Release: 2%{?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-containers-devel
|
|
# End cabal-rpm deps
|
|
|
|
%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.markdown
|
|
|
|
|
|
%changelog
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.8.4.1-2
|
|
- update with cabal-rpm
|
|
|
|
* Sun Oct 21 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.8.4.1-1
|
|
- Update to 0.8.4.1
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Wed Jun 13 2012 Jens Petersen <petersen@redhat.com> - 0.8.3.2-1
|
|
- update to 0.8.3.2
|
|
|
|
* Fri Apr 13 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.8.3-2
|
|
- Rebuild
|
|
|
|
* Thu Apr 12 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.8.3-1
|
|
- Package update to 0.8.3
|
|
|
|
* Mon Apr 9 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.8.2-1
|
|
- spec file updated to cabal2spec-0.25.4
|
|
- package updated to 0.8.2
|
|
|
|
* Sun Mar 18 2012 Jens Petersen <petersen@redhat.com> - 0.8-4
|
|
- update to cabal2spec-0.25
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Wed Oct 26 2011 Jens Petersen <petersen@redhat.com> - 0.8-2
|
|
- rebuild against new gmp
|
|
|
|
* Mon Oct 3 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.8-1
|
|
- License is BSD. No dependencies.
|
|
|
|
* Mon Oct 3 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.8-0
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.24.1
|