import new package (#1982387)
This commit is contained in:
parent
98c42c863b
commit
6789765634
|
@ -0,0 +1 @@
|
||||||
|
/OpenGL-3.0.3.0.tar.gz
|
|
@ -0,0 +1,188 @@
|
||||||
|
name: OpenGL
|
||||||
|
version: 3.0.3.0
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A binding for the OpenGL graphics system
|
||||||
|
description:
|
||||||
|
A Haskell binding for the OpenGL graphics system (GL, version 4.6) and its
|
||||||
|
accompanying utility library (GLU, version 1.3).
|
||||||
|
.
|
||||||
|
OpenGL is the industry's most widely used and supported 2D and 3D graphics
|
||||||
|
application programming interface (API), incorporating a broad set of
|
||||||
|
rendering, texture mapping, special effects, and other powerful visualization
|
||||||
|
functions. For more information about OpenGL and its various extensions,
|
||||||
|
please see <http://www.opengl.org/>
|
||||||
|
and <http://www.opengl.org/registry/>.
|
||||||
|
homepage: https://wiki.haskell.org/OpenGL
|
||||||
|
bug-reports: https://github.com/haskell-opengl/OpenGL/issues
|
||||||
|
copyright: Copyright (C) 2002-2019 Sven Panne
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: Sven Panne
|
||||||
|
maintainer: Sven Panne <svenpanne@gmail.com>, Jason Dagit <dagitj@gmail.com>
|
||||||
|
category: Graphics
|
||||||
|
build-type: Simple
|
||||||
|
tested-with:
|
||||||
|
GHC == 7.8.4
|
||||||
|
GHC == 7.10.3
|
||||||
|
GHC == 8.0.2
|
||||||
|
GHC == 8.2.2
|
||||||
|
GHC == 8.4.3
|
||||||
|
GHC == 8.6.5
|
||||||
|
GHC == 8.8.1
|
||||||
|
cabal-version: >= 1.10
|
||||||
|
extra-source-files:
|
||||||
|
CHANGELOG.md
|
||||||
|
README.md
|
||||||
|
|
||||||
|
library
|
||||||
|
exposed-modules:
|
||||||
|
Graphics.Rendering.OpenGL
|
||||||
|
Graphics.Rendering.OpenGL.GL
|
||||||
|
Graphics.Rendering.OpenGL.GL.Antialiasing
|
||||||
|
Graphics.Rendering.OpenGL.GL.BeginEnd
|
||||||
|
Graphics.Rendering.OpenGL.GL.Bitmaps
|
||||||
|
Graphics.Rendering.OpenGL.GL.BufferObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Clipping
|
||||||
|
Graphics.Rendering.OpenGL.GL.ColorSum
|
||||||
|
Graphics.Rendering.OpenGL.GL.Colors
|
||||||
|
Graphics.Rendering.OpenGL.GL.ConditionalRendering
|
||||||
|
Graphics.Rendering.OpenGL.GL.CoordTrans
|
||||||
|
Graphics.Rendering.OpenGL.GL.DebugOutput
|
||||||
|
Graphics.Rendering.OpenGL.GL.DisplayLists
|
||||||
|
Graphics.Rendering.OpenGL.GL.Evaluators
|
||||||
|
Graphics.Rendering.OpenGL.GL.Feedback
|
||||||
|
Graphics.Rendering.OpenGL.GL.FlushFinish
|
||||||
|
Graphics.Rendering.OpenGL.GL.Fog
|
||||||
|
Graphics.Rendering.OpenGL.GL.Framebuffer
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.Attachments
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.Queries
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Hints
|
||||||
|
Graphics.Rendering.OpenGL.GL.LineSegments
|
||||||
|
Graphics.Rendering.OpenGL.GL.PerFragment
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.ColorTable
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Convolution
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Histogram
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Minmax
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelMap
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelStorage
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.PixelTransfer
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Rasterization
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixellikeObject
|
||||||
|
Graphics.Rendering.OpenGL.GL.Points
|
||||||
|
Graphics.Rendering.OpenGL.GL.Polygons
|
||||||
|
Graphics.Rendering.OpenGL.GL.PrimitiveMode
|
||||||
|
Graphics.Rendering.OpenGL.GL.QueryObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.RasterPos
|
||||||
|
Graphics.Rendering.OpenGL.GL.ReadCopyPixels
|
||||||
|
Graphics.Rendering.OpenGL.GL.Rectangles
|
||||||
|
Graphics.Rendering.OpenGL.GL.SavingState
|
||||||
|
Graphics.Rendering.OpenGL.GL.Selection
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Attribs
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Limits
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.ProgramBinaries
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.ProgramObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.ShaderBinaries
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.ShaderObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Uniform
|
||||||
|
Graphics.Rendering.OpenGL.GL.StringQueries
|
||||||
|
Graphics.Rendering.OpenGL.GL.SyncObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Tensor
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Application
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Environments
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Objects
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Parameters
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Queries
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Specification
|
||||||
|
Graphics.Rendering.OpenGL.GL.TransformFeedback
|
||||||
|
Graphics.Rendering.OpenGL.GL.VertexArrayObjects
|
||||||
|
Graphics.Rendering.OpenGL.GL.VertexArrays
|
||||||
|
Graphics.Rendering.OpenGL.GL.VertexSpec
|
||||||
|
Graphics.Rendering.OpenGL.GLU
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Errors
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Initialization
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Matrix
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Mipmapping
|
||||||
|
Graphics.Rendering.OpenGL.GLU.NURBS
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Quadrics
|
||||||
|
Graphics.Rendering.OpenGL.GLU.Tessellation
|
||||||
|
other-modules:
|
||||||
|
Graphics.Rendering.OpenGL.GL.BlendingFactor
|
||||||
|
Graphics.Rendering.OpenGL.GL.BufferMode
|
||||||
|
Graphics.Rendering.OpenGL.GL.ByteString
|
||||||
|
Graphics.Rendering.OpenGL.GL.Capability
|
||||||
|
Graphics.Rendering.OpenGL.GL.ComparisonFunction
|
||||||
|
Graphics.Rendering.OpenGL.GL.ControlPoint
|
||||||
|
Graphics.Rendering.OpenGL.GL.DataType
|
||||||
|
Graphics.Rendering.OpenGL.GL.Domain
|
||||||
|
Graphics.Rendering.OpenGL.GL.EdgeFlag
|
||||||
|
Graphics.Rendering.OpenGL.GL.Exception
|
||||||
|
Graphics.Rendering.OpenGL.GL.Face
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObject
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferObjectAttachment
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.FramebufferTarget
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject
|
||||||
|
Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferTarget
|
||||||
|
Graphics.Rendering.OpenGL.GL.GLboolean
|
||||||
|
Graphics.Rendering.OpenGL.GL.IOState
|
||||||
|
Graphics.Rendering.OpenGL.GL.MatrixComponent
|
||||||
|
Graphics.Rendering.OpenGL.GL.PeekPoke
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelData
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelFormat
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Reset
|
||||||
|
Graphics.Rendering.OpenGL.GL.PixelRectangles.Sink
|
||||||
|
Graphics.Rendering.OpenGL.GL.PointParameter
|
||||||
|
Graphics.Rendering.OpenGL.GL.PolygonMode
|
||||||
|
Graphics.Rendering.OpenGL.GL.PrimitiveModeInternal
|
||||||
|
Graphics.Rendering.OpenGL.GL.QueryObject
|
||||||
|
Graphics.Rendering.OpenGL.GL.QueryUtils
|
||||||
|
Graphics.Rendering.OpenGL.GL.QueryUtils.PName
|
||||||
|
Graphics.Rendering.OpenGL.GL.QueryUtils.VertexAttrib
|
||||||
|
Graphics.Rendering.OpenGL.GL.RenderMode
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Program
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Shader
|
||||||
|
Graphics.Rendering.OpenGL.GL.Shaders.Variables
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.Filter
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.PixelInternalFormat
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.TexParameter
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.TextureObject
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.TextureTarget
|
||||||
|
Graphics.Rendering.OpenGL.GL.Texturing.TextureUnit
|
||||||
|
Graphics.Rendering.OpenGL.GL.VertexAttributes
|
||||||
|
Graphics.Rendering.OpenGL.GLU.ErrorsInternal
|
||||||
|
hs-source-dirs: src
|
||||||
|
ghc-options: -Wall
|
||||||
|
if impl(ghc > 8)
|
||||||
|
ghc-options: -Wcompat
|
||||||
|
build-depends:
|
||||||
|
base >= 3 && < 5,
|
||||||
|
bytestring >= 0.9 && < 0.11,
|
||||||
|
containers >= 0.3 && < 0.7,
|
||||||
|
text >= 0.1 && < 1.3,
|
||||||
|
transformers >= 0.2 && < 0.6,
|
||||||
|
ObjectName >= 1.1 && < 1.2,
|
||||||
|
StateVar >= 1.1 && < 1.3,
|
||||||
|
OpenGLRaw >= 3.0 && < 3.4,
|
||||||
|
GLURaw >= 2.0 && < 2.1
|
||||||
|
default-language: Haskell2010
|
||||||
|
other-extensions:
|
||||||
|
CPP
|
||||||
|
DeriveDataTypeable
|
||||||
|
KindSignatures
|
||||||
|
TypeSynonymInstances
|
||||||
|
if os(windows)
|
||||||
|
if arch(i386)
|
||||||
|
cpp-options: "-DCALLCONV=stdcall"
|
||||||
|
else
|
||||||
|
cpp-options: "-DCALLCONV=ccall"
|
||||||
|
else
|
||||||
|
cpp-options: "-DCALLCONV=ccall"
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/haskell-opengl/OpenGL.git
|
|
@ -1 +0,0 @@
|
||||||
obsoleted by haskell-platform subpackage
|
|
|
@ -0,0 +1,121 @@
|
||||||
|
# generated by cabal-rpm-2.0.10
|
||||||
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
|
%global pkg_name OpenGL
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
Name: ghc-%{pkg_name}
|
||||||
|
Version: 3.0.3.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: A binding for the OpenGL graphics system
|
||||||
|
|
||||||
|
License: BSD
|
||||||
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||||
|
# End cabal-rpm sources
|
||||||
|
|
||||||
|
# Begin cabal-rpm deps:
|
||||||
|
BuildRequires: ghc-Cabal-devel
|
||||||
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-GLURaw-prof
|
||||||
|
BuildRequires: ghc-ObjectName-prof
|
||||||
|
BuildRequires: ghc-OpenGLRaw-prof
|
||||||
|
BuildRequires: ghc-StateVar-prof
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
|
BuildRequires: ghc-containers-prof
|
||||||
|
BuildRequires: ghc-text-prof
|
||||||
|
BuildRequires: ghc-transformers-prof
|
||||||
|
# End cabal-rpm deps
|
||||||
|
|
||||||
|
%description
|
||||||
|
A Haskell binding for the OpenGL graphics system (GL, version 4.6) and its
|
||||||
|
accompanying utility library (GLU, version 1.3).
|
||||||
|
|
||||||
|
OpenGL is the industry's most widely used and supported 2D and 3D graphics
|
||||||
|
application programming interface (API), incorporating a broad set of
|
||||||
|
rendering, texture mapping, special effects, and other powerful visualization
|
||||||
|
functions. For more information about OpenGL and its various extensions, please
|
||||||
|
see <http://www.opengl.org/> and <http://www.opengl.org/registry/>.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
|
Provides: %{name}-static%{?_isa} = %{version}-%{release}
|
||||||
|
%if %{defined ghc_version}
|
||||||
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
|
%endif
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package provides the Haskell %{pkg_name} library development files.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%package doc
|
||||||
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package prof
|
||||||
|
Summary: Haskell %{pkg_name} profiling library
|
||||||
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description prof
|
||||||
|
This package provides the Haskell %{pkg_name} profiling library.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# Begin cabal-rpm setup:
|
||||||
|
%setup -q -n %{pkgver}
|
||||||
|
cp -bp %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
|
%ghc_lib_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
# Begin cabal-rpm install
|
||||||
|
%ghc_lib_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
|
%license LICENSE
|
||||||
|
# End cabal-rpm files
|
||||||
|
|
||||||
|
|
||||||
|
%files devel -f %{name}-devel.files
|
||||||
|
%doc CHANGELOG.md README.md
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files doc -f %{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files prof -f %{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 14 2021 Jens Petersen <petersen@redhat.com> - 3.0.3.0-1
|
||||||
|
- spec file generated by cabal-rpm-2.0.10
|
Loading…
Reference in New Issue