2012-07-27 04:37:31 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
%global pkg_name rosezipper
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.2
|
2014-06-07 15:11:47 +00:00
|
|
|
Release: 8%{?dist}
|
2013-06-07 03:49:02 +00:00
|
|
|
Summary: Generic zipper implementation for Data.Tree
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
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
|
2012-11-17 16:27:14 +00:00
|
|
|
|
2012-07-27 04:37:31 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-17 16:27:14 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
2012-07-27 04:37:31 +00:00
|
|
|
BuildRequires: ghc-containers-devel
|
2012-11-17 16:27:14 +00:00
|
|
|
# End cabal-rpm deps
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-07 03:49:02 +00:00
|
|
|
A Haskell data structure for working with locations in trees or forests.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Haskell %{pkg_name} library development files
|
|
|
|
Requires: ghc-compiler = %{ghc_version}
|
|
|
|
Requires(post): ghc-compiler = %{ghc_version}
|
|
|
|
Requires(postun): ghc-compiler = %{ghc_version}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the Haskell %{pkg_name} library development files.
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ghc_lib_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%ghc_lib_install
|
|
|
|
|
|
|
|
|
2013-06-07 03:49:02 +00:00
|
|
|
%post devel
|
|
|
|
%ghc_pkg_recache
|
|
|
|
|
2012-07-27 04:37:31 +00:00
|
|
|
|
2013-06-07 03:49:02 +00:00
|
|
|
%postun devel
|
|
|
|
%ghc_pkg_recache
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:49:02 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc LICENSE
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
|
2013-06-07 03:49:02 +00:00
|
|
|
%files devel -f %{name}-devel.files
|
2012-07-27 04:37:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-06-07 15:11:47 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 13:58:08 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-07 03:49:02 +00:00
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.2-6
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
2013-02-13 23:17:05 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-17 16:27:14 +00:00
|
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.2-4
|
|
|
|
- update with cabal-rpm
|
|
|
|
|
2012-07-27 04:37:31 +00:00
|
|
|
* Tue Jul 24 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.2-3
|
|
|
|
- Include ghc-containers as BR.
|
|
|
|
|
|
|
|
* Sun Jul 15 2012 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.2-2
|
|
|
|
- spec file template generated by cabal2spec-0.25.5
|
|
|
|
|
|
|
|
* Mon May 9 2011 Lakshmi Narasimhan T V <lakshminaras2002@gmail.com> - 0.2-1
|
|
|
|
- License is BSD.
|
|
|
|
|
|
|
|
* Mon May 9 2011 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 0.2-0
|
|
|
|
- initial packaging for Fedora automatically generated by cabal2spec-0.22.6
|