forked from pool/ghc-fsnotify
osc copypac from project:devel:languages:haskell:lts:11 package:ghc-fsnotify revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-fsnotify?expand=0&rev=13
This commit is contained in:
parent
840c87aa8b
commit
3f0706cbc2
74
fsnotify.cabal
Normal file
74
fsnotify.cabal
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
Name: fsnotify
|
||||||
|
Version: 0.2.1.1
|
||||||
|
x-revision: 1
|
||||||
|
Author: Mark Dittmer <mark.s.dittmer@gmail.com>
|
||||||
|
Maintainer: Greg Weber <greg@gregweber.info>, Roman Cheplyaka <roma@ro-che.info>
|
||||||
|
License: BSD3
|
||||||
|
License-File: LICENSE
|
||||||
|
Synopsis: Cross platform library for file change notification.
|
||||||
|
Description: Cross platform library for file creation, modification,
|
||||||
|
and deletion notification. This library builds upon
|
||||||
|
existing libraries for platform-specific Windows, Mac,
|
||||||
|
and Linux filesystem event notification.
|
||||||
|
Category: Filesystem
|
||||||
|
Cabal-Version: >= 1.8
|
||||||
|
Build-Type: Simple
|
||||||
|
Homepage: https://github.com/haskell-fswatch/hfsnotify
|
||||||
|
Extra-Source-Files:
|
||||||
|
README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
test/test.hs
|
||||||
|
test/EventUtils.hs
|
||||||
|
|
||||||
|
|
||||||
|
Library
|
||||||
|
Build-Depends: base >= 4.3.1 && < 5
|
||||||
|
, containers >= 0.4
|
||||||
|
, directory >= 1.1.0.0
|
||||||
|
, filepath >= 1.3.0.0
|
||||||
|
, text >= 0.11.0
|
||||||
|
, time >= 1.1
|
||||||
|
, async >= 2.0.1
|
||||||
|
, unix-compat >= 0.2
|
||||||
|
Exposed-Modules: System.FSNotify
|
||||||
|
, System.FSNotify.Devel
|
||||||
|
Other-Modules: System.FSNotify.Listener
|
||||||
|
, System.FSNotify.Path
|
||||||
|
, System.FSNotify.Polling
|
||||||
|
, System.FSNotify.Types
|
||||||
|
Hs-Source-Dirs: src
|
||||||
|
GHC-Options: -Wall
|
||||||
|
if os(linux)
|
||||||
|
CPP-Options: -DOS_Linux
|
||||||
|
Other-Modules: System.FSNotify.Linux
|
||||||
|
Build-Depends: hinotify >= 0.3.7 && < 0.3.10
|
||||||
|
else
|
||||||
|
if os(windows)
|
||||||
|
CPP-Options: -DOS_Win32
|
||||||
|
Other-Modules: System.FSNotify.Win32
|
||||||
|
Build-Depends: Win32-notify >= 0.3
|
||||||
|
else
|
||||||
|
if os(darwin)
|
||||||
|
CPP-Options: -DOS_Mac
|
||||||
|
Other-Modules: System.FSNotify.OSX
|
||||||
|
Build-Depends: hfsevents >= 0.1.3
|
||||||
|
|
||||||
|
Test-Suite test
|
||||||
|
Type: exitcode-stdio-1.0
|
||||||
|
Main-Is: test.hs
|
||||||
|
Other-modules: EventUtils
|
||||||
|
Hs-Source-Dirs: test
|
||||||
|
GHC-Options: -Wall -threaded
|
||||||
|
Build-depends: base >= 4.3.1.0
|
||||||
|
, tasty >= 0.5
|
||||||
|
, tasty-hunit
|
||||||
|
, directory
|
||||||
|
, filepath
|
||||||
|
, unix-compat
|
||||||
|
, fsnotify
|
||||||
|
, async >= 2
|
||||||
|
, temporary
|
||||||
|
|
||||||
|
Source-Repository head
|
||||||
|
Type: git
|
||||||
|
Location: git://github.com/haskell-fswatch/hfsnotify
|
@ -26,6 +26,7 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-async-devel
|
BuildRequires: ghc-async-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
@ -60,6 +61,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user