diff --git a/ghc-csv.spec b/ghc-csv.spec index e675073..57e1890 100644 --- a/ghc-csv.spec +++ b/ghc-csv.spec @@ -1,20 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name csv -%global common_summary CSV loader and dumper - -%global common_description This library parses and dumps documents that are formatted \ -according to RFC 4180, "The common Format and MIME Type for \ -Comma-Separated Values (CSV) Files". This format is used, \ -among many other things, as a lingua franca for spreadsheets, \ -and for certain web services. - Name: ghc-%{pkg_name} Version: 0.1.2 -Release: 17%{?dist} -Summary: %{common_summary} +Release: 18%{?dist} +Summary: CSV loader and dumper License: MIT URL: http://hackage.haskell.org/package/%{pkg_name} @@ -28,7 +19,22 @@ BuildRequires: ghc-parsec-devel # End cabal-rpm deps %description -%{common_description} +This library parses and dumps documents that are formatted +according to RFC 4180, "The common Format and MIME Type for +Comma-Separated Values (CSV) Files". This format is used, +among many other things, as a lingua franca for spreadsheets, +and for certain web services. + + +%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 @@ -43,18 +49,25 @@ BuildRequires: ghc-parsec-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 COPYING +%files -f %{name}.files +%doc COPYING + + +%files devel -f %{name}-devel.files %changelog +* Fri Jun 07 2013 Jens Petersen - 0.1.2-18 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 0.1.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild