revise .cabal

This commit is contained in:
Jens Petersen 2018-07-29 00:53:27 +09:00
parent a705553865
commit 68a3349490
2 changed files with 96 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.1
# generated by cabal-rpm-0.12.5
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name hinotify
@ -8,12 +8,13 @@
Name: ghc-%{pkg_name}
Version: 0.3.9
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Haskell binding to inotify
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -46,6 +47,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkgver}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
@ -77,6 +79,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.3.9-7
- revise .cabal
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

89
hinotify-0.3.9.cabal Normal file
View File

@ -0,0 +1,89 @@
name: hinotify
version: 0.3.9
x-revision: 1
build-type: Simple
synopsis: Haskell binding to inotify
description:
This library provides a wrapper to the Linux Kernel's inotify feature,
allowing applications to subscribe to notifications when a file is
accessed or modified.
category: System
homepage: https://github.com/kolmodin/hinotify.git
license: BSD3
license-file: LICENSE
author: Lennart Kolmodin
maintainer: Lennart Kolmodin <kolmodin@gmail.com>
extra-source-files: README.md, CHANGELOG.md
cabal-version: >= 1.10
source-repository head
type: git
location: git://github.com/kolmodin/hinotify.git
library
default-language: Haskell2010
build-depends: base >= 4.5.0.0 && < 5, containers, directory, unix,
async >= 2.0 && < 2.2
exposed-modules:
System.INotify
other-modules:
System.INotify.Masks
ghc-options: -Wall
includes: sys/inotify.h
hs-source-dirs: src
test-suite test001
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, directory, hinotify
hs-source-dirs: src tests
main-is: test001-list-dir-contents.hs
other-modules: Utils
ghc-options: -Wall
test-suite test002
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, directory, hinotify
hs-source-dirs: src tests
main-is: test002-writefile.hs
other-modules: Utils
ghc-options: -Wall
test-suite test003
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, directory, hinotify
hs-source-dirs: src tests
main-is: test003-removefile.hs
other-modules: Utils
ghc-options: -Wall
test-suite test004
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, directory, hinotify
hs-source-dirs: src tests
main-is: test004-modify-file.hs
other-modules: Utils
ghc-options: -Wall
test-suite test005
type: exitcode-stdio-1.0
build-depends: base, directory, hinotify
default-language: Haskell2010
hs-source-dirs: src tests
main-is: test005-move-file.hs
other-modules: Utils
ghc-options: -Wall
test-suite test006
type: exitcode-stdio-1.0
build-depends: base, directory, hinotify
default-language: Haskell2010
hs-source-dirs: src tests
main-is: test006-callbackHang.hs
other-modules: Utils
ghc-options: -Wall