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/Packaging:Haskell
|
||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
|
||||||
|
|
||||||
%global pkg_name xmonad-contrib
|
%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}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.11.1
|
Version: 0.11.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: Third party extensions for xmonad
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
@ -48,7 +34,27 @@ BuildRequires: ghc-xmonad-devel
|
|||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
@ -67,19 +73,26 @@ BuildRequires: ghc-xmonad-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
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 21 2013 Jens Petersen <petersen@redhat.com> - 0.11.1-1
|
||||||
- update to 0.11.1
|
- update to 0.11.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user