2012-04-10 06:48:28 +00:00
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
%global pkg_name dotgen
|
|
|
|
|
|
|
|
%global common_summary Simple interface to build .dot graph files
|
|
|
|
|
|
|
|
%global common_description %{pkg_name} provides interface to build .dot graph files for graphviz tools
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.4.1
|
2013-02-13 23:06:33 +00:00
|
|
|
Release: 5%{?dist}
|
2012-04-10 06:48:28 +00:00
|
|
|
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
|
2012-11-17 13:58:23 +00:00
|
|
|
|
2012-04-10 06:48:28 +00:00
|
|
|
BuildRequires: ghc-Cabal-devel
|
2012-11-17 13:58:23 +00:00
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
BuildRequires: ghc-containers-devel
|
|
|
|
# End cabal-rpm deps
|
2012-04-10 06:48:28 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
2012-04-16 01:04:54 +00:00
|
|
|
%ghc_files LICENSE
|
2012-04-10 06:48:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-02-13 23:06:33 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-17 13:58:23 +00:00
|
|
|
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.4.1-4
|
|
|
|
- update with cabal-rpm
|
|
|
|
|
2012-07-19 05:33:48 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-16 01:04:54 +00:00
|
|
|
* Mon Apr 16 2012 Jens Petersen <petersen@redhat.com> - 0.4.1-2
|
|
|
|
- add LICENSE to ghc_files
|
|
|
|
|
2012-04-10 06:48:28 +00:00
|
|
|
* Tue Feb 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> 0.4.1-1
|
|
|
|
- Updated license, description and summary.
|
|
|
|
- Spec file template generated by cabal2spec-0.25.2.
|