update to new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
9eed1effec
commit
c050137a8a
|
@ -1,25 +1,11 @@
|
|||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name xmonad-contrib
|
||||
|
||||
%global common_summary Third party extensions for xmonad
|
||||
|
||||
%global common_description Third party tiling algorithms, configurations and scripts to xmonad,\
|
||||
a tiling window manager for X.\
|
||||
\
|
||||
For an introduction to building, configuring and using xmonad\
|
||||
extensions, see "XMonad.Doc". In particular:\
|
||||
\
|
||||
"XMonad.Doc.Configuring", a guide to configuring xmonad\
|
||||
"XMonad.Doc.Extending", using the contributed extensions library\
|
||||
"XMonad.Doc.Developing", introduction to xmonad internals and writing\
|
||||
your own extensions.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.11.1
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Release: 2%{?dist}
|
||||
Summary: Third party extensions for xmonad
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
|
@ -48,7 +34,27 @@ BuildRequires: ghc-xmonad-devel
|
|||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
Third party tiling algorithms, configurations and scripts to xmonad,
|
||||
a tiling window manager for X.
|
||||
|
||||
For an introduction to building, configuring and using xmonad
|
||||
extensions, see "XMonad.Doc". In particular:
|
||||
|
||||
"XMonad.Doc.Configuring", a guide to configuring xmonad
|
||||
"XMonad.Doc.Extending", using the contributed extensions library
|
||||
"XMonad.Doc.Developing", introduction to xmonad internals and writing
|
||||
your own extensions.
|
||||
|
||||
|
||||
%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
|
||||
|
@ -67,19 +73,26 @@ BuildRequires: ghc-xmonad-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 LICENSE
|
||||
%files -f %{name}.files
|
||||
%doc LICENSE
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 07 2013 Jens Petersen <petersen@redhat.com> - 0.11.1-2
|
||||
- update to new simplified Haskell Packaging Guidelines
|
||||
|
||||
* Thu Mar 21 2013 Jens Petersen <petersen@redhat.com> - 0.11.1-1
|
||||
- update to 0.11.1
|
||||
|
||||
|
|
Loading…
Reference in New Issue