update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
f17627fcac
commit
7731692cc5
|
@ -1,16 +1,11 @@
|
|||
# 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
|
||||
Release: 5%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Release: 6%{?dist}
|
||||
Summary: Simple interface to build .dot graph files
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
|
@ -23,7 +18,20 @@ BuildRequires: ghc-containers-devel
|
|||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
This package provides a simple interface for building .dot graph files,
|
||||
for input into the dot and graphviz tools.
|
||||
It includes a monadic interface for building graphs.
|
||||
|
||||
|
||||
%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.
|
||||
|
||||
|
||||
%prep
|
||||
|
@ -38,18 +46,25 @@ BuildRequires: ghc-containers-devel
|
|||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
%postun devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.4.1-6
|
||||
- update to new simplified Haskell Packaging Guidelines
|
||||
|
||||
* 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue