diff --git a/.gitignore b/.gitignore index 258bbc1..bfd0c19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fsnotify-0.0.11.tar.gz /fsnotify-0.2.1.tar.gz /fsnotify-0.2.1.1.tar.gz +/fsnotify-0.3.0.1.tar.gz diff --git a/fsnotify-0.2.1.1.cabal b/fsnotify-0.3.0.1.cabal similarity index 69% rename from fsnotify-0.2.1.1.cabal rename to fsnotify-0.3.0.1.cabal index f7ff7c9..7e587ff 100644 --- a/fsnotify-0.2.1.1.cabal +++ b/fsnotify-0.3.0.1.cabal @@ -1,74 +1,76 @@ -Name: fsnotify -Version: 0.2.1.1 -x-revision: 1 -Author: Mark Dittmer -Maintainer: Greg Weber , Roman Cheplyaka -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 +Name: fsnotify +Version: 0.3.0.1 +x-revision: 1 +Author: Mark Dittmer , Niklas Broberg +Maintainer: Tom McLaughlin +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.8 && < 5 + , bytestring >= 0.10.2 + , 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.0, + shelly >= 1.6.5, + unix >= 2.7.1.0 + else + if os(windows) + CPP-Options: -DOS_Win32 + Other-Modules: System.FSNotify.Win32 + , System.Win32.FileNotify + , System.Win32.Notify + Build-Depends: Win32 + Hs-Source-Dirs: win-src + 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 + + if os(windows) + Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random, Win32 + else + Build-Depends: base >= 4.3.1.0, tasty >= 0.5, tasty-hunit, directory, filepath, unix-compat, fsnotify, async >= 2, temporary, random + +Source-Repository head + Type: git + Location: git://github.com/haskell-fswatch/hfsnotify diff --git a/ghc-fsnotify.spec b/ghc-fsnotify.spec index af55c2b..b13f4d2 100644 --- a/ghc-fsnotify.spec +++ b/ghc-fsnotify.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.2.1.1 -Release: 6%{?dist} +Version: 0.3.0.1 +Release: 1%{?dist} Summary: Cross platform library for file change notification License: BSD @@ -22,14 +22,18 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-async-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel BuildRequires: ghc-hinotify-devel +BuildRequires: ghc-shelly-devel BuildRequires: ghc-text-devel BuildRequires: ghc-time-devel BuildRequires: ghc-unix-compat-devel +BuildRequires: ghc-unix-devel %if %{with tests} +BuildRequires: ghc-random-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-temporary-devel @@ -99,6 +103,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Feb 21 2019 Jens Petersen - 0.3.0.1-1 +- update to 0.3.0.1 + * Sun Feb 17 2019 Jens Petersen - 0.2.1.1-6 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index 858886d..d8d9287 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fsnotify-0.2.1.1.tar.gz) = d4ab5095840b6144582283e9a8e85143d8a929fdd8249421bbe23e05aeafad3c14da3a00e03c69afea94c0a1ba5ec9be85ec5fe8b3d0336cbce738a7279bcc01 +SHA512 (fsnotify-0.3.0.1.tar.gz) = d5c96a54c1b4788e1d50f259d11d4e2d6eb7224552b50cb359a1f4cdcc2a9b7270f9b5ccdfe9738a163b54ab7ab5a0114de9cabc56660a7324cdfc4b16179e1a