update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
d8db86ba91
commit
afdf78d9b2
|
@ -1,16 +1,11 @@
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
||||||
|
|
||||||
%global pkg_name binary-shared
|
%global pkg_name binary-shared
|
||||||
|
|
||||||
%global common_summary Haskell library for sharing binary elements
|
|
||||||
|
|
||||||
%global common_description Provides capability to share elements created by binary package.
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.8.2
|
Version: 0.8.2
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: Haskell library for sharing binary elements
|
||||||
|
|
||||||
# GPL version is not stated
|
# GPL version is not stated
|
||||||
License: GPL+
|
License: GPL+
|
||||||
|
@ -27,7 +22,18 @@ BuildRequires: ghc-mtl-devel
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
Provides capability to share elements created by binary package.
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
@ -42,18 +48,25 @@ BuildRequires: ghc-mtl-devel
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%ghc_devel_package
|
%post devel
|
||||||
|
%ghc_pkg_recache
|
||||||
%ghc_devel_description
|
|
||||||
|
|
||||||
|
|
||||||
%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
|
%changelog
|
||||||
|
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.8.2-5
|
||||||
|
- update to new simplified Haskell Packaging Guidelines
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue