[ghc-type-level] update to new simplified Haskell Packaging Guidelines
Jens Petersen
petersen at fedoraproject.org
Fri Jun 7 04:24:27 UTC 2013
commit 5c74613559ee98e7590aa0b6c419e2df5ddaee3c
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Jun 7 13:17:53 2013 +0900
update to new simplified Haskell Packaging Guidelines
ghc-type-level.spec | 55 +++++++++++++++++++++++++++++++-------------------
1 files changed, 34 insertions(+), 21 deletions(-)
---
diff --git a/ghc-type-level.spec b/ghc-type-level.spec
index 00becf9..3c5ddf9 100644
--- a/ghc-type-level.spec
+++ b/ghc-type-level.spec
@@ -1,25 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name type-level
-%global common_summary Type-level programming library
-
-%global common_description This library permits performing computations on the type-level.\
-Type-level functions are implemented using functional dependencies of\
-multiparameter type classes. To date, Booleans and Numerals\
-(Naturals and Positives) are supported. With regard to Numerals,\
-there is support for common arithmetic operations (addition, substraction,\
-multiplication,division, exponientation, logarithm, maximum, comparison, GCD)\
-over natural numbers (using a decimal representation to make compile-time\
-errors friendlier). Here is a tutorial on type-level numerals and how to use\
-them to implement numerically-parameterized vectors:\
-<http://www.ict.kth.se/forsyde/files/tutorial/tutorial.html#FSVec>
-
Name: ghc-%{pkg_name}
Version: 0.2.4
-Release: 17%{?dist}
-Summary: %{common_summary}
+Release: 18%{?dist}
+Summary: Type-level programming library
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
@@ -34,7 +20,27 @@ ExclusiveArch: %{ghc_arches_with_ghci}
# End cabal-rpm deps
%description
-%{common_description}
+This library permits performing computations on the type-level.
+Type-level functions are implemented using functional dependencies of
+multiparameter type classes. To date, Booleans and Numerals
+(Naturals and Positives) are supported. With regard to Numerals,
+there is support for common arithmetic operations (addition, substraction,
+multiplication,division, exponientation, logarithm, maximum, comparison, GCD)
+over natural numbers (using a decimal representation to make compile-time
+errors friendlier). For a tutorial on type-level numerals and how to use
+them to implement numerically-parameterized vectors see:
+<http://www.ict.kth.se/forsyde/files/tutorial/tutorial.html#FSVec>.
+
+
+%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
@@ -49,19 +55,26 @@ ExclusiveArch: %{ghc_arches_with_ghci}
%ghc_lib_install
-%ghc_devel_package
+%post devel
+%ghc_pkg_recache
+
-%ghc_devel_description
+%postun devel
+%ghc_pkg_recache
-%ghc_devel_post_postun
+%files -f %{name}.files
+%doc LICENSE
-%ghc_files LICENSE
+%files devel -f %{name}-devel.files
%doc README
%changelog
+* Fri Jun 07 2013 Jens Petersen <petersen at redhat.com> - 0.2.4-18
+- update to new simplified Haskell Packaging Guidelines
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.4-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list