[ghc-parameterized-data] update to new simplified Haskell Packaging Guidelines
Jens Petersen
petersen at fedoraproject.org
Tue Jun 11 10:16:38 UTC 2013
commit 7398d9df805407541469cc9a286adab4351621de
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Jun 11 19:15:32 2013 +0900
update to new simplified Haskell Packaging Guidelines
ghc-parameterized-data.spec | 45 +++++++++++++++++++++++++++---------------
1 files changed, 29 insertions(+), 16 deletions(-)
---
diff --git a/ghc-parameterized-data.spec b/ghc-parameterized-data.spec
index 0f9225d..a347510 100644
--- a/ghc-parameterized-data.spec
+++ b/ghc-parameterized-data.spec
@@ -1,20 +1,11 @@
# https://fedoraproject.org/wiki/Packaging:Haskell
-# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name parameterized-data
-%global common_summary Parameterized data library implementing lightweight dependent types
-
-%global common_description This library provides an implementation of parameterized types using type-level\
-computations to implement the type parameters and emulate dependent types.\
-Right now only fixed-sized vectors are provided. A tutorial on how to use them\
-can be found at\
-<http://www.ict.kth.se/forsyde/files/tutorial/tutorial.html#FSVec>
-
Name: ghc-%{pkg_name}
Version: 0.1.5
-Release: 11%{?dist}
-Summary: %{common_summary}
+Release: 12%{?dist}
+Summary: Parameterized data library implementing lightweight dependent types
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
@@ -30,7 +21,22 @@ ExclusiveArch: %{ghc_arches_with_ghci}
# End cabal-rpm deps
%description
-%{common_description}
+This library provides an implementation of parameterized types using
+type-level computations to implement the type parameters and emulate
+dependent types. Right now only fixed-sized vectors are provided. A
+tutorial on how to use them can be found at
+<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
@@ -46,19 +52,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
+* Tue Jun 11 2013 Jens Petersen <petersen at redhat.com> - 0.1.5-12
+- update to new simplified Haskell Packaging Guidelines
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list