|
|
@ -1,17 +1,11 @@
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name zip-archive
|
|
|
|
%global pkg_name zip-archive
|
|
|
|
|
|
|
|
|
|
|
|
%global common_summary Library for creating and modifying zip archives
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global common_description The zip-archive library provides functions for creating, modifying,\
|
|
|
|
|
|
|
|
and extracting files from zip archives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
Version: 0.1.3.4
|
|
|
|
Version: 0.1.3.4
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: %{common_summary}
|
|
|
|
Summary: Library for creating and modifying zip archives
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
|
|
@ -37,7 +31,19 @@ BuildRequires: ghc-zlib-devel
|
|
|
|
# End cabal-rpm deps
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
%{common_description}
|
|
|
|
The zip-archive library provides functions for creating, modifying,
|
|
|
|
|
|
|
|
and extracting files from zip archives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
%prep
|
|
|
@ -52,18 +58,25 @@ BuildRequires: ghc-zlib-devel
|
|
|
|
%ghc_lib_install
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.1.3.4-2
|
|
|
|
|
|
|
|
- update to new simplified Haskell Packaging Guidelines
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 0.1.3.4-1
|
|
|
|
* Sun Mar 10 2013 Jens Petersen <petersen@redhat.com> - 0.1.3.4-1
|
|
|
|
- update to 0.1.3.4
|
|
|
|
- update to 0.1.3.4
|
|
|
|
|
|
|
|
|
|
|
|