Accepting request 410368 from devel:languages:haskell:lts:6
See https://lists.opensuse.org/opensuse-haskell/2016-07/msg00000.html for details. OBS-URL: https://build.opensuse.org/request/show/410368 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-path-pieces?expand=0&rev=4
This commit is contained in:
parent
e801551b41
commit
97d4c48761
40
1.cabal
Normal file
40
1.cabal
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: path-pieces
|
||||||
|
version: 0.2.1
|
||||||
|
x-revision: 1
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Michael Snoyman <michael@snoyman.com>
|
||||||
|
maintainer: Michael Snoyman <michael@snoyman.com>
|
||||||
|
synopsis: Components of paths.
|
||||||
|
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/path-pieces>.
|
||||||
|
category: Web, Yesod
|
||||||
|
stability: unstable
|
||||||
|
cabal-version: >= 1.8
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
test/main.hs
|
||||||
|
ChangeLog.md
|
||||||
|
README.md
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends: base >= 4.6 && < 5
|
||||||
|
, text >= 0.5
|
||||||
|
, time
|
||||||
|
exposed-modules: Web.PathPieces
|
||||||
|
ghc-options: -Wall
|
||||||
|
|
||||||
|
test-suite test
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: main.hs
|
||||||
|
hs-source-dirs: test
|
||||||
|
ghc-options: -Wall
|
||||||
|
build-depends: HUnit
|
||||||
|
, hspec >= 1.3
|
||||||
|
, base >= 4 && < 5
|
||||||
|
, QuickCheck
|
||||||
|
, path-pieces
|
||||||
|
, text
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/yesodweb/path-pieces
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 10 17:30:57 UTC 2016 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.1 revision 1 with cabal2obs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 08:21:30 UTC 2015 - mimi.vx@gmail.com
|
Wed Nov 4 08:21:30 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-path-pieces
|
# spec file for package ghc-path-pieces
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,25 +17,22 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name path-pieces
|
%global pkg_name path-pieces
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
Name: ghc-path-pieces
|
|
||||||
Version: 0.2.1
|
Version: 0.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Components of paths
|
Summary: Components of paths
|
||||||
License: BSD-2-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
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
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-HUnit-devel
|
BuildRequires: ghc-HUnit-devel
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
@ -47,33 +44,36 @@ BuildRequires: ghc-hspec-devel
|
|||||||
Hackage documentation generation is not reliable. For up to date documentation,
|
Hackage documentation generation is not reliable. For up to date documentation,
|
||||||
please see: <http://www.stackage.org/package/path-pieces>.
|
please see: <http://www.stackage.org/package/path-pieces>.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
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
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%cabal test
|
%{cabal} test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
@ -86,6 +86,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md
|
%doc ChangeLog.md README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user