refresh to cabal-rpm-0.13
This commit is contained in:
parent
7c00698b04
commit
e7adaff198
19
xmonad.spec
19
xmonad.spec
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.5
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name xmonad
|
||||
|
@ -8,12 +8,14 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.13
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: A tiling window manager
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
# End cabal-rpm sources
|
||||
Source1: xmonad-session.desktop
|
||||
Source2: xmonad-start
|
||||
Source3: xmonad.desktop
|
||||
|
@ -21,10 +23,9 @@ Source4: README.fedora
|
|||
Source5: xmonad-mate-session.desktop
|
||||
Source7: xmonad.hs
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-X11-devel
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-data-default-devel
|
||||
|
@ -154,17 +155,22 @@ in a MATE session.
|
|||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q
|
||||
# End cabal-rpm setup
|
||||
cp -p %SOURCE4 .
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{pkgver}
|
||||
# End cabal-rpm install
|
||||
mv %{buildroot}%{_defaultlicensedir}/%{name}{,-core}
|
||||
|
||||
install -p -m 0644 -D man/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
@ -223,6 +229,9 @@ rm %{buildroot}%{_datadir}/%{name}-%{version}/man/xmonad.{hs,1,1.html}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.13-9
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue