Hello community,

here is the log from the commit of package ghc-servant-js for openSUSE:Factory 
checked in at 2017-05-09 18:09:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-servant-js (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-servant-js.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-servant-js"

Tue May  9 18:09:02 2017 rev:1 rq:493547 version:0.9.3

Changes:
--------
New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-servant-js.new/ghc-servant-js.changes       
2017-05-09 18:09:03.570787289 +0200
@@ -0,0 +1,30 @@
+-------------------------------------------------------------------
+Wed Apr 19 13:20:23 UTC 2017 - [email protected]
+
+- Update to version 0.9.3 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
+Tue Mar  7 11:19:26 UTC 2017 - [email protected]
+
+- Update to version 0.9.3 with cabal2obs.
+
+-------------------------------------------------------------------
+Mon Feb 27 10:12:18 UTC 2017 - [email protected]
+
+- Update to version 0.9.2 with cabal2obs.
+
+-------------------------------------------------------------------
+Sun Feb 12 14:19:52 UTC 2017 - [email protected]
+
+- Update to version 0.9.1 revision 2 with cabal2obs.
+
+-------------------------------------------------------------------
+Thu Sep 15 07:00:03 UTC 2016 - [email protected]
+
+- Update to version 0.8.1 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
+Sun Jul 10 17:00:52 UTC 2016 - [email protected]
+
+- Update to version 0.7.1 revision 0 with cabal2obs.
+

New:
----
  ghc-servant-js.changes
  ghc-servant-js.spec
  servant-js-0.9.3.tar.gz
  servant-js.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-servant-js.spec ++++++
#
# spec file for package ghc-servant-js
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name servant-js
%bcond_with tests
Name:           ghc-%{pkg_name}
Version:        0.9.3
Release:        0
Summary:        Automatically derive javascript functions to query servant 
webservices
License:        BSD-3-Clause
Group:          Development/Languages/Other
Url:            https://hackage.haskell.org/package/%{pkg_name}
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-base-compat-devel
BuildRequires:  ghc-charset-devel
BuildRequires:  ghc-lens-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-servant-devel
BuildRequires:  ghc-servant-foreign-devel
BuildRequires:  ghc-text-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires:  ghc-QuickCheck-devel
BuildRequires:  ghc-hspec-devel
BuildRequires:  ghc-hspec-expectations-devel
BuildRequires:  ghc-language-ecmascript-devel
%endif

%description
Automatically derive javascript functions to query servant webservices.

Supports deriving functions using vanilla javascript AJAX requests, Angulari,
Axios or JQuery.

You can find an example
<https://github.com/haskell-servant/servant-js/blob/master/servant-js/examples/counter.hs
here> which serves the generated javascript to a webpage that allows you to
trigger webservice calls.

<https://github.com/haskell-servant/servant-js/blob/master/CHANGELOG.md
CHANGELOG>.

%package devel
Summary:        Haskell %{pkg_name} library development files
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}-%{release}
Requires:       ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal

%build
%ghc_lib_build

%install
%ghc_lib_install

%check
%cabal_test

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc CHANGELOG.md README.md examples

%changelog
++++++ servant-js.cabal ++++++
name:                servant-js
version:             0.9.3
x-revision: 1
synopsis:            Automatically derive javascript functions to query servant 
webservices.
description:
  Automatically derive javascript functions to query servant webservices.
  .
  Supports deriving functions using vanilla javascript AJAX requests, Angulari, 
Axios or JQuery.
  .
  You can find an example 
<https://github.com/haskell-servant/servant-js/blob/master/servant-js/examples/counter.hs
 here>
  which serves the generated javascript to a webpage that allows you to trigger
  webservice calls.
  .
  <https://github.com/haskell-servant/servant-js/blob/master/CHANGELOG.md 
CHANGELOG>
license:             BSD3
license-file:        LICENSE
author:              Servant Contributors
maintainer:          [email protected]
copyright:           2015-2016 Servant Contributors
category:            Web
build-type:          Simple
cabal-version:       >=1.10
homepage:            http://haskell-servant.readthedocs.org/
bug-reports:         http://github.com/haskell-servant/servant-js/issues
tested-with:         GHC==7.8.3, GHC==7.10.3, GHC==8.0.1
extra-source-files:
  include/*.h
  CHANGELOG.md
  README.md
source-repository head
  type: git
  location: http://github.com/haskell-servant/servant-js.git

flag example
  description: Build the example too
  manual: True
  default: False

library
  exposed-modules:     Servant.JS
                       Servant.JS.Angular
                       Servant.JS.Axios
                       Servant.JS.Internal
                       Servant.JS.JQuery
                       Servant.JS.Vanilla
  build-depends:       base            >= 4.5 && <5
                     , base-compat     >= 0.9
                     , charset         >= 0.3
                     , lens            >= 4
                     , servant-foreign >= 0.9 && <0.11
                     , servant         >= 0.9 && <0.11
                     , text            >= 1.2  && < 1.3

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  include-dirs: include

executable counter
  main-is: counter.hs
  ghc-options: -Wall
  hs-source-dirs: examples

  if flag(example)
    buildable: True
  else
    buildable: False

  build-depends:    base             >= 4.7 && < 5
                  , aeson            >= 0.7  && < 1.3
                  , filepath         >= 1
                  , lens             >= 4
                  , servant
                  , servant-server
                  , servant-js
                  , stm
                  , transformers
                  , warp
  default-language: Haskell2010

test-suite spec
  type:              exitcode-stdio-1.0
  hs-source-dirs:    test
  ghc-options:       -Wall
  main-is:           Spec.hs
  other-modules:
      Servant.JSSpec
      Servant.JSSpec.CustomHeaders
  build-depends:     base
                   , base-compat
                   , hspec >= 2.3.0 && <2.5
                   , hspec-expectations
                   , language-ecmascript >= 0.16
                   , lens
                   , servant
                   , servant-js
                   , text
                   , QuickCheck
  default-language:  Haskell2010

Reply via email to