osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-xml revision:4, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-xml?expand=0&rev=34
This commit is contained in:
parent
8e412dadbc
commit
b838236140
@ -25,6 +25,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-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -46,6 +47,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
|
||||||
|
32
xml.cabal
Normal file
32
xml.cabal
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Name: xml
|
||||||
|
Version: 1.3.14
|
||||||
|
x-revision: 1
|
||||||
|
Homepage: http://code.galois.com
|
||||||
|
Synopsis: A simple XML library.
|
||||||
|
Description: A simple XML library.
|
||||||
|
Category: Text, XML
|
||||||
|
License: BSD3
|
||||||
|
License-File: LICENSE
|
||||||
|
Author: Galois Inc.
|
||||||
|
Maintainer: diatchki@galois.com
|
||||||
|
Copyright: (c) 2007-2008 Galois Inc.
|
||||||
|
Build-type: Simple
|
||||||
|
Cabal-version: >= 1.6
|
||||||
|
|
||||||
|
|
||||||
|
library
|
||||||
|
Build-depends: base >= 3 && < 5, bytestring, text
|
||||||
|
Ghc-options: -Wall -O2
|
||||||
|
Exposed-modules: Text.XML.Light,
|
||||||
|
Text.XML.Light.Types,
|
||||||
|
Text.XML.Light.Output,
|
||||||
|
Text.XML.Light.Input,
|
||||||
|
Text.XML.Light.Lexer,
|
||||||
|
Text.XML.Light.Proc
|
||||||
|
Text.XML.Light.Cursor
|
||||||
|
Extensions: FlexibleInstances
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/GaloisInc/xml.git
|
||||||
|
|
Loading…
Reference in New Issue
Block a user